Country

About

One Record API uses ISO 3166 codes to provide a standardized representation of a country. The country is identified by the two-letter code (e.g. "FR" for France), while places are identified by a three-letter code (e.g. for airports, their IATA three-letter location identifier code such as “LAX” for Los Angeles International Airport), ensuring uniformity and accuracy in international data exchanges, geographic information systems, and various applications requiring precise identification of countries and places. For countries or territories not officially recognized, the X code is used, e.g. XK for Kosovo.

Endpoints

Everyone can view these resources

Get all countries

get

Get all countries

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
page[cursor]stringOptional
page[limit]any · min: 2 · max: 200Optional
order[column]stringOptionalExample: column_name
order[direction]stringOptionalExample: asc|desc
Responses
200Success
application/json
get
/country

Get a country

get

Get a country

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
codestringRequired
Responses
200Success
application/json
get
/country/{code}

Last updated