🇭🇺 Other Hungary

MAV Scraper - Hungarian Train Fares & Schedules

studio-amba/mav-scraper

Scrape train schedules, fares, and route details from MAV (jegy.mav.hu) — Hungary's national railway operator. Extract IC, EC, and regional train data for any Hungarian route. No login required.

What data can you extract?

  • Product details
  • Pricing
  • Data export
  • JSON output

Output fields

Each result is a JSON object with these fields.

  • trainNumber
  • trainType
  • departureStation
  • arrivalStation
  • departureTime
  • arrivalTime
  • duration
  • price
  • currency
  • travelClass
  • transfers
  • url
  • scrapedAt

How to use

  1. Go to the actor page on Apify
  2. Click "Try for free" to open the actor in Apify Console
  3. Configure your input (search terms, URLs, or categories)
  4. Run the actor and download your data as JSON, CSV, or Excel

Input example

Paste this into the actor input on Apify Console, or send it as the body of an API run call.

{
  "origin": "Budapest",
  "destination": "Debrecen",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "HU"
  }
}

Use via API

curl "https://api.apify.com/v2/acts/studio-amba~mav-scraper/runs" \
  -X POST \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"origin":"Budapest","destination":"Debrecen","proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"HU"}}'

Need this data delivered on a schedule?

We run Mav extraction as a managed service: scheduled runs, deduplication, delta detection, and delivery straight to your inbox, Google Sheets, or API. No setup on your side, maintenance included. We can also build a custom version of this scraper for your exact fields and filters.