{"inputSchema":{"type":"object","properties":{"country":{"enum":["DE","FR","US","JP"]},"indicator":{"enum":["SP.POP.TOTL","NY.GDP.MKTP.CD","NY.GDP.PCAP.CD","FP.CPI.TOTL.ZG","SL.UEM.TOTL.ZS"]},"start_year":{"type":"integer","minimum":2019,"maximum":2024},"end_year":{"type":"integer","minimum":2019,"maximum":2024}},"required":["country","indicator"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"country":{"type":"string"},"indicator":{"type":"string"},"observations":{"type":"number"},"first_year":{"type":"number"},"last_year":{"type":"number"},"slope_per_year":{"type":"number"},"r_squared":{"type":["number","null"]},"forecast_claimed":{"const":false},"attribution":{"type":"string"}},"required":["country","indicator","observations","first_year","last_year","slope_per_year","r_squared","forecast_claimed","attribution"]},"limitations":{"type":"string"}}},"requestExample":{"country":"DE","indicator":"SP.POP.TOTL","start_year":2020,"end_year":2024},"usageGuide":["World Bank WDI, CC BY4.0; four countries/2019–2024, source cache up to24h; no forecast."],"outputExample":{"measured_at":"2026-11-18T15:25:24.981Z","source":{"reference":"https://api.worldbank.org/v2/","retrieved_at":"2026-11-18T15:19:04.009Z"},"data":{"country":"DE","indicator":"SP.POP.TOTL","observations":5,"first_year":2020,"last_year":2024,"slope_per_year":80263.9,"r_squared":0.7408968136747813,"forecast_claimed":false,"attribution":"World Bank WDI, CC BY4.0; HALOWERK least-squares calculation"},"limitations":"World Bank WDI, CC BY4.0; four countries/2019–2024, source cache up to24h; no forecast."},"tags":["macro data","world bank","economy","country data","indicators"],"price_usdc":"0.005"}