All free APIs
Free APIGeo & WeatherAPI keyOfficial

Transitland v2 REST API

Worldwide aggregated GTFS feeds: operators, routes, stops, schedules and feed metadata across thousands of transit agencies, with a free API key.

Transitland (by Interline) is an open catalog that aggregates and normalizes GTFS and GTFS-Realtime feeds from thousands of transit operators globally. The v2 REST API lets you query feeds, feed versions, agencies/operators, routes, stops and departures using stable Onestop IDs, with GeoJSON output and static-map PNG options. There is also a GraphQL API for richer queries. A free API key is required; the free tier has a lower rate limit, higher tiers are paid.

Free tier

Free tier with a registered API key (relatively low rate limit). Pro Tier (paid) raises rate and quota. Exact free numbers are not published.

Rate limits

Not published; docs state the Free Tier has a 'relatively low rate limit' with higher rates on Pro. Pass the key via the apikey query parameter or apikey header.

Auth

API key

Base URL

https://transit.land/api/v2/rest

What you'd build with it

  • Look up routes/stops/operators near a coordinate worldwide
  • Build a transit data layer without ingesting raw GTFS zips yourself
  • Resolve Onestop IDs and feed versions for downstream pipelines
  • Departures board for an arbitrary stop in any covered city

Key endpoints

  • GET/feedsList/search aggregated transit feeds and their fetch status.
  • GET/operatorsList transit operators/agencies; filter by location, Onestop ID, or search.
  • GET/routesQuery routes; filter by operator, bbox, or near a lat/lon radius.
  • GET/stopsQuery stops; supports GeoJSON output and radius/bbox geofilters.
  • GET/stops/{stop_key}/departuresScheduled (and realtime-merged) departures from a stop.
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

transitgtfspublic-transportglobalroutesstops