{"inputSchema":{"type":"object","properties":{"country":{"type":"string","minLength":1,"maxLength":150},"year":{"type":"integer","minimum":2015,"maximum":2025},"base_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"},"baseline":{"type":"integer"},"net_network_km":{"type":"number"},"wired_change_km":{"type":"number"},"unwired_change_km":{"type":"number"},"flags":{"type":"string"}},"required":["country","year","baseline","net_network_km","wired_change_km","unwired_change_km","flags"]},"limitations":{"type":"string"}}},"requestExample":{"country":"DE","year":2021,"base_year":2019,"snapshot":"2026-11-30"},"usageGuide":["Railway line length in kilometres, not track-kilometres. Eurostat rail_if_line_tr, EU countries, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."],"outputExample":{"measured_at":"2026-11-30T08:31:18Z","source":{"reference":"https://ec.europa.eu/eurostat/databrowser/view/rail_if_line_tr/default/table?lang=en","retrieved_at":"2026-11-30T08:31:18Z"},"data":{"country":"DE","year":2021,"baseline":2019,"net_network_km":-284.974000000002,"wired_change_km":246.27300000000105,"unwired_change_km":-531.2469999999994,"flags":"none"},"limitations":"Railway line length in kilometres, not track-kilometres. Eurostat rail_if_line_tr, EU countries, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."},"tags":["rail network","electrification","rail infrastructure","transport statistics"],"price_usdc":"0.005"}