Overview
Country lookup: find a country or territory by ISO 3166-1 alpha-2, alpha-3 or numeric code, or by name, and get the other codes, the official and common English names, the UN M49 region and sub-region, the currencies in use, the country-code TLD, and optionally the full ISO 3166-2 subdivision list with each subdivision's type. Also resolves an ISO 3166-2 subdivision code such as NL-NH directly. Names are matched case- and accent-insensitively.
Protocol
x402
Price
$0.05
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
data/public-data
Provider
duoleads
Indexed
2026-09-29 00:13:45
Health
Status
healthy
Latency (p50)
316ms
Uptime (30d)
98.5%
Reliability Score
94.2/100
Last Checked
2026-10-31 07:02:55
Last Healthy
2026-10-31 07:02:55
Consecutive Failures
0
Output Schema
{
"example": {
"data": {
"alpha_2": "NL",
"alpha_3": "NLD",
"currencies": [
"EUR"
],
"found": true,
"kind": "country",
"m49": {
"intermediate": null,
"intermediate_name": null,
"region": "150",
"region_name": "Europe",
"subregion": "155",
"subregion_name": "Western Europe"
},
"name": "Netherlands",
"numeric": "528",
"official_name": "Kingdom of the Netherlands",
"subdivision_count": 18,
"tld": [
".nl"
]
},
"meta": {
"computed_at": "2026-09-28T12:00:00.000Z",
"deterministic": true,
"disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
"price_usd": "0.05",
"request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D",
"sources": [
{
"attribution": "ISO 3166-1 official names and ISO 3166-2 subdivision data from Debian iso-codes (https://salsa.debian.org/iso-codes-team/iso-codes), (c) 2016 Dr. Tobias Quathamer, LGPL-2.1-or-later",
"id": "iso-codes",
"licence": "LGPL-2.1-or-later",
"published": "2026-09-28",
"version": "Debian iso-codes data/iso_3166-1.json (official_name) and data/iso_3166-2.json, retrieved 2026-09-28"
},
{
"attribution": "Open Knowledge Foundation datasets/country-codes (ISO 3166-1 codes)",
"id": "country-codes",
"licence": "PDDL-1.0",
"published": "2026-09-28",
"version": "datasets/country-codes, retrieved 2026-09-28"
},
{
"attribution": "Unicode CLDR, © Unicode, Inc.",
"id": "cldr",
"licence": "Unicode-3.0",
"published": "2026-09-28",
"version": "48.2.2"
}
]
},
"ok": true,
"route": "/v1/ref/country",
"version": "1.0.0"
},
"type": "json"
}