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

The two-letter country code, case-insensitive

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

Response

OK

code
string
required

The two-letter country code

name
string
required

The country name

latitude
number<float> | null

The latitude of the country

longitude
number<float> | null

The longitude of the country