API AlmanacAPI Almanac
API reference › Countries

One country by ISO alpha-2, alpha-3, numeric code or exact name, with World Bank population, GDP, inflation and life expectancy

GET/v1/countries/{code}

GET/v1/countries/{code}

One country by ISO alpha-2, alpha-3, numeric code or exact name, with World Bank population, GDP, inflation and life expectancy

stats holds the World Bank's latest published figures (population, land area, GDP, growth, inflation, unemployment, life expectancy and more), each with its year and WDI indicator code, plus the income group. Figures more than ten years old are left out, and stats is null where the World Bank publishes nothing (Taiwan, Vatican City, French overseas departments, Jersey and Guernsey, uninhabited and small territories). Cite stats.source when quoting a figure.

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",
  "stats": {
    "income_group": "High income",
    "figures": {
      "population": {
        "value": 68720337,
        "year": 2025,
        "name": "Population, total",
        "indicator": "SP.POP.TOTL"
      },
      "population_growth_pct": {
        "value": 0.25,
        "year": 2025,
        "name": "Population growth (annual %)",
        "indicator": "SP.POP.GROW"
      },
      "land_area_km2": {
        "value": 538950,
        "year": 2024,
        "name": "Land area (sq. km)",
        "indicator": "AG.LND.TOTL.K2"
      },
      "population_density": {
        "value": 127.2,
        "year": 2024,
        "name": "Population density (people per sq. km of land area)",
        "indicator": "EN.POP.DNST"
      },
      "urban_population_pct": {
        "value": 78.8,
        "year": 2025,
        "name": "Urban population (% of total population)",
        "indicator": "SP.URB.TOTL.IN.ZS"
      },
      "gdp_usd": {
        "value": 3366315927447,
        "year": 2025,
        "name": "GDP (current US$)",
        "indicator": "NY.GDP.MKTP.CD"
      },
      "gdp_per_capita_usd": {
        "value": 48986,
        "year": 2025,
        "name": "GDP per capita (current US$)",
        "indicator": "NY.GDP.PCAP.CD"
      },
      "gdp_per_capita_ppp": {
        "value": 63975,
        "year": 2025,
        "name": "GDP per capita, PPP (current international $)",
        "indicator": "NY.GDP.PCAP.PP.CD"
      },
      "gdp_growth_pct": {
        "value": 0.84,
        "year": 2025,
        "name": "GDP growth (annual %)",
        "indicator": "NY.GDP.MKTP.KD.ZG"
      },
      "inflation_pct": {
        "value": 0.94,
        "year": 2025,
        "name": "Inflation, consumer prices (annual %)",
        "indicator": "FP.CPI.TOTL.ZG"
      },
      "unemployment_pct": {
        "value": 7.54,
        "year": 2025,
        "name": "Unemployment, total (% of total labor force) (modeled ILO estimate)",
        "indicator": "SL.UEM.TOTL.ZS"
      },
      "life_expectancy": {
        "value": 83,
        "year": 2024,
        "name": "Life expectancy at birth, total (years)",
        "indicator": "SP.DYN.LE00.IN"
      },
      "fertility_rate": {
        "value": 1.61,
        "year": 2024,
        "name": "Fertility rate, total (births per woman)",
        "indicator": "SP.DYN.TFRT.IN"
      },
      "internet_users_pct": {
        "value": 88.7,
        "year": 2024,
        "name": "Individuals using the Internet (% of population)",
        "indicator": "IT.NET.USER.ZS"
      }
    },
    "source": "World Bank, World Development Indicators (data.worldbank.org), CC BY 4.0",
    "retrieved": "2026-10-12"
  }
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.