🇵🇱 Other Poland

PKP Scraper - Polish Train Fares & Schedules

studio-amba/pkp-scraper

Scrape train schedules, fares, and availability from PKP Intercity (ebilet.intercity.pl). Extract EIP, EIC, IC, and TLK routes across Poland. No login required.

What data can you extract?

  • Stock availability
  • Schedules
  • 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
  • changes
  • carrier
  • 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": "Warszawa",
  "destination": "Krakow",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "PL"
  }
}

Use via API

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

Need this data delivered on a schedule?

We run Pkp 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.