POST /api/redbus/trips/seats
Price: 5 credits
Get the seat map of one redBus trip: every seat with deck, position, type, availability and fare, fares by seat type, boarding and dropping points with times, addresses and coordinates, amenities, route cities, distance, on-time highlights, cancellation and date-change rules
Take id, operator_id, journey_date, boarding_stop_id and dropping_stop_id from a redbus/trips/search result together with its two city ids.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id integer required — Trip id (examples: 52018264; min: 1)operator_id integer required — Bus operator id (examples: 35668; min: 1)from_city_id integer required — Departure city id (examples: 122; min: 1)to_city_id integer required — Arrival city id (examples: 123; min: 1)date integer required — Journey date, unix seconds (examples: 1792434600; min: 0)boarding_stop_id integer nullable — Boarding stop id (examples: 28421842; min: 1)dropping_stop_id integer nullable — Dropping stop id (examples: 28421853; min: 1)@type string (default: "RedbusSeatMap")id integer requiredoperator_id integer nullableoperator_name string nullableowner_name string nullablebus_make string nullableon_time_guarantee object nullable@type string (default: "RedbusOnTimeGuarantee")cashback_percent number nullablemax_delay_minutes integer nullableflexi_policy object nullable@type string (default: "RedbusFlexiPolicy")terms array (default: [])feature_descriptions array (default: [])service_id string nullablebus_type string nullablefrom_city string nullablefrom_city_id integer nullableto_city string nullableto_city_id integer nullablejourney_date integer nullabledeparture_at integer nullablearrival_at integer nullablefirst_boarding_at integer nullableduration_minutes integer nullabledistance_km number nullableis_ac boolean (default: false)is_seater boolean (default: false)is_sleeper boolean (default: false)is_rtc boolean (default: false)rating number nullablereview_count integer nullablecurrency string nullableavailable_seats integer nullableavailable_window_seats integer nullableavailable_single_seats integer nullablemax_seats_per_booking integer nullablelower_deck_rows integer nullablelower_deck_columns integer nullableupper_deck_rows integer nullableupper_deck_columns integer nullableamenities array (default: [])seats array (default: [])@type string (default: "RedbusSeat")number string requiredseat_type string nullabledeck string nullablerow integer nullablecolumn integer nullablewidth integer nullableheight integer nullableis_available boolean (default: false)is_ladies_only boolean (default: false)reservation string nullableprice number nullablediscounted_price number nullablediscount_amount number nullableoperator_gst number nullablepayable_price number nullablechild_price number nullablefares array (default: [])@type string (default: "RedbusFare")seat_type string nullableprice number nullablediscounted_price number nullablecurrency string nullableboarding_points array (default: [])@type string (default: "RedbusStop")id integer requiredarea_id integer nullablename string nullablelocation string nullableaddress string nullablelandmark string nullablephone string nullabletime integer nullablelatitude number nullablelongitude number nullabledropping_points array (default: [])@type string (default: "RedbusStop")id integer requiredarea_id integer nullablename string nullablelocation string nullableaddress string nullablelandmark string nullablephone string nullabletime integer nullablelatitude number nullablelongitude number nullablevia_cities array (default: [])highlights array (default: [])@type string (default: "RedbusHighlight")description string nullableservices array (default: [])@type string (default: "RedbusHighlight")description string nullablecancellation_policy array (default: [])@type string (default: "RedbusCancellationRule")from_hours integer nullableto_hours integer nullablecharge_percent number nullablepartial_cancellation_allowed boolean nullablefree_cancellation boolean nullabledate_change_policy array (default: [])@type string (default: "RedbusDateChangeRule")until integer nullablecharges string nullablemessage string nullablecarbon_savings_kg number nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No bookable trip matches that id, operator and date, or the trip is sold out Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.