Skip to main content
GET
Resolve country (canonical)

Query Parameters

q
string
required

Country name, alias, or ISO code.

fields
string

Comma-separated field list. Supports dot paths (name.common). Use * or omit for the full object.

Response

Resolved country identity.

query
string
required
match
enum<string>
required
Available options:
cca2,
cca3,
ccn3,
cioc,
alias,
name_exact,
name_partial,
alt_spelling,
translation
cca2
string
required
cca3
string
required
name
object
required
ccn3
string | null
country
object