Bike count
Traffic: counters, message signs, events and car parks
- Format
- JSON
- Updates
- Every minute
- Latest snapshot
- Snapshots stored
- about 1,080,419
curl -H "Authorization: Bearer $MOBILITYTWIN_TOKEN" "https://api.mobilitytwin.brussels/traffic/bike-count"
Live counts from the Brussels bike counters, keyed by counter id. Their positions are in bike-counters.
Which days have data
Data from 21 Aug 2024 to 2 Nov 2026, on 792 days. 29 of the last 30 days have data. A typical day holds 1354 snapshots. Days are in UTC.
2026
JanFebMarAprMayJunJulAugSepOctNovDec
2025
JanFebMarAprMayJunJulAugSepOctNovDec
2024
JanFebMarAprMayJunJulAugSepOctNovDec
- Full day
- Partial, 50–90% of a typical day
- Low, under 50%
- No snapshot
- Not expected
Click a day above, or pick a date, to get its requests.
Parameters
| Name | Meaning |
|---|---|
timestamp | Return the last snapshot at or before this moment, in Unix seconds or ISO 8601 (e.g. 2026-05-06T12:00:00Z). Without it, the latest snapshot is returned. |
Response fields
| Field | Type |
|---|---|
data.<key>.cnt_time | string |
data.<key>.day_cnt | integer |
data.<key>.hour_cnt | integer |
data.<key>.year_cnt | integer |
requestDate | string |
Python example
import requests
from datetime import datetime, timedelta, timezone
yesterday_noon = (datetime.now(timezone.utc) - timedelta(days=1)).replace(
hour=12, minute=0, second=0, microsecond=0
)
params = {
"timestamp": yesterday_noon.isoformat(), # ISO accepted; epoch also works
}
url = "https://api.mobilitytwin.brussels/traffic/bike-count"
data = requests.get(url, headers={
'Authorization': 'Bearer [MY_API_KEY]'
}, params=params).json()
# Show bike counts per counter (hourly, daily, yearly)
for counter_id, counter_data in data['data'].items():
hourly = counter_data.get('hour_cnt', 0)
daily = counter_data.get('day_cnt', 0)
yearly = counter_data.get('year_cnt', 0)
print(f"{counter_id}: {hourly} this hour, {daily} today, {yearly} this year")