{"uid":"cap_6MW_7nQSIfyq8Dwvg8l0J","slug":"saylor-innovations-country-economic-indicators-f1d9a6f7","name":"Saylor Innovations — Country Economic Indicators","description":"Get up to five recent annual observations for population, GDP in current US dollars and consumer-price inflation. Includes years, units, source links and missing values.","url":"https://saylorinnovations.com/api/data/economy?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["service","subject","retrievedAt","source","report"],"properties":{"report":{"type":"object","required":["countryCode","countryName","indicators","attribution","limitations"],"properties":{"indicators":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"unit":{"type":"string"},"source":{"type":"string"},"observations":{"type":"array","items":{"type":"object","properties":{"year":{"type":"string"},"value":{"type":["number","null"]}}}}}}},"attribution":{"type":"string"},"countryCode":{"type":"string"},"countryName":{"type":"string"},"limitations":{"type":"string"},"datasetUpdated":{"type":["string","null"]}}},"source":{"type":"object","required":["name","url"],"properties":{"url":{"type":"string","format":"uri"},"name":{"type":"string"}}},"service":{"type":"string"},"subject":{"type":"string"},"retrievedAt":{"type":"string","format":"date-time"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KG3eA4txiiU0P-IoU1Ih6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns up to five recent annual observations for population, GDP (current USD), and consumer-price inflation for a given country, sourced from the World Bank.","exampleAgentPrompt":"Pull the last five years of economic indicators for Brazil — population, GDP in current US dollars, and CPI inflation — using the World Bank data from Saylor Innovations.","exampleUseCases":[{"title":"Country GDP trend for investor report","prompt":"Get me the last five years of GDP figures for Germany in current US dollars — I'm putting together an investor briefing on the European economy."},{"title":"Inflation comparison for policy research","prompt":"What's the consumer-price inflation data for Argentina over the past five years? I need the annual figures and source links for a policy paper."},{"title":"Population data for market sizing","prompt":"Fetch recent annual population numbers for India so I can estimate market size for our expansion plan."}],"resultDescription":"A JSON object containing the country code and name, up to five recent annual observations each for population, GDP in current USD, and CPI inflation (with year, value, and unit per observation), source attribution links, dataset update date, and a limitations notice.","failureModes":["Invalid or unsupported country code returns an error (World Bank aggregate codes like EU or WLD are excluded)","Missing values (null) for years where World Bank data is unavailable","Network or upstream World Bank API timeout","Malformed country code input (non-two-letter strings)"],"whenToPreferThis":"Use this endpoint when you need a quick, structured snapshot of key macroeconomic indicators — population, GDP, and inflation — for a specific country over recent years, sourced from World Bank data. It is ideal for research, reporting, or enrichment pipelines that need reliable, cited data without building a full World Bank API integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:01:21.544Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-country-economic-indicators-f1d9a6f7"}