BROWSER CONTRACT · CURRENT BETA
Company lookup,
documented.
A reference for the endpoints used by this VATFind website.
These routes require the site’s access policy and same-origin browser requests. They are not a public server-to-server API. Customer API keys have not been enabled.
Search request
Submit a company name or tax identifier with a supported country. Use the website search tool to make a live request.
/api/lookup| Field | Type | Description |
|---|---|---|
mode | string | name or vat. Required. |
query | string | A legal name (2–150 characters) or tax ID. US EINs must normalize to 9 digits. |
country | string | A supported two-letter code, such as GB or US. |
region | string | Optional state or province for the United States or Canada. |
const response = await fetch("/api/lookup", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
mode: "name",
query: "Global Data Intelligence",
country: "GB"
})
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);
console.log(result.companies);Company response
A completed search returns companies and the network’s remaining free allowance. Results are limited to the first 20 unique matching records returned after normalization and country filtering.
- Identity
id,name,registrationNumber,countryCode- Tax ID
vatNumbermay be null. Its presence does not establish active registration.- Source
sourceincludes the available source name and safe URL.retrievedAtis the retrieval timestamp.- Detail access
detailTokenauthorizes opening that result’s details. Treat it as a temporary capability, not an account API key.
Company details
/api/lookup/detailsThe browser sends { "token": "<detailToken from search>" }. Tokens expire after 30 minutes and are tied to the originating daily network allowance.
Available detail fields include address, legal form, incorporation date and company registry status. Details may be cached for 15 minutes, retaining their original retrieval timestamp. Opening details does not consume an additional free search.
There is no vatValid field. Company status must never be used as a substitute for tax-authority validation.
Limits & errors
Three completed searches are available per network per UTC day. Empty results count. Upstream failures refund the reserved search. Additional abuse and global capacity limits can temporarily restrict requests.
| Status | Meaning | Next step |
|---|---|---|
| 400 | Input or token problem | Check the fields or run a new search. |
| 403 | Origin rejected or detail token invalid | Use this website and a fresh result. |
| 415 | Content type not supported | Send application/json. |
| 422 | Source could not search this combination | Review the country, name, or tax ID. |
| 429 | Daily or service rate limit | Read the error; wait for the indicated reset. |
| 502 / 503 | Source or service unavailable | Try again later; do not infer an invalid tax ID. |
Public API status
Customer API keys, paid credits, external access, and a stable versioned API are not live yet. Do not build a production integration against these browser-only routes. This reference will be updated when the public contract is released.
Back to the API overview