Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (16 loc) · 1.82 KB

readme.md

File metadata and controls

29 lines (16 loc) · 1.82 KB

v5.hvv.transport.rest documentation

v5.hvv.transport.rest is a REST API for the Hamburg public transportation system, HVV.

API status

Because it wraps an API of HVV, it includes all local traffic, as well as some long-distance trains running in the area. Essentially, it returns whatever data the HVV app shows, including realtime delays and disruptions.

Why use this API?

Realtime Data

This API returns realtime data whenever its upstream, the API for DB's mobile app, provides it.

No API Key

You can just use the API without authentication. There's a rate limit of 100 requests/minute (burst 150 requests/minute) set up.

CORS

This API has CORS enabled, so you can query it from any webpage.

Caching-friendly

This API sends ETag & Cache-Control headers, allowing clients cache responses properly.