Company profile with website contacts
enrich_companyFetch a complete Romanian company profile from a CUI: ONRC registry data plus website contacts with confidence and source labels, all in one call.
Instructions
A whole-firm profile in one call: the ONRC registry record plus the contacts discovered on that firm's website, each labelled with a confidence and a source. Prefer this over lookup_business followed by extract_contacts when you want everything about one company. cui is its tax code; website overrides the registered one; max_pages bounds the crawl; refresh=true crawls now instead of answering from the cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | Yes | Romanian tax identification number (CUI), e.g. '2816464'; 'RO' and leading zeros are accepted. | |
| refresh | No | true crawls now even if a cached result exists (default false: answer from the cache when there is one). | |
| website | No | Optional website override (domain or URL). When omitted, the firm's registered website is used (an error if none is on file). | |
| max_pages | No | Maximum number of pages to crawl (1-20, default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cui | No | The firm's CUI. | |
| asOf | No | What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| company | No | A company record: companyName, cui, registrationCode, registrationDate (DD/MM/YYYY), legalForm, euid, address, county, city, website, phone, caenActivities [{code, activity (RO), activityEn}], directors, representatives [{name, role}], status [{code, name}], latestFinancials {year, revenue, netResult, employees; RON}, anaf {mainCaen, vatPayer, eFactura, inactive}, risk {level, label, reasons, isLead}, source, asOf, url (the firm's public record page to share with the user; null for sole traders and other natural persons), and score/match on name searches. With fields or compact, only the requested keys (compact keeps url). | |
| crawled | No | true when the site was crawled for this answer. | |
| message | No | A sentence for the caller. | |
| website | No | The website crawled. | |
| cacheHit | No | true when answered from the cache. | |
| contacts | No | Contacts found, each with type, value, confidence and source. | |
| crawlError | No | Why the crawl failed, if it did. | |
| pagesCrawled | No | Pages read. | |
| websiteSource | No | Where the website came from: registry or override. |