Look up a Romanian company
lookup_businessFind a Romanian company by name or CUI in the official ONRC registry; names ignore diacritics and CUIs match exactly.
Instructions
Look up a Romanian company by name or CUI (tax code) in the official ONRC registry of 4.2M firms. Diacritic-insensitive ('paval' finds 'PAVAL'); a CUI matches exactly. The first call for a named Romanian company. Ranked with a score: live firms first (exact name, then words), closed ones after; county lifts. For 'firms that do X in Y', use lookup_by_category (an empty result may carry a hint naming it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Company name or CUI (tax ID) to search for. Names are diacritic-insensitive ('paval' finds PAVĂL); a CUI ('2816464', 'RO2816464') matches exactly. | |
| county | No | Optional county hint (diacritic-insensitive): firms registered there rank higher. Not a filter. | |
| fields | No | Optional: keep only these company fields in each row, comma-separated (companyName,cui,county,risk; dotted paths such as risk.level work). Without it the full record is returned. | |
| compact | No | Optional: true keeps a short preset per row (name, CUI, county, city, legal form, risk level and what it did not check, phone, website, latest revenue and headcount, record url). | |
| max_results | No | Maximum number of companies to return (1-100, default 10). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source. | |
| hint | No | When a name search finds nothing but reads like a category question: the lookup_by_category call that answers it. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| found | No | false when a well-formed CUI is not in the snapshot. | |
| query | No | The query as given. | |
| total | No | Rows returned in this answer (at most max_results), not the number of firms that match. | |
| county | No | The county hint, if one was given. | |
| fields | No | The company fields kept when fields or compact trimmed the rows. | |
| reason | No | Why nothing was found (not_found). | |
| source | No | Data source: onrc (registry) or mfp (Ministry of Finance filings). | |
| message | No | A sentence for the caller. | |
| results | No | The company records, best first. | |
| warnings | No | Notes on how the request was read (a clamped limit, a widened CAEN code, an ignored field). | |
| attribution | No | The credit line to keep when redistributing the data (CC BY 4.0). |