Discover/mavplusz.hu API
live

mavplusz.hu APImavplusz.hu

Get real-time and scheduled departure data from Hungarian public transit stops via the MÁV+ system. Includes delays, platforms, destinations, and line numbers.

Endpoints
1
Updated
2mo ago
Try it
The GTFS stop ID for the transit stop (e.g. 'BUD:keleti|keleti_100001_99' for Budapest Kel
Time range in seconds from now to fetch departures.
Maximum number of departures per route pattern to return.
api.parse.bot/scraper/c6edf73a-1844-4a91-88a1-a7c28f365698/<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/c6edf73a-1844-4a91-88a1-a7c28f365698/get_departures?time_range=3600&max_departures=10' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 1 totalclick to expand

Get all departures from a Hungarian transit stop. Returns departure time, destination, line number, track/platform, route name, and real-time information when available. Results are sorted by departure time.

Input
ParamTypeDescription
stop_idstringThe GTFS stop ID for the transit stop (e.g. 'BUD:keleti|keleti_100001_99' for Budapest Keleti).
time_rangeintegerTime range in seconds from now to fetch departures.
max_departuresintegerMaximum number of departures per route pattern to return.
Response
{
  "type": "object",
  "fields": {
    "stop_id": "string - GTFS stop identifier",
    "stop_name": "string - Human-readable stop name",
    "departures": "array of departure objects sorted by time, each containing departure_time, realtime_departure, delay_minutes, is_realtime, destination, line_number, route_name, trip_name, track, mode, route_color",
    "total_departures": "integer - Total number of departures found"
  },
  "sample": {
    "data": {
      "stop_id": "SOM:hkir|hkir_101357_99",
      "stop_name": "Gyöngyös, autóbusz-állomás",
      "departures": [
        {
          "mode": "COACH",
          "track": "7",
          "trip_name": "3610/25",
          "route_name": "Hatvan-Ecséd-Rózsaszentmárton-Szűcsi-Gyöngyöspata-Gyöngyös",
          "destination": "Gyöngyös, vasútállomás",
          "is_realtime": true,
          "line_number": "3610",
          "route_color": "F6AC00",
          "delay_minutes": 5,
          "departure_time": "13:53",
          "realtime_departure": "13:58"
        }
      ],
      "total_departures": 52
    },
    "status": "success"
  }
}

About the mavplusz.hu API

The MÁV+ API provides access to Hungarian public transit departure data through a single get_departures endpoint that returns up to the full scheduled board for any GTFS-identified stop. Each response includes at least 8 fields per departure: scheduled time, real-time departure, delay in minutes, destination, line number, track or platform, route name, and a flag indicating whether the timing is live. Results are sorted chronologically by departure time.

What the API Returns

The get_departures endpoint accepts a GTFS stop_id (e.g. BUD:keleti|keleti_100001_99 for Budapest Keleti) and returns a structured departure board for that stop. The response includes stop_id, stop_name, total_departures, and a departures array sorted by departure time. Each departure object carries departure_time, realtime_departure, delay_minutes, is_realtime, destination, line number, platform or track, and route name.

Filtering and Scoping Results

Three optional parameters let you narrow the result set. time_range (integer, seconds) limits departures to a window starting from the current time — useful for building "next N minutes" departure boards. max_departures caps the number of entries returned per route pattern, preventing high-frequency routes from dominating the list. Omitting both parameters returns the full available board for the stop.

Real-Time vs Scheduled Data

Each departure entry includes an is_realtime boolean. When true, realtime_departure reflects the live estimated time and delay_minutes indicates how many minutes behind schedule the service is running. When false, only the scheduled time is available. This distinction matters for integration: downstream alerting or display logic should check is_realtime before presenting delay information as live.

Stop Identification

Stops are identified by GTFS stop IDs as used in the MÁV+ system. These follow a structured format combining a network prefix and a stop code. You need the correct GTFS stop ID for the stop you want — the API does not currently include a stop search or autocomplete endpoint.

Common use cases
  • Display a live departure board for Budapest Keleti or any other Hungarian rail/bus stop in a mobile or web app.
  • Alert commuters when delay_minutes exceeds a threshold on their regular route.
  • Build a journey planner that queries multiple stop IDs and merges sorted departure times.
  • Monitor platform assignments by parsing the track/platform field for operational dashboards.
  • Filter departures using time_range to show only trains departing within the next 30 minutes.
  • Log historical delay data by recording delay_minutes and realtime_departure values over time for a given stop.
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 MÁV+ have an official developer API?+
MÁV+ does not publish a public developer API with documented endpoints or issued API keys for third-party use. Access to departure data through official channels is limited to the MÁV+ consumer apps and website.
How does the API distinguish real-time data from scheduled data?+
Each departure object includes an is_realtime boolean. When it is true, the realtime_departure field holds the live estimated departure time and delay_minutes reflects the current delay. When is_realtime is false, only the scheduled departure_time is populated and delay_minutes should be treated as zero or absent.
Does the API cover bus and tram stops, or only trains?+
The API works with any stop identifiable by a GTFS stop ID in the MÁV+ system, which includes intercity rail, some regional bus, and other modes covered by that network. Stops outside the MÁV+ GTFS feed — such as BKK (Budapest municipal transit) trams and metros — are not covered. You can fork this API on Parse and revise it to target BKK or other Hungarian transit providers.
Is there a stop search endpoint to find GTFS stop IDs?+
Not currently. The API requires you to supply a known GTFS stop_id directly; there is no search-by-name or autocomplete endpoint in this version. You can fork this API on Parse and revise it to add a stop lookup endpoint.
Does the API return intermediate stops or the full route path for a departure?+
Each departure includes a route name and destination, but the full list of intermediate stops along the route is not returned. The API covers stop-level departure boards, not complete trip itineraries. You can fork this API on Parse and revise it to add a trip detail endpoint that returns the full stop sequence.
Page content last updated . Spec covers 1 endpoint from mavplusz.hu.
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.