InfraNode.dev
MCP InfraNode is also available as an MCP server for AI assistants like Claude and ChatGPT.

GET /api/v1/cities/{slug}/population-trend

Population trend as a time series (Wegweiser, Tier A)

70 indicators on change rather than stock: development of age groups (absolute and since 2011, also by gender), birth and death rates, migration balance, overall population development. Every metric carries its TIME SERIES plus latest_year and latest_value; years without a value are absent from the series (never an invented zero). Toggle off -> 200 source_status="disabled"; no snapshot or an empty year window -> 200 source_status="not_ingested".

Parameters

Name In Required Type Example Description
slug path yes string
from query no integer 2020 Erstes Jahr der Reihe (inklusive, 2006-2040). Ohne Angabe kommt die volle Reihe. Keine Zahl oder ausserhalb des Bestands -> 400.
to query no integer 2023 Letztes Jahr der Reihe (inklusive, 2006-2040). Muss groesser oder gleich from sein, sonst 400.

Code samples

curl "https://infranode.dev/api/v1/cities/hamburg/population-trend"

Try it