Skip to main content
POST
mobilitydatabase_read_realtime_feed

Authorizations

X-API-Key
string
header
required

Your fetchbean API key (fb_…). Keys are not accepted through Authorization.

Headers

Idempotency-Key
string

A caller-generated key for safely retrying this execution after a network failure. Reusing the same key with the same operation and input returns the original result; reusing it for a different call is rejected.

Body

application/json
feed_id
string
required

A GTFS Realtime feed id from realtime_feeds or linked_realtime_feeds, e.g. mdb-1386

route_id
string

Keep vehicles, trip updates and alerts on this GTFS route_id

trip_id
string

Keep entities for this GTFS trip_id

stop_id
string

Keep vehicles at, trip updates through, and alerts for this GTFS stop_id

vehicle_id
string

Keep entities for this vehicle id

agency_api_key
string

The agency's own key, only for feeds whose catalog entry says one is required

limit
integer

Entities returned, default 50

Required range: 1 <= x <= 1000
offset
integer
Required range: x >= 0

Response

Success

The response is of type object.