v6.bvg.transport.rest
documentation🔗v6.bvg.transport.rest
is aREST API for theBerlin public transportation system,BVG.
Because it wrapsa BVG API of BVG, itincludes all local traffic of Berlin & Brandenburg, as well as some long-distance trains running in the area. Essentially, it returns whatever data theBVG app shows,including realtime delays and disruptions.
This API returns realtime data whenever its upstream, theAPI for BVG's mobile app, provides it.
You can just use the API without authentication. There's arate limit of 100 requests/minute set up.
This API hasCORS enabled, so you can query it from any webpage.
This API sendsETag
&Cache-Control
headers, allowing clients cache responses properly.