Skip to main content
This guide shows how to find nearby Citi Bike stations, inspect a station, and review system alerts using the public GBFS feeds.

Prerequisites

  • Install mta-js with npm install mta-js.
  • Set MTA_API_KEY in your environment.
  • Requires mta-js 2.4.0 or later.
1

Find nearby stations

Provide latitude and longitude to sort stations by distance. Radius defaults to 500 meters and is capped at 5,000 meters; results default to 20 and are capped at 100.
Filter by available bicycles, docks, or e-bikes:
2

Get one station

Use a station UUID or its short name:
3

Check service alerts

Citi Bike uses public GBFS feeds. Station availability is refreshed through the API’s 30-second response cache.