/company-country-detectInfer 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.
{
"anyOf": [
{
"required": [
"domain"
]
},
{
"required": [
"country"
]
},
{
"required": [
"name"
]
}
],
"properties": {
"country": {
"description": "Optional explicit hint; when present it is trusted and returned directly.",
"type": "string"
},
"domain": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
}{
"properties": {
"company_name": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": "number"
},
"country": {
"type": [
"string",
"null"
]
},
"signals": {
"items": {
"enum": [
"explicit",
"domain_tld",
"address_hint"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
}{
"domain": "tomtom.com",
"name": "TomTom"
}{
"company_name": "TomTom",
"confidence": 0.9,
"country": "NL",
"signals": [
"domain_tld",
"address_hint"
]
}