{"uid":"cap_ebl-aNqxAEFauLhNyF7Wj","slug":"saylor-innovations-data-desk-world-bank-indicator-data-25ffde0a","name":"Saylor Innovations Data Desk – World Bank Indicator Data","description":"World Bank Open Data for any indicator code and up to ten countries over recent years, with latest value, period change and the indicator definition.","url":"https://saylorinnovations.com/api/economy/worldbank?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":["indicator"],"properties":{"years":{"type":"string","description":"optional most recent years 1-60, default 10"},"countries":{"type":"string","description":"optional 1-10 ISO codes, default US"},"indicator":{"type":"string","description":"World Bank indicator code, e.g. NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population), FP.CPI.TOTL.ZG (inflation)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["indicator","series"],"properties":{"note":{"description":"Plain-language caveat about how to read and use the result"},"series":{"type":"array","items":{"type":"object","properties":{"iso3":{"type":["string","null"],"description":"ISO 3166 alpha-3 country code"},"latest":{"type":["object","null"],"description":"Most recent year with a value"},"country":{"type":["string","null"],"description":"Country name"},"observations":{"type":["array","null"],"description":"Yearly values in ascending order"},"change_percent_over_period":{"type":["number","null"],"description":"Percent change from the first to the latest value returned"}}},"description":"One entry per country"},"source":{"type":"string","description":"Where the data or formula comes from"},"countries":{"type":"number","description":"Number of countries with data"},"indicator":{"type":"object","properties":{"id":{"type":["string","null"],"description":"Indicator code"},"name":{"type":["string","null"],"description":"Indicator name"},"definition":{"type":["string","null"],"description":"Short definition of what the indicator measures"},"source_organization":{"type":["string","null"],"description":"Organisations the World Bank compiled the indicator from"}},"description":"Indicator metadata from the World Bank"},"last_updated":{"type":["string","null"],"description":"Date the World Bank last updated this data"},"years_requested":{"type":"number","description":"Number of recent years requested"}}}}}}},"responseSchema":null,"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_H--IO3uk7ik7JlUe0utsv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches World Bank Open Data for any indicator code across up to ten countries over recent years, returning latest values, period changes, and indicator definitions.","exampleAgentPrompt":"Pull World Bank data for the GDP indicator NY.GDP.MKTP.CD for the US, China, Germany, Japan, and India over the last 15 years, and show me the latest values and how much each economy has grown over the period.","exampleUseCases":[{"title":"Multi-country inflation comparison","prompt":"Get me World Bank inflation data (indicator FP.CPI.TOTL.ZG) for Brazil, Argentina, Turkey, and the US over the last 10 years — I want to see the latest rate and how much it's changed since the start of the period."},{"title":"Population growth trend analysis","prompt":"Fetch World Bank population figures (SP.POP.TOTL) for Nigeria, Ethiopia, Egypt, and South Africa over the last 20 years so I can see how fast each country is growing."},{"title":"GDP per capita research for emerging markets","prompt":"Look up World Bank GDP per capita data (NY.GDP.PCAP.CD) for Vietnam, Indonesia, Bangladesh, and the Philippines for the past 5 years, including what the indicator actually measures."}],"resultDescription":"A JSON object containing: the indicator's ID, name, and definition; the number of countries with data returned; and a series array with one entry per country, each including the country name, ISO3 code, yearly observations in ascending order, the most recent year's value, and the percent change from the first to the latest observation. A plain-language caveat note may also be included.","failureModes":["Invalid or unknown indicator code returns empty or error response","Country ISO code not recognized returns no data for that country","Requesting more than 10 countries may be silently truncated","Years outside the 1–60 range may be rejected or defaulted","World Bank API upstream outage causes failed data retrieval","Some indicators may have sparse or missing data for certain countries/years"],"whenToPreferThis":"Use this endpoint when you need structured, multi-country World Bank economic or development data — including GDP, population, inflation, health, or education indicators — with automatic period-change calculations and indicator definitions included. Prefer it over raw World Bank API calls when you want a clean, pre-processed JSON response with latest values and percent changes already computed. It is particularly useful for comparative country analysis or when you need the indicator's human-readable definition alongside the data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:26:24.377Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-world-bank-indicator-data-25ffde0a"}