City Bikes API
Overview
City Bikes API gives you real-time data on bike-sharing stations across hundreds of cities worldwide. You can check how many bikes are available at each station and see station locations on a map. It requires no API key, so you can start experimenting right away.
Beginner Tip
Start by fetching the full network list at /v2/networks to find the network ID for your city, then drill into /v2/networks/{id} to get live station data.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://api.citybik.es/v2/networks?fields=id,name,location
- Result
- HTTP 200 · application/json · 110,890 bytes · compressed
- Response time
- 304 ms (median of 3) · fastest 303 ms
- Transport
- TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Let's Encrypt
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Rate limit
- 300 per window (294 remaining at test time)
- Served by
- nginx/1.18.0 (Ubuntu)
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| networks | array | [1 item] |
Captured Response
Captured from a real request to https://api.citybik.es/v2/networks?fields=id,name,location on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"networks": [
{
"id": "abu-dhabi-careem-bike",
"name": "Abu Dhabi Careem BIKE",
"location": {
"…": "(4 more fields)"
}
}
]
} Field Reference
id Unique identifier for the bike network, used in subsequent requests name Human-readable name of the bike-sharing network Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://api.citybik.es/v2/networks?fields=id,name,location";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Not Found
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →balldontlie
⭐ Beginner's Pickballdontlie is a completely free, no-auth-required API that provides NBA basketball statistics including player data, team information, game scores, and season averages.
Football (Soccer) Videos
⭐ Beginner's PickFootball (Soccer) Videos API by Scorebat provides embed codes for goals and match highlights from top leagues like the Premier League and Bundesliga.
Football Standings
⭐ Beginner's PickFootball Standings API provides current league standings for popular football competitions like the EPL, La Liga, and Serie A, sourced from ESPN.
MLB Records and Stats
⭐ Beginner's PickMLB Records and Stats API provides current and historical statistics for Major League Baseball, including player batting and pitching records, team stats, and season standings.
Oddsmagnet
Oddsmagnet provides historical betting odds data from multiple UK bookmakers, letting you track how odds have changed over time for various sports events.