GET /api/v1/cities/{slug}/sharing
Bike/scooter sharing per city, aggregated (GBFS, Tier A)
Live bike/scooter sharing per city, aggregated from open GBFS feeds of the curated Tier-A providers (primary source Nextbike, CC0) within the city area: vehicles_available (free-floating + docked), station_count and a fail-closed verified Tier-A license_id per provider. Toggle off -> 200 source_status="disabled"; city without a curated GBFS system -> 200 source_status="not_covered" (with covered_cities); no accepted Tier-A provider -> 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/sharing"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/sharing");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/sharing")
res.raise_for_status()
print(res.json())