ClickBus bus trips

GET https://api.api.sh/clickbus/v1/trips
1 credit / call travel & events try it in the playground →

Every bus trip ClickBus sells between two places on a date: price and original price (BRL), installments, departure and arrival (date, time, terminal, city, state), duration, bus company, seat class, seats left, low-fare flag and low-fare seats, connections, bus features (air conditioning, bathroom, seat recline, leg rest), electronic boarding pass, and the trip ids for /clickbus/v1/itinerary; plus the terminals and companies on the route. Filter by company, departure time window, seat class, direct trips, low fares, max price or gratuity (seniors, ID Jovem, Passe Livre) tickets; sort by departure, price, duration or arrival. With return_date the return trips come in return. The site lists all trips of a day in one answer (no paging).

Every response includes credits_used: the credits this call cost.

Part of the ClickBus API: 9 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
originrequired string Origin place slug from /clickbus/v1/places, e.g. sao-paulo-tiete-sp or a whole city sao-paulo-sp-todos. Example: sao-paulo-tiete-sp
destinationrequired string Destination place slug, e.g. rio-de-janeiro-rj. Example: rio-de-janeiro-rj
date string Departure date, YYYY-MM-DD. Give date or days_ahead.
days_ahead integer Departure this many days from today (0-330), instead of date. Example: 30
return_date string Return date, YYYY-MM-DD (optional).
company string Bus company slug, e.g. 1001, cometa, aguia-branca.
min_departure_time string Earliest departure, HH:MM.
max_departure_time string Latest departure, HH:MM.
service_class string Seat classes, comma-separated names or ids, e.g. leito,semi-leito or 4.
direct_only boolean true: only trips without a connection.
low_fare_only boolean true: only low-fare trips.
max_price number Highest price in BRL.
gratuity boolean true: trips with gratuity seats (seniors, ID Jovem, Passe Livre).
sort departure | price | duration | arrival Sort order (default departure).
order asc | desc asc (default) or desc.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/clickbus/v1/trips?origin=sao-paulo-tiete-sp&destination=rio-de-janeiro-rj&days_ahead=30" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)

{"applied_filters": {"origin": "sao-paulo-tiete-sp","destination": "rio-de-janeiro-rj","date": "2026-12-04","return_date": null,"company": null,"min_departure_time": null,"max_departure_time": null,"service_class": null,"gratuity": false,"direct_only": false,"low_fare_only": false,"max_price": null,"sort": "departure","order": "asc"},"origin": {"name": "Sao Paulo, SP - Tiete","slug": "sao-paulo-tiete-sp","city": "São Paulo","state": "SP"},"destination": {"name": "Rio de Janeiro, RJ - Rodoviaria do Rio","slug": "rio-de-janeiro-rj","city": "Rio de Janeiro","state": "RJ"},"date": "2026-12-04","count": 213,"trips": [{"type": "direct","trip_ids": ["194e7239-8ff5-3d8f-8da8-d6289e51bfbe"],"price": 203.99,"original_price": 239.99,"currency": "BRL","max_installments": 4,"installment_free": false,"duration": "6h 30m","duration_days": 0,"departure": {"date": "2026-12-04","time": "00:05","datetime": "2026-12-04T00:05:00","place": "São Paulo - Rodoviária do Tietê","city": "São Paulo","state": "SP","slug": "sao-paulo-tiete-sp","place_id": 4017},"arrival": {"date": "2026-12-04","time": "06:35","datetime": "2026-12-04T06:35:00","place": "Rio De Janeiro - Rodoviária Novo Rio","city": "Rio de Janeiro","state": "RJ","slug": "rio-de-janeiro-rj","place_id": 3827},"company": {"name": "Expresso Do Sul","slug": "expresso-do-sul","logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg"},"service_class": "Cama","available_seats": 8,"low_fare": true,"connections": 0,"discount_available": false,"gratuity_trip": false,"reservable": true,"url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-04","parts": [{"trip_id": "194e7239-8ff5-3d8f-8da8-d6289e51bfbe","price": 203.99,"original_price": 239.99,"duration": "6h 30m","waiting_time": null,"departure": {"…": "8 fields"},"arrival": {"…": "8 fields"},"service_class": "Cama","service_class_id": 5,"company": {"…": "3 fields"},"available_seats": 8,"total_seats": 8,"low_fare": true,"low_fare_seats": 2,"electronic_boarding_pass": true,"air_conditioning": true,"bathroom": true,"seat_recline_degrees": 170,"leg_support": true,"woman_space": false,"has_itinerary": false}]},{"type": "direct","trip_ids": ["0e2a0ea7-ce94-33fa-b62e-a7d999fe650f"],"price": 110.99,"original_price": 129.99,"currency": "BRL","max_installments": 4,"installment_free": false,"duration": "6h 30m","duration_days": 0,"departure": {"date": "2026-12-04","time": "00:05","datetime": "2026-12-04T00:05:00","place": "São Paulo - Rodoviária do Tietê","city": "São Paulo","state": "SP","slug": "sao-paulo-tiete-sp","place_id": 4017},"arrival": {"date": "2026-12-04","time": "06:35","datetime": "2026-12-04T06:35:00","place": "Rio De Janeiro - Rodoviária Novo Rio","city": "Rio de Janeiro","state": "RJ","slug": "rio-de-janeiro-rj","place_id": 3827},"company": {"name": "Expresso Do Sul","slug": "expresso-do-sul","logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg"},"service_class": "Semi-leito","available_seats": 40,"low_fare": true,"connections": 0,"discount_available": false,"gratuity_trip": false,"reservable": true,"url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-04","parts": [{"trip_id": "0e2a0ea7-ce94-33fa-b62e-a7d999fe650f","price": 110.99,"original_price": 129.99,"duration": "6h 30m","waiting_time": null,"departure": {"…": "8 fields"},"arrival": {"…": "8 fields"},"service_class": "Semi-leito","service_class_id": 3,"company": {"…": "3 fields"},"available_seats": 40,"total_seats": 46,"low_fare": true,"low_fare_seats": 4,"electronic_boarding_pass": true,"air_conditioning": true,"bathroom": true,"seat_recline_degrees": 135,"leg_support": true,"woman_space": false,"has_itinerary": false}]},"… 211 more"],"terminals": [{"slug": "sao-paulo-tiete-sp","name": "São Paulo - Rodoviária do Tietê","address": "Av Cruzeiro do Sul - 1800 - Santana - Tiete - SP - 02031-000","phone": null},{"slug": "rio-de-janeiro-rj","name": "Rio De Janeiro - Rodoviária Novo Rio","address": "Av Francisco Bicalho - 1 - Santo Cristo - Rio de Janeiro - RJ","phone": "+1 555 010 0000"}],"companies": [{"id": 11,"name": "Expresso Do Sul","slug": "expresso-do-sul","logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg"},{"id": 37,"name": "Águia Branca","slug": "aguia-branca","logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg"},"… 8 more"],"filters": {"terminalsOrigin": [{"id": "sao-paulo-tiete-sp","name": "Sao Paulo, SP - Tiete"}],"terminalsDestination": [{"id": "rio-de-janeiro-rj","name": "Rio de Janeiro, RJ - Rodoviaria do Rio"}],"terminalsConnection": [],"travelCompanies": [{"id": "expresso-do-sul","name": "Expresso Do Sul"},{"id": "aguia-branca","name": "Águia Branca"},"… 8 more"],"serviceClasses": [{"id": 3,"name": "Semi-leito"},{"id": 5,"name": "Cama"},"… 3 more"]},"alternative_date": null,"available_days_of_week": [],"redirected_from": null,"return": null,"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.