Discover/reise.ruter.no API
live

reise.ruter.no APIreise.ruter.no

Search Oslo transit stops and get real-time bus, tram, and metro departures from Ruter's network via 3 endpoints covering NSR stop IDs, platforms, and alerts.

Endpoints
3
Updated
14d ago
Try it
Search query for stop name (e.g. 'Jernbanetorget', 'Majorstuen', 'Oslo S')
Latitude coordinate for distance-based sorting of results
Longitude coordinate for distance-based sorting of results
api.parse.bot/scraper/795ebd94-5170-4a6d-8562-c97f6d8f9c08/<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/795ebd94-5170-4a6d-8562-c97f6d8f9c08/search_stop?query=Jernbanetorget' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for transit stops by name. Returns stop places with IDs, locations, transport modes, and fare zones. Use the returned stop ID with get_departures or get_bus_arrivals.

Input
ParamTypeDescription
queryrequiredstringSearch query for stop name (e.g. 'Jernbanetorget', 'Majorstuen', 'Oslo S')
latitudenumberLatitude coordinate for distance-based sorting of results
longitudenumberLongitude coordinate for distance-based sorting of results
Response
{
  "type": "object",
  "fields": {
    "stops": "array of stop objects with id, name, location, type, transport_modes, and zone info",
    "total": "integer total number of stops returned"
  },
  "sample": {
    "data": {
      "stops": [
        {
          "id": "NSR:StopPlace:58366",
          "name": "Jernbanetorget",
          "type": "SearchStopPlace",
          "zone": {
            "id": "RUT:FareZone:4",
            "name": "1"
          },
          "distance": 0.082,
          "location": {
            "latitude": 59.911898,
            "longitude": 10.75038
          },
          "description": "Oslo",
          "transport_modes": [
            {
              "mode": "Metro",
              "sub_mode": null
            },
            {
              "mode": "Tram",
              "sub_mode": null
            },
            {
              "mode": "Bus",
              "sub_mode": null
            }
          ]
        }
      ],
      "total": 6
    },
    "status": "success"
  }
}

About the reise.ruter.no API

The Ruter (reise.ruter.no) API exposes 3 endpoints for accessing real-time public transit data across Oslo and the surrounding region. Use search_stop to find stops by name and retrieve their NSR stop place IDs, then pass those IDs to get_departures or get_bus_arrivals for live schedules including platform, line, destination, and real-time arrival times across buses, trams, and metro lines.

Stop Search and Identification

The search_stop endpoint accepts a query string (e.g. 'Jernbanetorget' or 'Oslo S') and returns an array of stop objects, each containing an id (in NSR stop place format), name, location (latitude/longitude), type, transport_modes, and fare zone information. Passing optional latitude and longitude parameters sorts results by distance, which is useful when building location-aware apps. The total field tells you how many stops matched.

Departures Across All Modes

The get_departures endpoint takes an NSR stop_id and returns a full departure board for that stop. Results include a departures array where each entry carries platform, line, scheduled and real-time times, and realtime status. You can filter by transport_mode ('Bus', 'Tram', or 'Metro') and set a start_time in ISO 8601 format to retrieve future schedules. The response also includes a top-level alerts array for service disruptions and a transport_modes array showing which modes operate at that stop.

Bus-Specific Arrivals

The get_bus_arrivals endpoint is scoped to bus departures only and accepts either a stop_id or a stop_name — if you provide a name, it auto-resolves to the correct stop. Each entry in bus_arrivals includes bus_number, destination, platform, scheduled and real-time times, and realtime_status. The response also returns stop_name and location coordinates so you don't need a separate lookup. Like get_departures, it accepts an optional start_time for forward-looking queries.

Common use cases
  • Display a live departure board for any Oslo bus stop using real-time times from get_bus_arrivals.
  • Build a transit app that auto-completes stop names and resolves NSR stop IDs via search_stop.
  • Filter get_departures by transport_mode: 'Metro' to show only T-bane lines at a given stop.
  • Surface active service alerts from the alerts field in get_departures before showing a departure list.
  • Sort nearby stops by distance by passing user GPS coordinates to search_stop as latitude and longitude.
  • Check future schedules for any stop by setting start_time to a specific ISO 8601 datetime.
  • Show fare zone information alongside stop results to help users estimate trip costs.
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 Ruter have an official developer API?+
Yes. Ruter provides an open API called Ruter's Journey Planner API (based on the national Entur platform), documented at https://developer.entur.org. The Parse API surfaces a focused subset of that data oriented around real-time stop lookups and departures.
What does `get_departures` return that `get_bus_arrivals` does not?+
get_departures covers all transport modes — Bus, Tram, and Metro — and includes a top-level alerts array for service disruptions and a transport_modes list for the stop. get_bus_arrivals is scoped to buses only but adds convenience by accepting a stop_name string and auto-resolving it to an NSR stop ID without a separate search_stop call.
How far ahead do departure results reach?+
The API returns departures from start_time (defaulting to now) and covers upcoming scheduled services from Ruter's network. There is no documented upper time window exposed in the response schema, so very distant future queries may return fewer or no results depending on how far Ruter's timetable data extends.
Does the API cover transit lines outside Oslo, such as Viken or intercity trains?+
The API focuses on the Ruter operating area, which includes Oslo and parts of Viken. National intercity train services (e.g. NSB/Vy long-distance routes) and other operators outside Ruter's network are not currently covered. You can fork this API on Parse and revise it to add endpoints targeting other operators or the broader Entur national journey planner.
Is trip planning (e.g. routing between two stops) available?+
Not currently. The API covers stop search and real-time departure lookups, but does not include origin-to-destination journey planning or route calculation. You can fork it on Parse and revise to add a journey-planning endpoint against Ruter or Entur's routing data.
Page content last updated . Spec covers 3 endpoints from reise.ruter.no.
Related APIs in TravelSee all →
culturetrip.com API
Discover travel inspiration and plan your next adventure by browsing curated travel articles, destination guides, and bookable trips organized by region and city. Search for specific destinations, compare trip dates and prices, and explore popular cities to find the perfect getaway.
sevenrooms.com API
Search for available restaurant tables across any SevenRooms venue, view venue details and open dates, and complete reservations all in one place. Whether you're planning ahead or booking last-minute, you can check real-time availability and secure your table at thousands of restaurants on the SevenRooms platform.
delta.com API
Look up Delta Airlines flight schedules, check real-time flight status, and retrieve detailed trip information to plan your travel. Find your nearest airport and access the data you need to monitor flights and make booking decisions.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
comedymothership.com API
Browse upcoming Comedy Mothership shows across different rooms, check real-time ticket availability, and get detailed information about Kill Tony events and seating options. Find venue details, FAQs, and track specific performances to plan your comedy night.
burningman.org API
Access comprehensive Burning Man information including Black Rock City event schedules, ticketing details, themed activities, playa events, volunteering opportunities, and mutant vehicle listings. Search global Burning Man events, stay updated with news and stories, and find preparation resources all in one place.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.