Wild APIs

Transit APIs

Most transit APIs come from the agency that runs the service, so coverage is one city or country at a time: Transport for London, the MBTA in Boston, Entur in Norway and many more. Formats range from GTFS-Realtime protobuf feeds, as with the MTA, to full journey planners like Trafiklab in Sweden. For wider reach, TransitLand aggregates GTFS feeds worldwide and City Bikes tracks bike-share stations across many cities.
39 listings of 80 in catalogue
APIPricingAuthFormatFree tierStatus
ApimetroStations, lines and GeoJSON geometry for Mexico City's Metro, Metrobús and other transit systems.
Transport & Travel › Transit
FreemiumNoneJSONUnlimitedLive
AZ511Arizona DOT traffic cameras, events, alerts, weather stations, and work-zone data feeds.
Transport & Travel › Transit
FreeAPI keyJSON10k+/dayLive
Bay Area Rapid TransitReal-time BART train arrival estimates, station info, routes and schedules for the Bay Area.
Transport & Travel › Transit
FreeAPI keyXMLUnlimitedLive
BC Ferries APILive BC Ferries sailing times, statuses, and vehicle-deck fill levels for all routes and terminals.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
City BikesReal-time bike-share station and availability data for 400+ cities worldwide.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
DigitransitJourney planning, GTFS routing and address geocoding APIs for Finnish public transport.
Transport & Travel › Transit
API keyJSON—Live
GTFS ScorecardData-quality grades (A-F) and top fixes for thousands of public transit GTFS feeds.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
iRailReal-time Belgian train departures, connections, vehicle composition, and disruptions.
Transport & Travel › Transit
FreeNoneJSON10k+/dayLive
JCDecaux BikeLive station status and available bikes/docks for JCDecaux-operated city bike-share networks.
Transport & Travel › Transit
API keyJSON—Untested
LiveTrafficCamLive US state DOT traffic camera locations and feed status, with measured per-camera uptime.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
LTA DataMallSingapore's real-time bus arrivals, train alerts, traffic, carpark and EV charging data from LTA.
Transport & Travel › Transit
API keyJSONUnlimitedUntested
MBTA V3 APIReal-time predictions, schedules, routes, alerts and vehicle positions for MBTA transit.
Transport & Travel › Transit
FreeAPI keyJSON10k+/dayLive
MTA Real-Time Data FeedsLive NYC subway, rail and service-alert feeds in GTFS-Realtime protobuf format from the MTA.
Transport & Travel › Transit
FreeNoneBinaryUnlimitedUntested
NavitiaMulti-modal public transit journey planning, schedules, and stop/place search across covered regions.
Transport & Travel › Transit
API keyJSON—Live
Trafiklab (ResRobot)Route planning, stops and real-time departures across all Swedish public transport operators.
Transport & Travel › Transit
FreeAPI keyJSON—Live
TransitLandAggregated worldwide GTFS transit feeds - stops, routes and schedules - via REST or GraphQL.
Transport & Travel › Transit
FreemiumAPI keyJSON100–1k/dayLive
Transport API (opendata.ch)Swiss public transport connections, stationboards and stop locations, backed by search.ch data
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
Transport for Atlanta, USReal-time MARTA bus vehicle positions and trip updates via GTFS-Realtime protobuf feeds.
Transport & Travel › Transit
API keyBinary—Live
Transport for Auckland, New ZealandAuckland bus, train and ferry GTFS schedules plus realtime trip, position and alert data.
Transport & Travel › Transit
FreeAPI keyJSON1k–10k/dayUntested
Transport for Bordeaux, FranceBordeaux Métropole open-data API: live bike-share stations, bus/tram stops and traffic datasets.
Transport & Travel › Transit
NoneJSONUnlimitedLive
Transport for Chicago, USReal-time CTA train and bus arrival predictions and service alerts for Chicago.
Transport & Travel › Transit
FreeAPI keyJSON10k+/dayLive
Transport for Grenoble, FranceGrenoble tram/bus network data: routes, lines, stops, and trip planning for the M Tag transit system.
Transport & Travel › Transit
NoneJSONUnlimitedUntested
Transport for Hessen, GermanyGerman HAFAS transit API for Hessen: real-time departures/arrivals, trip planning and stop search.
Transport & Travel › Transit
FreeAPI keyXML1k–10k/dayLive
Transport for Honolulu, USReal-time bus arrivals, vehicle locations and route shapes for Honolulu's TheBus system.
Transport & Travel › Transit
FreeAPI keyJSONUnlimitedLive
Transport for London (TfL) Unified APIReal-time London Tube, bus, road and air-quality data straight from the transit authority.
Transport & Travel › Transit
FreeAPI keyJSON10k+/dayLive
Transport for Los Angeles, USLA Metro bus/rail vehicle positions, trip updates and service-cancellation data for the LA region.
Transport & Travel › Transit
NoneJSONUnlimitedLive
Transport for NorwayNorway's national transport data: journey planning, real-time vehicle positions, stops and geocoding.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
Transport for Paris, FranceRATP's open data catalog for Paris transit: stations, lines, commerce points and network datasets.
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
Transport for Philadelphia, USReal-time SEPTA bus/vehicle positions, route detours and other Philadelphia transit data, no key required.
Transport & Travel › Transit
NoneJSON—Live
Transport for Sao Paulo, BrazilReal-time bus positions, arrival predictions, lines, and stops for São Paulo's municipal bus network.
Transport & Travel › Transit
API keyJSON—Live
Transport for SpainQueries Renfe's open datasets — stations, timetables, incidents — through a generic CKAN REST API.
Transport & Travel › Transit
NoneJSONUnlimitedLive
Transport for SwitzerlandOfficial Swiss public transport data: GTFS timetables, real-time data, and an XML journey-planner service.
Transport & Travel › Transit
FreemiumAPI keyBinary—Untested
Transport for The NetherlandsReal-time Dutch public transit arrival times, line, and stop data (OVAPI/KV78Turbo).
Transport & Travel › Transit
FreeNoneJSONUnlimitedLive
Transport for The NetherlandsDutch national railway API for train timetables, live disruptions and station information.
Transport & Travel › Transit
API keyJSON—Untested
Transport for UKUK bus, rail and tube data: live departures, journey planning, stop and station lookup.
Transport & Travel › Transit
FreemiumAPI keyJSON<100/dayLive
Transport for United StatesReal-time bus/rail routes, stop predictions and vehicle locations for listed North American transit agencies.
Transport & Travel › Transit
FreeNoneXML—Live
Transport for Vancouver, CanadaReal-time Metro Vancouver bus/train positions, trip updates and service alerts via GTFS Realtime feeds.
Transport & Travel › Transit
FreeAPI keyBinary100–1k/dayLive
Transport for Washington, USReal-time DC Metro bus/rail predictions, schedules, alerts, and GTFS feeds.
Transport & Travel › Transit
FreeAPI keyJSONUnlimitedLive
Velib Metropolis, Paris, FranceLive Velib bike-share station data for Paris: bike/dock availability, e-bike vs mechanical counts.
Transport & Travel › Transit
NoneJSONUnlimitedLive

