{"id":15593305,"url":"https://github.com/derhuerst/bvg-rest","last_synced_at":"2025-04-06T22:06:35.779Z","repository":{"id":35813913,"uuid":"143210985","full_name":"derhuerst/bvg-rest","owner":"derhuerst","description":"An HTTP API for Berlin \u0026 Brandenburg public transport.","archived":false,"fork":false,"pushed_at":"2025-03-18T13:23:16.000Z","size":165,"stargazers_count":91,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"6","last_synced_at":"2025-03-30T21:06:12.866Z","etag":null,"topics":["api","berlin","bvg","public-transport"],"latest_commit_sha":null,"homepage":"https://v6.bvg.transport.rest/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"docs/readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-01T21:35:56.000Z","updated_at":"2025-03-29T21:37:00.000Z","dependencies_parsed_at":"2023-11-07T19:35:52.876Z","dependency_job_id":"660a55ec-56c3-47b6-b61d-59fce6bdc1fe","html_url":"https://github.com/derhuerst/bvg-rest","commit_stats":{"total_commits":73,"total_committers":5,"mean_commits":14.6,"dds":0.06849315068493156,"last_synced_commit":"4a040b231bdabd3fcd5140a5830321a8d2ec40b2"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fbvg-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fbvg-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fbvg-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fbvg-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/bvg-rest/tar.gz/refs/heads/6","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","berlin","bvg","public-transport"],"created_at":"2024-10-03T00:07:57.484Z","updated_at":"2025-04-06T22:06:35.760Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `v6.bvg.transport.rest` documentation\n\n[`v6.bvg.transport.rest`](https://v6.bvg.transport.rest/) is a [REST API](https://restfulapi.net) for the [Berlin](https://en.wikipedia.org/wiki/Berlin) public transportation system, [BVG](https://en.wikipedia.org/wiki/Berliner_Verkehrsbetriebe).\n\n[![API status](https://badgen.net/uptime-robot/status/m793274554-6cf10d741ce5352cc2a6d65f)](https://stats.uptimerobot.com/57wNLs39M/793274554)\n\nBecause it wraps [a BVG API](https://github.com/public-transport/hafas-client/blob/6/readme.md#background) of BVG, it **includes all local traffic of Berlin \u0026 Brandenburg, as well as some long-distance trains running in the area**. Essentially, it returns whatever data the [BVG app](https://www.bvg.de/en/tickets-tariffs/all-apps/fahrinfo-app) shows, **including realtime delays and disruptions**.\n\n- [Getting Started](getting-started.md)\n- [API documentation](api.md)\n- [OpenAPI playground](https://petstore.swagger.io/?url=https%3A%2F%2Fv6.bvg.transport.rest%2F.well-known%2Fservice-desc%0A)\n\n## Why use this API?\n\n### Realtime Data\n\nThis API returns realtime data whenever its upstream, the [API for BVG's mobile app](https://github.com/public-transport/hafas-client/blob/33d7d30acf235c54887c6459a15fe581982c6a19/p/bvg/readme.md), provides it.\n\n### No API Key\n\nYou can just use the API without authentication. There's a [rate limit](https://apisyouwonthate.com/blog/what-is-api-rate-limiting-all-about) of 100 requests/minute set up.\n\n### CORS\n\nThis API has [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) enabled, so you can query it from any webpage.\n\n### Caching-friendly\n\nThis API sends [`ETag`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) \u0026 [`Cache-Control`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers, allowing clients cache responses properly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fbvg-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fbvg-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fbvg-rest/lists"}