Find company by identifier
company_by_identifierFind ONE company from an identifier, the country worked out for you (GET /companies/by-identifier, 1 credit, answered like company_detail with the same include). type=vat: the prefix names the country (ES, FR, ... EL is Greece, XI Northern Ireland, CHE Switzerland), then that country VAT search runs; a number without a prefix needs country; countries whose registers publish no VAT number answer 400. type=lei: our GLEIF links first, else GLEIF own record (legal-address country plus registered-as number). type=company_number: needs country. meta.resolved_by says which rule found it (vat_prefix, vat_with_country, lei_link, gleif_registration, company_number). No match is a 404; several records (a US number repeated across states) a 409 with candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The kind of identifier in value. | |
| value | Yes | The VAT number, the 20-character LEI or the register company number. | |
| country | No | Required with type=company_number and with a VAT number that has no prefix; optional otherwise. | |
| include | No | Extra blocks to attach, as on company_detail. |