Find the company behind a website
find_company_by_domainIdentify the Romanian firm behind a website domain by checking the registry's website field or scanning the site's legal and contact pages for a CUI or registration number.
Instructions
Find the Romanian firm behind a website domain (dedeman.ro). Uses the registry's website field, else reads the site's home and legal/contact pages for the CUI or registration number it shows (matchedOn: registry_website, site_cui). Without one, it says so and offers name candidates from the page title or the domain name, each with a confidence (at most 0.7, never a match). One lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The website's domain ('dedeman.ro'); a URL or a www. host is reduced to it. Public domains only. | |
| 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). |
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. | |
| site | No | What was read from the site: url, pagesRead, title, cuis, registrationCodes, error. | |
| 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 | Whether a firm was identified. | |
| match | No | The identified firm: cui, companyName, matchedOn. | |
| total | No | Number of company records returned (at most 5). | |
| domain | No | The normalised domain. | |
| fields | No | The company fields kept when fields or compact trimmed the rows. | |
| reason | No | When not found: no_cui_on_site or site_unreachable. | |
| 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). | |
| matchedOn | No | registry_website, site_cui or site_registration_code. | |
| candidates | No | When not found (also when the site cannot be read): up to 3 firms whose name matches the page title or the domain name, each with a confidence (at most 0.7). | |
| attribution | No | The credit line to keep when redistributing the data (CC BY 4.0). |