CompanyEnrichCompany DataEnrichment

Get a country by ISO code

companyenrich.geo.country.get

Searches a country by its ISO 3166-1 alpha-2 code

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
Aug 20, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/companyenrich.geo.country.getPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

FREE. Returns {code, name, latitude, longitude} — the cheap way to confirm a country code is one this provider recognises before using it in a `countries` filter.

ParameterTypeRequiredDescriptionExample
Path parameters
countryCodestringRequiredISO 3166-1 alpha-2 codeUS
  • Path parameters
  • countryCodestringRequired

    ISO 3166-1 alpha-2 code

    Example: US

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/companyenrich.geo.country.get' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.