Find companies by director
lookup_directorFind Romanian companies by director or legal representative name using ONRC data. Search by person when you do not know the firm, with diacritic-insensitive whole-word or prefix matching.
Instructions
Find Romanian companies by the name of a director or legal representative (ONRC). Diacritic-insensitive. Whole words: 'pop maria' finds POP MARIA, not POPA MARIANA; prefix=true matches prefixes. The registry has no personal ID, so one name can be several people: homonyms and byCounty say so. Use this when you know a person rather than a firm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Director / representative name to search for (e.g. 'Ion Popescu'); diacritic-insensitive, each word a whole word of the name. | |
| 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. | |
| prefix | No | true matches each word as a prefix ('pop' also finds POPA, POPESCU); default false (whole words). | |
| 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. | |
| note | No | What homonyms means for this name. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| match | No | words (whole words) or prefix. | |
| query | No | The name as given. | |
| total | No | Every matching firm, not just the rows returned. | |
| fields | No | The company fields kept when fields or compact trimmed the rows. | |
| 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. | |
| byCounty | No | Matching firms per county. | |
| homonyms | No | true when the matches span several counties (likely several people). | |
| returned | No | Number of companies returned. | |
| 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). | |
| distinctCounties | No | Number of counties the matches are in. | |
| totalIsLowerBound | No | true when the scan stopped early and total is a minimum. |