# Company Country Detection API

> Company Country Detection API is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-15).

Detects the country of a company using its name, domain, and optional hints, returning a country code with confidence score and supporting signals

## Facts

- Endpoint: POST https://gateway.apiosk.com/company-identity/company-country-detect
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/company-country-detection-api-f702a8e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iEXx9TtRMZkDQBa9nXoFp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability company-country-detection-api-f702a8e2 -d '<json body>'
```

Example prompt: What country is TomTom based in? Their domain is tomtom.com — I need the country code and how confident you are.

## When to prefer this

Use this endpoint when you need to determine the country of incorporation or headquarters for a company given its name and/or domain, especially for data enrichment pipelines, lead qualification, compliance checks, or CRM enrichment. Prefer this over IP geolocation when you have a company name/domain rather than an IP address.

## Known failure modes

- Company name or domain too ambiguous to resolve — low confidence score returned
- Unknown or obscure company with no detectable country signals — may return null or low-confidence result
- Invalid domain format causes lookup failure
- Conflicting signals between name and domain reduce confidence significantly

## How this service works

Infer a company's likely country: an explicit country hint wins, then the domain TLD (.nl/.de/.be/.fr/.uk; .com/.io/.net/.org are country-neutral), then address signals scraped from the homepage (EN/NL only in v1). Returns the signals it used.

## Output

Returns a country code (e.g. 'NL'), a confidence score (0-1), the matched company name, and an array of signals used to determine the result (e.g. 'domain_tld', 'address_hint').

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/company-country-detection-api-f702a8e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
