Get Schedules Endpoint With Extra Information (V2)
✅ CURRENT VERSION - This endpoint supports both Timed Schedules and Random Schedules.
Understanding Schedule Types
Timed Schedules
Random Schedules
Endpoint Overview
Key Features
API Reference
Endpoint
Query Parameters
Request & Response Example
Get bus schedules by route, departure and arrival city, terminal ID, business ID and departure date (V2 - Supports both Timed and Random schedules)
ID of the route to fetch schedules for.
Departure date for which to retrieve schedules (format: YYYY-MM-DD).
Important: When this parameter is provided for timed schedules, the response includes the available_seats array in the bus object, showing the seat layout with real-time availability for that specific date. This allows users to see which seats are already booked and select from available seats.
ID of the city where the trip originates.
6ID of the destination city.
8ID of the business offering the schedule (UUID format).
61e634bc-028c-4e33-a83f-7f77d5befc70ID of the terminal associated with the departure.
3List of bus schedules (both Timed and Random).
true200List of bus schedulesBad request due to invalid input parameters.
No schedules found matching the criteria.
Internal server error.
Response Fields
Common Fields (Both Schedule Types)
Timed Schedule Specific Fields
Random Schedule Specific Fields
Understanding the Response Structure
How to Identify Schedule Type
For Timed Schedules:
For Random Schedules:
Important Notes
Integration Examples
Handling Mixed Results
Migration from V1
Last updated