Unofficial Namma BMTC API
 1.0.0 
OAS 3.1

Unofficial Namma BMTC OpenAPI specification for static data and live tracking APIs

Welcome to the Unofficial Namma BMTC OpenAPI specification!

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.

Static Data

Typical flow for fetching static data:

  1. /GetAllRouteList to get all the routes with their:
  • Route: routeid, routeno, routename (Note: Each direction of a route has a separate routeid)
  • Origin: fromstation, fromstationid
  • Destination: tostation, tostationid
  1. /SearchRoute_v2 to get the routeparentid for the route, using the routeno
  2. /GetTimetableByRouteid_v3 to get the timetable, using the routeid
  3. /SearchByRouteDetails_v4 to get the list of stops, using the routeparentid
  4. /GetFareRoutes to get the source and destination station codes, using the fromStationId and toStationId
  5. /GetMobileFareData_v2 to get the fare, using the station codes, routeid and routeno

Live Tracking

Typical flow for live tracking:

  1. /SearchByRouteDetails_v4 to live track a route, using the routeparentid
  2. /VehicleTripDetails_v2 to live track a vehicle, using the vehicleId
  3. /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.

Servers

stop

route

timetable

fare

other

vehicle