For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search Countries Codes

Look up country slug codes by name. Free helper for /company_search.

Search Countries Codes

POST /search_company_countries

Free — no credits are used. Resolve country_codes values for Company Search.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

api_key

string

Your API Key.

search

string

Text to match against country names.

Response

The rows are under data. See Response Format for the fields every endpoint returns.

Field
Description

code

The code to pass in country_codes.

name

The country name this code matches.

total is the number of matches returned.

Example

{
  "api_key": "your_api_key",
  "search": "united"
}
{
  "status": "success",
  "data": [
    { "code": "us", "name": "United States" },
    { "code": "gb", "name": "United Kingdom" },
    { "code": "ae", "name": "United Arab Emirates" }
  ],
  "credits_used": 0,
  "credits_remaining": 4823,
  "total": 3,
  "success": true
}

Last updated