Overview
Get real-time bike availability data near a location. Returns both station-based bikes (docked) and dockless bikes from various bike-share providers including Citi Bike, Lime, Spin, and others. This is a production-ready wrapper around GBFS (General Bikeshare Feed Specification) feeds with near-real time updates, optimized for low-latency queries and high availability.Authentication
This endpoint requires Auth0 authentication. Include your access token in the Authorization header:Query Parameters
User’s latitude (-90 to 90). Can also use
lat as parameter name.User’s longitude (-180 to 180). Can also use
lon or lng as parameter name.Search radius in meters (default: 1000m)
Maximum number of results per category (stations and dockless bikes)
Response
Array of bike station objects (docked bikes)
Array of dockless bike objects
Metadata about the response
Request Example
cURL
JavaScript
Python
Response Example
Supported Providers
Cyclemate aggregates data from multiple bike-share providers:- Docked Systems: Citi Bike (NYC), Bay Wheels (SF), Divvy (Chicago), TfL Cycle Hire (London), and many more GBFS-compliant systems
- Dockless Systems: Lime, Spin, Jump, and other free-floating bike providers
Notes
- Bike availability data is cached and updated every 30-60 seconds
- Results are ordered by distance from the query location
- The
limitparameter applies separately to stations and dockless bikes - Distance is calculated using the Haversine formula (great-circle distance)
- Only operational bikes/stations are returned (excludes disabled or out-of-service items)
Data Freshness
- Stations: Updated every 30-60 seconds from GBFS feeds
- Dockless Bikes: Updated every 60 seconds from provider APIs
- Check the
last_reportedtimestamp for station data freshness
Error Responses
Invalid coordinates
Invalid coordinate values