1.0.0
OAS 3.1
Unofficial Namma BMTC OpenAPI specification for static data and live tracking APIs
These APIs can be used to fetch static data about BMTC services, and live track buses operated by BMTC.
Use these APIs at your own risk. Static data and live tracking data may not reflect actual operations.
Typical flow for fetching static data:
/GetAllRouteList
to get all the routes with their:routeid
, routeno
, routename
(Note: Each direction of a route has a separate routeid
)fromstation
, fromstationid
tostation
, tostationid
/SearchRoute_v2
to get the routeparentid
for the route, using the routeno
/GetTimetableByRouteid_v3
to get the timetable, using the routeid
/SearchByRouteDetails_v4
to get the list of stops, using the routeparentid
/GetFareRoutes
to get the source and destination station codes, using the fromStationId
and toStationId
/GetMobileFareData_v2
to get the fare, using the station codes, routeid
and routeno
Typical flow for live tracking:
/SearchByRouteDetails_v4
to live track a route, using the routeparentid
/VehicleTripDetails_v2
to live track a vehicle, using the vehicleId
/TripPlannerMSMD
to plan a trip based on vehicles currently plying, given a fromStationId
and toStationId
More details about all the APIs, including the above mentioned APIs, can be found below.