Skip to main content
GET
Get country by code

Authorizations

Authorization
string
header
required

API Token used for authentication. Example: "Authorization: Bearer {token}"

Path Parameters

countryCode
string
required
Pattern: ^[A-Za-z]{2}$

Response

OK

code
string

The ISO 3166-1 alpha-2 code of the country

name
string

The name of the country

latitude
number<float> | null

The latitude of the country

longitude
number<float> | null

The longitude of the country