API Client & scraper for Bilkom (PKP, polish railways).

Usage no npm install needed!

<script type="module">
  import bilkom from '';



JavaScript client and scraper for the bilkom PKP railway API*. Complies with the friendly public transport format. Inofficial, using bilkom endpoints. Ask them for permission before using this module in production. Work in progress.

*Some methods query an API, some other methods scrape data from the website.

npm version Build Status Greenkeeper badge dependency status license fptf version chat on gitter


npm install --save bilkom


const bilkom = require('bilkom')

This package contains data in the Friendly Public Transport Format and provides the following methods:

Similar Projects

  • pkp-ic - Client for the PKP Intercity API (older, doesn't have prices)
  • koleo - Client for the Koleo API (inofficial)
  • meinfernbus – Client for the Flixbus/Meinfernbus API
  • db-hafas - Client for the german railways (DB) API
  • db-prices - Client for the german railways (DB) price API


If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.