{"inputSchema":{"type":"object","properties":{"country":{"type":"string","maxLength":12,"minLength":1},"year":{"type":"integer","minimum":2000,"maximum":2024},"start":{"type":"integer","minimum":2000,"maximum":2024}},"required":["country"],"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"},"year":{"type":"integer"},"first_year":{"type":"integer"},"peak_year":{"type":"integer"},"peak_pct":{"type":"number"},"end_pct":{"type":"number"}},"required":["country","year","first_year","peak_year","peak_pct","end_pct"]},"limitations":{"type":"string"}}},"requestExample":{"country":"DE","year":2023},"usageGuide":["World Bank WDI, CC BY 4.0. HALOWERK calculations from a fixed 2000–2024 edition. Missing observations stop the calculation."],"outputExample":{"measured_at":"2026-11-19T06:06:43.459Z","source":{"reference":"https://api.worldbank.org/v2/country/DEU/indicator/SP.POP.0014.TO.ZS;SP.POP.65UP.TO.ZS?source=2","retrieved_at":"2026-11-19T06:01:59.312453+00:00"},"data":{"country":"DEU","year":2023,"first_year":2000,"peak_year":2000,"peak_pct":67.8856706426,"end_pct":63.2943857808},"limitations":"World Bank WDI, CC BY 4.0. HALOWERK calculations from a fixed 2000–2024 edition. Missing observations stop the calculation."},"tags":["country indicators","population","world bank","demographics"],"price_usdc":"0.005"}