{"uid":"cap_4EZ2r6nqXM0JEOHU_KVHZ","slug":"agent-data-tools-revmesh2074-workers-dev-population-by-country-total-6fda8024","name":"Population by Country: Total, Growth & Urban Share (World Bank)","description":"Population by country. Population of any country from World Bank data: total population, annual population growth in % and the urban share of the population in %, for the last 1-10 years with the newest year first. Country by ISO code (SE, SWE) or English name. Read from a committed World Bank Open Data snapshot (CC BY 4.0), so every call answers at once; the snapshot date is in the answer. Use for market sizing, per-capita figures and demographics.","url":"https://agent-data-tools.revmesh2074.workers.dev/econ/population?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"years":{"type":"integer","examples":[5],"description":"Years of history to return, 1-10 (default 5)"},"country":{"type":"string","examples":["SE"],"description":"ISO 3166 code (SE, SWE) or English country name (Sweden)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"source":{"type":"string"},"country":{"type":"object","properties":{"code":{"type":"string"},"iso2":{"type":"string"},"name":{"type":"string"},"region":{"type":"string"},"capital":{"type":"string"},"incomeLevel":{"type":"string"}}},"population":{"type":"object","properties":{"latest":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}},"values":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}}},"indicator":{"type":"string"}}},"urbanShare":{"type":"object","properties":{"latest":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}},"values":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}}},"indicator":{"type":"string"}}},"populationGrowth":{"type":"object","properties":{"latest":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}},"values":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}}},"indicator":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"source":"World Bank Open Data (CC BY 4.0), snapshot 2026-10-22","country":{"code":"SWE","iso2":"SE","name":"Sweden","region":"Europe & Central Asia","capital":"Stockholm","incomeLevel":"High income"},"population":{"latest":{"year":2025,"value":10596620},"values":[{"year":2025,"value":10596620}],"indicator":"Population, total"},"urbanShare":{"latest":{"year":2025,"value":89},"values":[{"year":2025,"value":89}],"indicator":"Urban population (% of total population)"},"populationGrowth":{"latest":{"year":2025,"value":0.25},"values":[{"year":2025,"value":0.25}],"indicator":"Population growth (annual %)"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r2CxzPBa5EleXRwh-NMzU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns total population, annual growth rate, and urban population share for any country using World Bank Open Data, for up to 10 years of history.","exampleAgentPrompt":"What's the total population, annual growth rate, and urban share for Brazil over the last 5 years, according to World Bank data?","exampleUseCases":[{"title":"Market sizing for a new country","prompt":"I'm evaluating market entry into Vietnam — can you pull the total population, population growth rate, and urban share for the last 5 years from World Bank data?"},{"title":"Per-capita calculation prep","prompt":"I need Nigeria's total population for each of the last 3 years so I can compute per-capita GDP figures — can you get that from World Bank?"},{"title":"Urbanization trend research","prompt":"How has the urban share of India's population changed over the last 10 years? Pull the World Bank numbers so I can see the trend."}],"resultDescription":"Returns a JSON object with country metadata (ISO codes, region, capital, income level), and three time-series datasets — total population values, annual population growth percentages, and urban population share percentages — each covering up to 10 years newest-first, plus the World Bank snapshot date and indicator names.","failureModes":["Invalid or unrecognized country code or name returns an error or empty result","Years parameter outside 1-10 range may be rejected or clamped","World Bank snapshot may lag 1-2 years behind real-time data for the most recent year","Small territories or disputed regions may not have complete data","Network failure or worker downtime returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need reliable, citable World Bank population figures — total population, growth rate, or urbanization percentage — for any country, without setting up a World Bank API key. It answers instantly from a committed data snapshot, making it ideal for market sizing, per-capita calculations, and demographic research in automated workflows. Prefer this over scraping World Bank directly or using general web search when you need structured, machine-readable demographic data with a known provenance date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T05:35:55.633Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-population-by-country-total-6fda8024"}