vbb-rest is a public transport REST API, a clean alternative to the VBB HAFAS API.
Use VBB has blocked our API servers' IP addresses, so the public
vbb-client@3 for querying this API in browsers or with Node.
2.vbb.transport.rest endpoint is down. For the time being, you have two choices:
- Use the
1.bvg.transport.restendpoint. It returns data from the BVG HAFAS API, which is almost exactly the same. Check the docs at
- Host your
vbb-restinstance. See below for instructions.
installing & running
A Docker image is available as
docker run -d -p 3000:3000 derhuerst/vbb-rest
git clone https://github.com/derhuerst/vbb-rest.git cd vbb-rest git checkout 2 npm install --production npm start
If you have a question or have difficulties using
vbb-rest, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.