GET /api/v1/cities/{slug}/bike-counts
Bicycle counting stations per city (municipal open data, Tier A)
Bicycle counting stations (permanent counters) per city from municipal open-data sources, license-verified at origin. Each station (counts) carries name, coordinates, value, granularity (e.g. "day") and optionally per-direction values (directions). Eco-Counter/Eco-Visio is deliberately NOT included (license unclear). Currently: Munich (Mobilitätsreferat, DL-DE/BY 2.0, daily totals of the 6 permanent counters). Partial coverage: toggle off -> 200 source_status="disabled"; city not covered -> 200 source_status="not_covered" (with covered_cities); covered city without a station -> 200 source_status="no_data".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/bike-counts"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/bike-counts");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/bike-counts")
res.raise_for_status()
print(res.json())