v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
Lookups

Get Country by Code

Retrieves the details of a specific country identified by CountryCode.

get/v1/countries/{CountryCode}

Path parameters

CountryCodestring required

The unique code of the country to be retrieved.

Response

The details of the country associated with the specified code.

CountryIDinteger nullable

The unique identifier of the country.

CountryCodestring nullable

The ISO 3166-1 alpha-2 code of the country (e.g., "US" for the United States).

CountryNamestring nullable

The full name of the country.

CountryDialingCodeinteger nullable

The international dialing code for the country (e.g., 1 for the United States).

CountryReferenceinteger nullable

An internal reference number associated with the country.

CountryISONumericCodeinteger nullable

The ISO 3166-1 numeric code of the country (e.g., 840 for the United States).