API Almanac
API reference › Countries

One country by ISO alpha-2, alpha-3, numeric code or exact name

GET/v1/countries/{code}

GET/v1/countries/{code}

One country by ISO alpha-2, alpha-3, numeric code or exact name

PARAMETERS
codepath · stringREQUIRED
FR, FRA, 250 or France
e.g. FR
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/countries/FR" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "code": "FR",
  "alpha3": "FRA",
  "numeric": "250",
  "name": "France",
  "official_name": "the French Republic",
  "capital": "Paris",
  "continent": "EU",
  "region": "Europe",
  "subregion": "Western Europe",
  "intermediate_region": null,
  "currencies": [
    "EUR"
  ],
  "currency_names": [
    "Euro"
  ],
  "calling_codes": [
    "33"
  ],
  "tld": ".fr",
  "languages": [
    "fr-FR",
    "frp",
    "br",
    "co",
    "ca",
    "eu",
    "oc"
  ],
  "flag": "🇫🇷",
  "independent": true,
  "landlocked": false,
  "least_developed": false,
  "small_island": false,
  "fips": "FR",
  "ioc": "FRA",
  "fifa": "FRA",
  "geoname_id": 3017382,
  "wikidata": "Q142"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.