Discover/citymapper.com API
live

citymapper.com APIcitymapper.com

Access real-time transit arrivals, service status, line details, and nearby stops for major cities worldwide via the Citymapper API.

Endpoints
7
Updated
11d ago
Try it

No input parameters required.

api.parse.bot/scraper/75a88626-7f26-4a10-ac53-922ad6ca5740/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/75a88626-7f26-4a10-ac53-922ad6ca5740/get_supported_cities' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Get a list of major cities supported by Citymapper, including their region IDs, slugs, and country names.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "cities": "array of city objects with name, slug, region_id, and country"
  },
  "sample": {
    "data": {
      "cities": [
        {
          "name": "London",
          "slug": "london",
          "country": "UK",
          "region_id": "uk-london"
        },
        {
          "name": "New York",
          "slug": "nyc",
          "country": "US",
          "region_id": "us-nyc"
        }
      ]
    },
    "status": "success"
  }
}

About the citymapper.com API

This API provides real-time transit data from Citymapper across 7 endpoints covering supported cities worldwide. Use get_stop_arrivals to fetch live departure ETAs grouped by line and direction, get_city_service_status to retrieve disruption details across all transit modes in a region, and get_nearby_transit to find stops within walking distance of any coordinate pair.

City and Line Discovery

Start with get_supported_cities to retrieve the full list of covered cities, each returning a name, slug, region_id, and country. The region_id (e.g. uk-london, us-nyc) is the key input parameter for every other endpoint. From there, search_lines accepts a free-text query and a region_id to return matching route objects including name, route_id, brand, mode, and current status — useful for resolving a line name to its canonical ID before querying deeper endpoints.

Service Status and Alerts

get_city_service_status returns a groupings array organized by transit mode, where each group contains routes with status metadata and a last_updated_time ISO 8601 timestamp. When you need per-line disruption detail, get_line_service_alerts returns an alerts array with level, summary, description, and optionally affected_stops for a specific route_id. When no disruptions are active, the alerts array is empty.

Stop-Level and Route-Level Data

get_line_details takes a route_id and region_id and returns a stops object mapping stop IDs to coordinates and route connections, plus a routes array containing patterns and stop sequences. Stop IDs follow a CamelCase format (e.g. OxfordCircus, KingsCross) and feed directly into get_stop_arrivals, which returns a stations array with departures grouped by line and direction alongside a last_updated_time timestamp.

Proximity Queries

get_nearby_transit accepts lat, lon, and region_id coordinates and returns an elements array of nearby stops, each with name, coordinates, route information, and a walk_time_seconds value — suitable for location-aware transit tooling without requiring a known stop ID in advance.

Common use cases
  • Display real-time departure boards for a specific station using get_stop_arrivals grouped by line and direction.
  • Build a city transit health dashboard using get_city_service_status groupings to surface active disruptions across all modes.
  • Power a map layer of nearby transit stops with walk times using get_nearby_transit elements coordinates and walk_time_seconds.
  • Send push alerts for a user's commute line by polling get_line_service_alerts for a specific route_id.
  • Resolve user-entered line names to route IDs programmatically using search_lines before querying line-level endpoints.
  • Render a full route map with stop coordinates and interchange connections using get_line_details stops and routes.
  • List all supported cities and their region IDs to populate a city picker UI using get_supported_cities.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Citymapper have an official developer API?+
Citymapper does not offer a public developer API. Their transit data is not available through any officially documented or publicly accessible API endpoint.
What does get_stop_arrivals return, and how are departures organized?+
It returns a stations array where each station object contains departures grouped by transit line and direction, along with a last_updated_time ISO 8601 timestamp. Stop IDs must be in CamelCase format (e.g. KingsCross, OxfordCircus) and can be obtained from the stops keys returned by get_line_details.
Does the API cover trip planning or routing between two points?+
Not currently. The API covers stop arrivals, service status, line details, nearby stops, and service alerts. You can fork it on Parse and revise it to add a routing or journey-planning endpoint.
Which cities are covered, and are all transit modes included for each city?+
Coverage depends on what Citymapper indexes for each city. Call get_supported_cities to see the full list of supported regions. Within each region, get_city_service_status returns groupings by transit mode, but not every city will have every mode (e.g. metro, bus, rail) represented equally.
Is fare or ticket pricing data available through any endpoint?+
Not currently. The API exposes stop arrivals, line details, service status, and alerts — no fare, ticketing, or pricing data is returned by any endpoint. You can fork it on Parse and revise it to add fare data if the source exposes it for your target city.
Page content last updated . Spec covers 7 endpoints from citymapper.com.
Related APIs in Maps GeoSee all →
idealista.pt API
Search and filter property listings across Portugal by location, price, and size, then access detailed information about each property including its characteristics and pricing history. Monitor how property prices change over time to help you make informed decisions about buying or selling real estate.
homedepot.com API
Search and browse Home Depot's product catalog to compare pricing, check real-time availability, and review detailed product specifications. Find products across all categories, look up store locations and hours, and check fulfillment options including in-store pickup and delivery.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
Citymapper API – Real-Time Transit Data · Parse