{"inputSchema":{"type":"object","properties":{"country":{"type":"string","maxLength":72,"minLength":1},"year":{"type":"integer","minimum":2015,"maximum":2024},"since":{"type":"integer","minimum":2015,"maximum":2024}},"required":["country","since"],"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":{"iso":{"type":"string"},"year":{"type":"integer"},"population_effect":{"type":"number"},"coverage_effect":{"type":"number"},"net_change":{"type":"number"}},"required":["iso","year","population_effect","coverage_effect","net_change"]},"limitations":{"type":"string"}}},"requestExample":{"country":"Ghana","year":2024,"since":2015},"usageGuide":["2015–2024 edition, 30 economies. WHO/UNICEF JMP and World Bank WDI, CC BY 4.0. Calculations by HALOWERK. Figures are estimates, and missing years remain missing.","Supported ISO3 codes: USA, CAN, MEX, BRA, PER, CHL, COL, IND, NPL, BGD, IDN, PHL, VNM, JPN, KEN, GHA, NGA, UGA, SEN, ZAF, EGY, MAR, DEU, GBR, FRA, ESP, POL, AUS, NZL, ARG"],"outputExample":{"measured_at":"2026-11-24T13:10:05.508Z","source":{"reference":"https://data.worldbank.org/indicator/SH.H2O.BASW.ZS?locations=GH","retrieved_at":"2026-11-24T11:46:34.281974+00:00"},"data":{"iso":"GHA","year":2024,"population_effect":1110095,"coverage_effect":-3198600,"net_change":-2088504},"limitations":"2015–2024 edition, 30 economies. WHO/UNICEF JMP and World Bank WDI, CC BY 4.0. Calculations by HALOWERK. Figures are estimates, and missing years remain missing."},"tags":["water access","sanitation","world bank","country statistics"],"price_usdc":"0.005"}