ClickBus+API.SH

ClickBus API

Search Brazilian intercity bus trips and pull fares, seats, routes, stations and company ratings as clean JSON.

The API.SH ClickBus API turns public ClickBus data into structured JSON. Search every bus trip between two places on a date and get the fare and original fare, departure and arrival times and terminals, duration, bus company, seat class, seats left, low-fare flags and bus features, with an optional return date. Look up places by name, a trip's itinerary, the nearest low-fare date, route pages with company ratings, destination promo fares, bus stations and bus company pages.

  • 9 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
ClickBus bus trips
GET https://api.api.sh/clickbus/v1/trips
{"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}
1 credit · $1 per 1,000 calls

What you can build with the ClickBus API

Bus fare monitoring

Search the same route every day and track the lowest fare, low-fare seats and seats left per company and seat class.

Travel planning and booking assistants

Let an app or AI agent find a place slug, list the trips for a date and show the itinerary with stops before the traveler buys on ClickBus.

Route and competitor analysis for bus companies

Compare which companies run a route, their passenger ratings (punctuality, comfort, cleanliness, safety) and their fare range.

Destination and deals content

Publish the cheapest promo fares into a city, with origin, date and discount, next to its terminals and companies.

Bus station directories

Build a directory of Brazilian bus terminals with address, phone, coordinates, services and the companies operating there.

ClickBus data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

ClickBus bus company/clickbus/v1/company
slugcometaurlhttps://www.clickbus.com.br/viac…nameCometatitleViação Cometa: passagens de ônib…descriptionCompre passagem de ônibus Viação…
sections[]heading · text
faq[]question · answer
ClickBus destination page/clickbus/v1/destination
slugflorianopolis-scurlhttps://www.clickbus.com.br/onib…nameSua Viagem para Florianópolis, S…aboutConhecida como a 'Ilha da Magia'…imagehttps://static.clickbus.com/live…offer_count0titlePassagem de Ônibus para Floriano…
place[]id · name · slug
terminals[]name · address · phone · slug · has_station_page
companies[]name · slug
faq[]question · answer
ClickBus trip itinerary/clickbus/v1/itinerary
total_duration06:30:00
steps[]trip_id · leg · duration · waiting_time · departure · arrival · service_class · company · bus_features · stops

ClickBus API endpoints and prices

Every ClickBus endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery1
ClickBus place autocomplete
/clickbus/v1/places
params none required +5 optionaldocstry
$1 · $2 PAYG
1 credit
Profiles and accounts3
ClickBus bus company
/clickbus/v1/company
params slugdocstry
$1 · $2 PAYG
1 credit
ClickBus destination page
/clickbus/v1/destination
params citydocstry
$1 · $2 PAYG
1 credit
ClickBus route page
/clickbus/v1/route
params origin, destinationdocstry
$1 · $2 PAYG
1 credit
More data5
ClickBus trip itinerary
/clickbus/v1/itinerary
params none required +4 optionaldocstry
$1 · $2 PAYG
1 credit
ClickBus nearest low-fare date
/clickbus/v1/low-fare-date
params origin_id, destination_id +4 optionaldocstry
$1 · $2 PAYG
1 credit
ClickBus bus station
/clickbus/v1/station
params slugdocstry
$1 · $2 PAYG
1 credit
ClickBus station list
/clickbus/v1/stations
params none required +4 optionaldocstry
$1 · $2 PAYG
1 credit
ClickBus bus trips
/clickbus/v1/trips
params origin, destination +13 optionaldocstry
$1 · $2 PAYG
1 credit

Call the ClickBus API

ClickBus bus trips: GET https://api.api.sh/clickbus/v1/trips

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"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 916 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for ClickBus data

  • Public data only: no ClickBus login, cookies or account needed
  • One key and one response shape for ClickBus and 915 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • No rate limits: run as many calls in parallel as you need
  • Live status for every endpoint

API.SH vs the official ClickBus API

ClickBus runs a developer portal for partner agencies and bus companies that sell its inventory; access needs a commercial agreement and credentials. API.SH needs no agreement or login and returns the public trip search, fares and route data in one JSON format.

Skip building and maintaining your own ClickBus scraper: API.SH gives you one key, the same JSON shape as every other platform, and a fixed price per call.

ClickBus API questions

What ClickBus data can I get?+

Place autocomplete (/clickbus/v1/places), bus trips with fares, times, seats and companies for a date (/clickbus/v1/trips), a trip's itinerary (/clickbus/v1/itinerary), the nearest low-fare date (/clickbus/v1/low-fare-date), route pages with company ratings (/clickbus/v1/route), destination promo fares (/clickbus/v1/destination), bus stations (/clickbus/v1/station and /clickbus/v1/stations) and bus company pages (/clickbus/v1/company).

How much does the ClickBus API cost?+

Every ClickBus endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /clickbus/v1/company at 1 credit each.

Is there an official ClickBus API?+

ClickBus has a developer portal for partners such as travel agencies and bus companies, with credentials issued under a commercial agreement. It is not open for general data access. API.SH returns the public search and route data without an agreement.

Do I need a ClickBus account or CPF?+

No. API.SH reads public ClickBus data only. No endpoint uses a login, a CPF or anyone's account, and no endpoint buys tickets.

How do I find the origin and destination?+

Call /clickbus/v1/places with a city or terminal name and use the slug it returns, e.g. sao-paulo-tiete-sp for the Tietê terminal or sao-paulo-sp-todos for every terminal in São Paulo. Pass a date or days_ahead to /clickbus/v1/trips.

Can I filter by bus company, seat class or departure time?+

Yes. /clickbus/v1/trips takes company, service_class (leito, semi-leito, executivo, convencional…), min_departure_time, max_departure_time, direct_only, low_fare_only, max_price and gratuity, and sorts by departure, price, duration or arrival.

How do I get started?+

Sign up at api.sh, copy your API key and call /clickbus/v1/trips with an origin, destination and date. The docs at https://api.sh/docs show every parameter; you can also use the SDKs, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Does the ClickBus API have a rate limit?+

No. API.SH puts no rate limit on your key: send as many ClickBus calls in parallel as you need and pay only for the calls that run. If ClickBus itself slows down, the call returns 503 with a retry-after header and is not charged.

More travel & events APIs all travel & events APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 916 platforms.
Get a free API key