Choosing a Transit API

Is there a free Transit API?

Yes. Transport for London (TfL) Unified API, City Bikes, AZ511, Bay Area Rapid Transit, BC Ferries API and 17 others are free to use, and TransitLand, Apimetro, Transport for Switzerland and Transport for UK have a free tier alongside paid plans.

Which Transit APIs work without an API key?

City Bikes, Apimetro, BC Ferries API, GTFS Scorecard, iRail and 13 others need no key or sign-up, so you can try them with a plain request.

Can I call a Transit API from front-end JavaScript?

City Bikes, Apimetro, BC Ferries API, GTFS Scorecard, iRail and 7 others allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.

Can I use Transit APIs in a commercial project?

GTFS Scorecard, LTA DataMall, Trafiklab (ResRobot), Transport for Bordeaux, France, Transport for Spain and 1 other permit commercial use. TransitLand, Apimetro, Transport for Chicago, US, Transport for Hessen, Germany, Transport for The Netherlands and 2 others restrict it, for example to non-commercial or attributed use, so read the terms first.

Which Transit APIs work with AI agents?

Transport for London (TfL) Unified API, Apimetro, MBTA V3 API, Trafiklab (ResRobot), Transport for UK and 1 other publish an OpenAPI spec for generating clients and tools.

More specific: Trains APIs

More in Transport & Travel: Flights APIs · Cars & Vehicles APIs · Hotels APIs · Shipping & Tracking APIs · Visas & Entry APIs · Cruises APIs

Related: Routing APIs