Live

Live-ÖPNV-Abfahrten je Halt mit Verspätung (GTFS-RT, Tier B)

Liefert die Live-Abfahrten eines Halts mit aktueller Verspätung aus dem GTFS-RT-Feed (gtfs.de bzw. Mobilithek-DELFI, CC-BY-SA = Tier B) im Live-Envelope (meta mit as_of und refresh_seconds=45, dem Poller-Takt). Der Request-Pfad liest NUR aus Redis: ein Hintergrund-Poller parst den Feed einmal je Takt, sodass nicht bei jedem Request ein 68-MB-Feed geparst wird. RT-only-Semantik: ausgeliefert werden ausschliesslich Trips mit Echtzeit-Update; Fahrplan-Sollzeiten sind NICHT enthalten. Traegt ein Update eine absolute Abfahrtszeit (z.B. Berlin/VBB), wird sie auf Zukunft geprueft (90-s-Grace) und aufsteigend sortiert; Delay-only- Updates ohne absolute Zeit (Regelfall im bundesweiten Feed) kommen MIT delay_s/delay_min und departure_time/minutes_until = null nach den zeitbehafteten Eintraegen. stop_id darf Parent- ODER Steig-Ebene sein (de:AGS:nr bzw. de:AGS:nr:bereich:steig), beide werden aufgeloest. meta weist zusaetzlich raw_updates_total und filtered_out aus (ehrliche Rohzahlen, keine stille Kappung). Toggle aus -> 200 source_status="disabled"; kein Update in Redis oder alles gefiltert -> 200 source_status="no_data"; ungültige stop_id -> 400. Reine Live-Daten, nur im Redis-Cache gehalten (Tier B).

get/api/v1/live/{city}/transit/departures

Path parameters

citystring required
Example:berlin

Query parameters

stop_idstring required
Example:de:11000:900003101::6

DELFI-Halt-ID im Muster de:<AGS>:<id> (gegen eine Allowlist geprüft). Gültige IDs je Stadt liefert GET /api/v1/cities/{slug}/transit im Feld stop_id. NICHT die trip_stop_id der Bahnhofstafeln, die bezeichnet einen Halt einer Zugfahrt.

Response

Live-Abfahrten-Envelope (CanonicalRecord oder null)

Example response

{
  "data": {
    "attribution": {
      "text": "Wikidata"
    }
  }
}

Changes

Changed in 3 of the 8 revisions of this API.8118

    • removed the divi enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed IcuCapacityPayload from the data/oneOf[CanonicalRecord]/payload response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 8fee8b095f31816See the full diff
    • added the new aachen_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new bbk_nina enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new berlin_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new berlin_traffic_reports enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new bka_pks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new boris enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new bremen_roadworks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new council enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new db_bahnpark enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new db_fasta enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new db_timetables enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new destination_one enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new district_heating enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new dortmund_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new dortmund_roadworks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new dresden_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new duesseldorf_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new dwd_fire enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new dwd_warnings enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new eea_bathing enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new eround_charging enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new essen_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new frankfurt_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new gbfs enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new gtfs_rt enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hamburg_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hamburg_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hamburg_roadworks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hamburg_traffic_situation enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hannover_traffic_reports enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new heritage enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new holidays enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new hvv_geofox enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new inkar enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new kaiserslautern_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new karlsruhe_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new kba enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new kiel_counting_stations enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new klinik_atlas enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_events enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_incidents_live enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_lez_live enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_road_events enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_roadworks_live enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_traffic_flow enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new koeln_wait_times enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new leipzig_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new lhp enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new magdeburg_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new mobidata_parkapi enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_bike_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_mobility_points enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_park_and_ride enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_parking_onstreet enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenchen_roadworks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new muenster_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new oeffentlichevergabe enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new oldenburg_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new parkendd enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new pr_hessen_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new regionalstatistik enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new rmv enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new rostock_roadworks enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new smard enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new solar enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new solar_cadastre enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new stada enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new stuttgart_bike_counts enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new tankerkoenig enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new tree_cadastre enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new unfallatlas enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new vgn enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new vrr enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new vvs enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new wegweiser enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new wuppertal_parking enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • added the new zensus_grid enum value to the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-added

    • removed the dortmund_baustellen enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed the feiertage enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed the hamburg_baustellen enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed the hochwasser enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed the koeln_verkehr enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • removed the muenchen_baustellen enum value from the data/oneOf[CanonicalRecord]/source response property for the response status 200

      response-property-enum-value-removed

    • added the optional property data/oneOf[CanonicalRecord]/payload/oneOf[ElectionResultPayload]/coverage_granularity to the response with the 200 status

      response-optional-property-added

    • added the optional property data/oneOf[CanonicalRecord]/payload/oneOf[FloodWarningPayload]/as_of to the response with the 200 status

      response-optional-property-added

    • added the optional property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/district_id to the response with the 200 status

      response-optional-property-added

    • added the optional property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/district_name to the response with the 200 status

      response-optional-property-added

    • added the optional property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/report_date to the response with the 200 status

      response-optional-property-added

    • response property data/oneOf[CanonicalRecord]/payload/oneOf[ElectionResultPayload]/granularity deprecated

      response-property-deprecated

    • response property data/oneOf[CanonicalRecord]/payload/oneOf[FloodWarningPayload]/stand deprecated

      response-property-deprecated

    • response property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/datum deprecated

      response-property-deprecated

    • response property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/kreis_id deprecated

      response-property-deprecated

    • response property data/oneOf[CanonicalRecord]/payload/oneOf[IcuCapacityPayload]/kreis_name deprecated

      response-property-deprecated

Of the 8 revisions, 1 has no diff computed.