countries

Get country by ID

Get a single country by its ID

get/api/countries/{country_id}

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/countries/{country_id}
  • Auth: none declared

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 operation across all 55 revisions of this API.