Skip to main content
GET
/
api
/
v1
/
countries
/
{identifier}
Get country details
curl --request GET \
  --url http://localhost:3000/api/v1/countries/{identifier} \
  --header 'Authorization: Bearer <token>'
{
  "country": {
    "id": "ctry_sweden12",
    "name": "Sweden",
    "iso2_code": "SE"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Headers

Authorization
string
required

Bearer token for authentication

Path Parameters

identifier
string
required

Country ID, ISO 3166-1 alpha-2 code (e.g. SE), or slug (e.g. sweden)

Response

Country retrieved successfully

country
object
required