ClickBus route page

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

The ClickBus page of a route: lowest and highest fare and number of offers, the terminals at both ends (address, phone), every company on the route with its passenger rating (average, number of reviews and scores for driver courtesy, safety, cleanliness, punctuality, bus condition, seat comfort and baggage care) and the seat classes sold.

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, e.g. sao-paulo-tiete-sp. Example: sao-paulo-tiete-sp
destinationrequired string Destination place slug, e.g. rio-de-janeiro-rj. Example: rio-de-janeiro-rj

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

Example

curl "https://api.api.sh/clickbus/v1/route?origin=sao-paulo-tiete-sp&destination=rio-de-janeiro-rj" \
  -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)

{"origin": "sao-paulo-tiete-sp","destination": "rio-de-janeiro-rj","url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj","title": "Passagens de São Paulo, SP para Rio de Janeiro, RJ: Compare preços | ClickBus","lowest_price": 100.26,"highest_price": 399.9,"offer_count": 193,"currency": "BRL","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,"has_station_page": true},{"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","has_station_page": true}],"companies": [{"id": 11,"name": "Expresso Do Sul","slug": "expresso-do-sul","logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg","rating": {"average": 4.01,"reviews": 706,"aspects": [{"…": "3 fields"},{"…": "3 fields"},"… 5 more"]}},{"id": 37,"name": "Águia Branca","slug": "aguia-branca","logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg","rating": {"average": 4.09,"reviews": 2695,"aspects": [{"…": "3 fields"},{"…": "3 fields"},"… 5 more"]}},"… 8 more"],"service_classes": [{"id": 3,"name": "Semi-leito"},{"id": 4,"name": "Leito"},"… 3 more"],"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.