countries

Get country by ID

Get a single country by its ID

get/api/countries/{country_id}

Path parameters

country_idinteger required

Response

Successful Response

idinteger required

Country ID

namestring required

Country name

numeric_codestring nullable

Numeric code

iso_alpha_3string nullable

ISO 3166-1 alpha-3 code

iso_alpha_2string nullable

ISO 3166-1 alpha-2 code

Example response

{
  "id": 118,
  "iso_alpha_2": "IT",
  "iso_alpha_3": "ITA",
  "name": "Italia",
  "numeric_code": "380"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.