{"inputSchema":{"type":"object","properties":{"country":{"type":"string","minLength":1,"maxLength":150},"year":{"type":"integer","minimum":2015,"maximum":2025},"snapshot":{"enum":["2026-11-30"]}},"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"},"independent_pct":{"type":"number"},"at_least_secondary_pct":{"type":"number"},"within_independent_pct":{"type":"number"},"flags":{"type":"string"}},"required":["country","year","independent_pct","at_least_secondary_pct","within_independent_pct","flags"]},"limitations":{"type":"string"}}},"requestExample":{"country":"ES","year":2023,"snapshot":"2026-11-30"},"usageGuide":["Reported population served by wastewater treatment level. Eurostat env_ww_con, EU countries, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."],"outputExample":{"measured_at":"2026-11-30T08:31:24Z","source":{"reference":"https://ec.europa.eu/eurostat/databrowser/view/env_ww_con/default/table?lang=en","retrieved_at":"2026-11-30T08:31:24Z"},"data":{"country":"ES","year":2023,"independent_pct":0.44,"at_least_secondary_pct":0,"within_independent_pct":0,"flags":"i"},"limitations":"Reported population served by wastewater treatment level. Eurostat env_ww_con, EU countries, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."},"tags":["wastewater treatment","sewer connection","water infrastructure","sanitation"],"price_usdc":"0.005"}