OpenAny
Get API keyAPI Key
APIDataTravel

clickbus logo
ClickBus Bus Trip Search API

Search ClickBus trips by places and date via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as days_ahead, destination, max_departure_time, and retrieve structured data including source trip fare amount, trip fare currency, and source available-seat count for trip comparison, and itinerary navigation, ready for production pipelines and AI agent automation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

ClickBus Bus Trip Search API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
ClickBus Bus Trip Search API

ClickBus Bus Trip Search API

Pass origin and destination slugs with date or days_ahead. Trip records keep source price and BRL currency, available seats, departure/arrival place IDs and trip_ids for subsequent itinerary retrieval.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: origin, destination. Optional: date, days_ahead, return_date, company, min_departure_time, max_departure_time, service_class, direct_only, low_fare_only, max_price, gratuity, sort, order. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · ClickBus bus trips API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Trip comparison: Keep date, source currency and seat class together.
  • Itinerary navigation: Use returned trip IDs and place IDs for related lookups.

Returned Data

Field Meaning
trips[].price Source trip fare amount
trips[].currency Trip fare currency
trips[].available_seats Source available-seat count
trips[].departure.place_id Departure place ID for route-date lookups
trips[].arrival.place_id Arrival place ID for route-date lookups
trips[].trip_ids Source IDs for itinerary legs

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/clickbus/v1/trips \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode days_ahead=30 \
  --data-urlencode destination=rio-de-janeiro-rj \
  --data-urlencode max_departure_time=00:10 \
  --data-urlencode min_departure_time=00:00 \
  --data-urlencode origin=sao-paulo-tiete-sp \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published ClickBus Bus Trip Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Origin place slug from `/clickbus/v1/places`, e.g. `sao-paulo-tiete-sp` or a whole city `sao-paulo-sp-todos`.
Destination place slug, e.g. `rio-de-janeiro-rj`.
Optional parameters (18)
Departure date, YYYY-MM-DD. Give `date` or `days_ahead`.
Departure this many days from today (0-330), instead of `date`.
Return date, YYYY-MM-DD (optional).
Bus company slug, e.g. `1001`, `cometa`, `aguia-branca`.
Earliest departure, HH:MM.
Latest departure, HH:MM.
Seat classes, comma-separated names or ids, e.g. `leito,semi-leito` or `4`.
`true`: only trips without a connection.
`true`: only low-fare trips.
Highest price in BRL.
`true`: trips with gratuity seats (seniors, ID Jovem, Passe Livre).
Sort order (default departure).
asc (default) or desc.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
ClickBus bus trips API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/clickbus/v1/trips
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
originURL query parametersquerystringYes

Origin place slug from `/clickbus/v1/places`, e.g. `sao-paulo-tiete-sp` or a whole city `sao-paulo-sp-todos`.

destinationURL query parametersquerystringYes

Destination place slug, e.g. `rio-de-janeiro-rj`.

dateURL query parametersquerystringNo

Departure date, YYYY-MM-DD. Give `date` or `days_ahead`.

days_aheadURL query parametersqueryintegerNo

Departure this many days from today (0-330), instead of `date`.

return_dateURL query parametersquerystringNo

Return date, YYYY-MM-DD (optional).

companyURL query parametersquerystringNo

Bus company slug, e.g. `1001`, `cometa`, `aguia-branca`.

min_departure_timeURL query parametersquerystringNo

Earliest departure, HH:MM.

max_departure_timeURL query parametersquerystringNo

Latest departure, HH:MM.

service_classURL query parametersquerystringNo

Seat classes, comma-separated names or ids, e.g. `leito,semi-leito` or `4`.

direct_onlyURL query parametersquerybooleanNo

`true`: only trips without a connection.

low_fare_onlyURL query parametersquerybooleanNo

`true`: only low-fare trips.

max_priceURL query parametersquerynumberNo

Highest price in BRL.

gratuityURL query parametersquerybooleanNo

`true`: trips with gratuity seats (seniors, ID Jovem, Passe Livre).

sortURL query parametersquerystringNo

Sort order (default departure).

enum: "departure", "price", "duration", "arrival"

orderURL query parametersquerystringNo

asc (default) or desc.

enum: "asc", "desc"

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • alternative_datenull
  • applied_filtersobject
    • companynull
    • datestring
    • destinationstring
    • direct_onlyboolean
    • gratuityboolean
    • low_fare_onlyboolean
    • max_departure_timestring
    • max_pricenull
    • min_departure_timestring
    • orderstring
    • originstring
    • return_datenull
    • service_classnull
    • sortstring
  • available_days_of_weekunknown[]
  • cachedboolean
  • companiesobject[]
    • idinteger
    • logostring
    • namestring
    • slugstring
  • countinteger
  • credits_usedinteger
  • datestring
  • destinationobject
    • citystring
    • namestring
    • slugstring
    • statestring
  • fetched_atstring
  • filtersobject
    • serviceClassesobject[]
      • idinteger
      • namestring
    • terminalsConnectionunknown[]
    • terminalsDestinationobject[]
      • idstring
      • namestring
    • terminalsOriginobject[]
      • idstring
      • namestring
    • travelCompaniesobject[]
      • idstring
      • namestring
  • originobject
    • citystring
    • namestring
    • slugstring
    • statestring
  • redirected_fromnull
  • returnnull
  • terminalsobject[]
    • addressstring
    • namestring
    • phonenull | string
    • slugstring
  • tripsobject[]
    • arrivalobject
      • citystring
      • datestring
      • datetimestring
      • placestring
      • place_idinteger
      • slugstring
      • statestring
      • timestring
    • available_seatsinteger
    • companyobject
      • logostring
      • namestring
      • slugstring
    • connectionsinteger
    • currencystring
    • departureobject
      • citystring
      • datestring
      • datetimestring
      • placestring
      • place_idinteger
      • slugstring
      • statestring
      • timestring
    • discount_availableboolean
    • durationstring
    • duration_daysinteger
    • gratuity_tripboolean
    • installment_freeboolean
    • low_fareboolean
    • max_installmentsinteger
    • original_pricenumber
    • partsobject[]
      • air_conditioningboolean
      • arrivalobject
        • citystring
        • datestring
        • datetimestring
        • placestring
        • place_idinteger
        • slugstring
        • statestring
        • timestring
      • available_seatsinteger
      • bathroomboolean
      • companyobject
        • logostring
        • namestring
        • slugstring
      • departureobject
        • citystring
        • datestring
        • datetimestring
        • placestring
        • place_idinteger
        • slugstring
        • statestring
        • timestring
      • durationstring
      • electronic_boarding_passboolean
      • has_itineraryboolean
      • leg_supportboolean
      • low_fareboolean
      • low_fare_seatsnull | integer
      • original_pricenumber
      • pricenumber
      • seat_recline_degreesinteger
      • service_classstring
      • service_class_idinteger
      • total_seatsinteger
      • trip_idstring
      • waiting_timenull
      • woman_spaceboolean
    • pricenumber
    • reservableboolean
    • service_classstring
    • trip_idsstring[]
    • typestring
    • urlstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Nonempty request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 20

    Review these request fields before running. Keep the published provider and request method unchanged.

    origin
    Origin place slug from `/clickbus/v1/places`, e.g. `sao-paulo-tiete-sp` or a whole city `sao-paulo-sp-todos`.
    destination
    Destination place slug, e.g. `rio-de-janeiro-rj`.
    date
    Departure date, YYYY-MM-DD. Give `date` or `days_ahead`.
    days_ahead
    Departure this many days from today (0-330), instead of `date`.
    return_date
    Return date, YYYY-MM-DD (optional).
    company
    Bus company slug, e.g. `1001`, `cometa`, `aguia-branca`.
    min_departure_time
    Earliest departure, HH:MM.
    max_departure_time
    Latest departure, HH:MM.
    service_class
    Seat classes, comma-separated names or ids, e.g. `leito,semi-leito` or `4`.
    direct_only
    `true`: only trips without a connection.
    low_fare_only
    `true`: only low-fare trips.
    max_price
    Highest price in BRL.
    gratuity
    `true`: trips with gratuity seats (seniors, ID Jovem, Passe Livre).
    sort
    Sort order (default departure).
    order
    asc (default) or desc.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/clickbus/v1/trips?days_ahead=30&destination=rio-de-janeiro-rj&max_departure_time=00%3A10&min_departure_time=00%3A00&origin=sao-paulo-tiete-sp&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "alternative_date": null,
      "applied_filters": {
        "company": null,
        "date": "2026-12-19",
        "destination": "rio-de-janeiro-rj",
        "direct_only": false,
        "gratuity": false,
        "low_fare_only": false,
        "max_departure_time": "00:10",
        "max_price": null,
        "min_departure_time": "00:00",
        "order": "asc",
        "origin": "sao-paulo-tiete-sp",
        "return_date": null,
        "service_class": null,
        "sort": "departure"
      },
      "available_days_of_week": [],
      "cached": false,
      "companies": [
        {
          "id": 11,
          "logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg",
          "name": "Expresso Do Sul",
          "slug": "expresso-do-sul"
        },
        {
          "id": 37,
          "logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg",
          "name": "Águia Branca",
          "slug": "aguia-branca"
        }
      ],
      "count": 4,
      "credits_used": 1,
      "date": "2026-12-19",
      "destination": {
        "city": "Rio de Janeiro",
        "name": "Rio de Janeiro, RJ - Rodoviaria do Rio",
        "slug": "rio-de-janeiro-rj",
        "state": "RJ"
      },
      "fetched_at": "2026-11-19T12:52:08.338Z",
      "filters": {
        "serviceClasses": [
          {
            "id": 3,
            "name": "Semi-leito"
          },
          {
            "id": 5,
            "name": "Cama"
          },
          {
            "id": 4,
            "name": "Leito Individual"
          }
        ],
        "terminalsConnection": [],
        "terminalsDestination": [
          {
            "id": "rio-de-janeiro-rj",
            "name": "Rio de Janeiro, RJ - Rodoviaria do Rio"
          }
        ],
        "terminalsOrigin": [
          {
            "id": "sao-paulo-tiete-sp",
            "name": "Sao Paulo, SP - Tiete"
          }
        ],
        "travelCompanies": [
          {
            "id": "expresso-do-sul",
            "name": "Expresso Do Sul"
          },
          {
            "id": "aguia-branca",
            "name": "Águia Branca"
          }
        ]
      },
      "origin": {
        "city": "São Paulo",
        "name": "Sao Paulo, SP - Tiete",
        "slug": "sao-paulo-tiete-sp",
        "state": "SP"
      },
      "redirected_from": null,
      "return": null,
      "terminals": [
        {
          "address": "Av Cruzeiro do Sul - 1800 - Santana - Tiete - SP - 02031-000",
          "name": "São Paulo - Rodoviária do Tietê",
          "phone": null,
          "slug": "sao-paulo-tiete-sp"
        },
        {
          "address": "Av Francisco Bicalho - 1 - Santo Cristo - Rio de Janeiro - RJ",
          "name": "Rio De Janeiro - Rodoviária Novo Rio",
          "phone": "21 3213-1800",
          "slug": "rio-de-janeiro-rj"
        }
      ],
      "trips": [
        {
          "arrival": {
            "city": "Rio de Janeiro",
            "date": "2026-12-19",
            "datetime": "2026-12-19T06:35:00",
            "place": "Rio De Janeiro - Rodoviária Novo Rio",
            "place_id": 3827,
            "slug": "rio-de-janeiro-rj",
            "state": "RJ",
            "time": "06:35"
          },
          "available_seats": 25,
          "company": {
            "logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg",
            "name": "Águia Branca",
            "slug": "aguia-branca"
          },
          "connections": 0,
          "currency": "BRL",
          "departure": {
            "city": "São Paulo",
            "date": "2026-12-19",
            "datetime": "2026-12-19T00:05:00",
            "place": "São Paulo - Rodoviária do Tietê",
            "place_id": 4017,
            "slug": "sao-paulo-tiete-sp",
            "state": "SP",
            "time": "00:05"
          },
          "discount_available": true,
          "duration": "6h 30m",
          "duration_days": 0,
          "gratuity_trip": false,
          "installment_free": false,
          "low_fare": false,
          "max_installments": 4,
          "original_price": 199.91,
          "parts": [
            {
              "air_conditioning": true,
              "arrival": {
                "city": "Rio de Janeiro",
                "date": "2026-12-19",
                "datetime": "2026-12-19T06:35:00",
                "place": "Rio De Janeiro - Rodoviária Novo Rio",
                "place_id": 3827,
                "slug": "rio-de-janeiro-rj",
                "state": "RJ",
                "time": "06:35"
              },
              "available_seats": 25,
              "bathroom": true,
              "company": {
                "logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg",
                "name": "Águia Branca",
                "slug": "aguia-branca"
              },
              "departure": {
                "city": "São Paulo",
                "date": "2026-12-19",
                "datetime": "2026-12-19T00:05:00",
                "place": "São Paulo - Rodoviária do Tietê",
                "place_id": 4017,
                "slug": "sao-paulo-tiete-sp",
                "state": "SP",
                "time": "00:05"
              },
              "duration": "6h 30m",
              "electronic_boarding_pass": true,
              "has_itinerary": true,
              "leg_support": true,
              "low_fare": false,
              "low_fare_seats": null,
              "original_price": 199.91,
              "price": 199.91,
              "seat_recline_degrees": 140,
              "service_class": "Leito",
              "service_class_id": 4,
              "total_seats": 32,
              "trip_id": "aee320ac-7714-3eb1-b92a-94892eeb2828",
              "waiting_time": null,
              "woman_space": false
            }
          ],
          "price": 199.91,
          "reservable": true,
          "service_class": "Leito",
          "trip_ids": [
            "aee320ac-7714-3eb1-b92a-94892eeb2828"
          ],
          "type": "direct",
          "url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-19"
        },
        {
          "arrival": {
            "city": "Rio de Janeiro",
            "date": "2026-12-19",
            "datetime": "2026-12-19T06:35:00",
            "place": "Rio De Janeiro - Rodoviária Novo Rio",
            "place_id": 3827,
            "slug": "rio-de-janeiro-rj",
            "state": "RJ",
            "time": "06:35"
          },
          "available_seats": 8,
          "company": {
            "logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg",
            "name": "Expresso Do Sul",
            "slug": "expresso-do-sul"
          },
          "connections": 0,
          "currency": "BRL",
          "departure": {
            "city": "São Paulo",
            "date": "2026-12-19",
            "datetime": "2026-12-19T00:05:00",
            "place": "São Paulo - Rodoviária do Tietê",
            "place_id": 4017,
            "slug": "sao-paulo-tiete-sp",
            "state": "SP",
            "time": "00:05"
          },
          "discount_available": false,
          "duration": "6h 30m",
          "duration_days": 0,
          "gratuity_trip": false,
          "installment_free": false,
          "low_fare": true,
          "max_installments": 4,
          "original_price": 599.99,
          "parts": [
            {
              "air_conditioning": true,
              "arrival": {
                "city": "Rio de Janeiro",
                "date": "2026-12-19",
                "datetime": "2026-12-19T06:35:00",
                "place": "Rio De Janeiro - Rodoviária Novo Rio",
                "place_id": 3827,
                "slug": "rio-de-janeiro-rj",
                "state": "RJ",
                "time": "06:35"
              },
              "available_seats": 8,
              "bathroom": true,
              "company": {
                "logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg",
                "name": "Expresso Do Sul",
                "slug": "expresso-do-sul"
              },
              "departure": {
                "city": "São Paulo",
                "date": "2026-12-19",
                "datetime": "2026-12-19T00:05:00",
                "place": "São Paulo - Rodoviária do Tietê",
                "place_id": 4017,
                "slug": "sao-paulo-tiete-sp",
                "state": "SP",
                "time": "00:05"
              },
              "duration": "6h 30m",
              "electronic_boarding_pass": true,
              "has_itinerary": false,
              "leg_support": true,
              "low_fare": true,
              "low_fare_seats": 2,
              "original_price": 599.99,
              "price": 497.99,
              "seat_recline_degrees": 170,
              "service_class": "Cama",
              "service_class_id": 5,
              "total_seats": 8,
              "trip_id": "f3b34d70-b97b-368c-9106-e29f0ceaa3df",
              "waiting_time": null,
              "woman_space": false
            }
          ],
          "price": 497.99,
          "reservable": true,
          "service_class": "Cama",
          "trip_ids": [
            "f3b34d70-b97b-368c-9106-e29f0ceaa3df"
          ],
          "type": "direct",
          "url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-19"
        },
        {
          "arrival": {
            "city": "Rio de Janeiro",
            "date": "2026-12-19",
            "datetime": "2026-12-19T06:35:00",
            "place": "Rio De Janeiro - Rodoviária Novo Rio",
            "place_id": 3827,
            "slug": "rio-de-janeiro-rj",
            "state": "RJ",
            "time": "06:35"
          },
          "available_seats": 21,
          "company": {
            "logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg",
            "name": "Expresso Do Sul",
            "slug": "expresso-do-sul"
          },
          "connections": 0,
          "currency": "BRL",
          "departure": {
            "city": "São Paulo",
            "date": "2026-12-19",
            "datetime": "2026-12-19T00:05:00",
            "place": "São Paulo - Rodoviária do Tietê",
            "place_id": 4017,
            "slug": "sao-paulo-tiete-sp",
            "state": "SP",
            "time": "00:05"
          },
          "discount_available": true,
          "duration": "6h 30m",
          "duration_days": 0,
          "gratuity_trip": false,
          "installment_free": false,
          "low_fare": false,
          "max_installments": 4,
          "original_price": 154.99,
          "parts": [
            {
              "air_conditioning": true,
              "arrival": {
                "city": "Rio de Janeiro",
                "date": "2026-12-19",
                "datetime": "2026-12-19T06:35:00",
                "place": "Rio De Janeiro - Rodoviária Novo Rio",
                "place_id": 3827,
                "slug": "rio-de-janeiro-rj",
                "state": "RJ",
                "time": "06:35"
              },
              "available_seats": 21,
              "bathroom": true,
              "company": {
                "logo": "https://cms.clickbus.com/api/media-logos/logo/expresso-do-sul.svg",
                "name": "Expresso Do Sul",
                "slug": "expresso-do-sul"
              },
              "departure": {
                "city": "São Paulo",
                "date": "2026-12-19",
                "datetime": "2026-12-19T00:05:00",
                "place": "São Paulo - Rodoviária do Tietê",
                "place_id": 4017,
                "slug": "sao-paulo-tiete-sp",
                "state": "SP",
                "time": "00:05"
              },
              "duration": "6h 30m",
              "electronic_boarding_pass": true,
              "has_itinerary": false,
              "leg_support": true,
              "low_fare": false,
              "low_fare_seats": null,
              "original_price": 154.99,
              "price": 154.99,
              "seat_recline_degrees": 135,
              "service_class": "Semi-leito",
              "service_class_id": 3,
              "total_seats": 46,
              "trip_id": "9b24fb59-8571-3787-b8ba-649b019200dc",
              "waiting_time": null,
              "woman_space": false
            }
          ],
          "price": 154.99,
          "reservable": true,
          "service_class": "Semi-leito",
          "trip_ids": [
            "9b24fb59-8571-3787-b8ba-649b019200dc"
          ],
          "type": "direct",
          "url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-19"
        },
        {
          "arrival": {
            "city": "Rio de Janeiro",
            "date": "2026-12-19",
            "datetime": "2026-12-19T06:35:00",
            "place": "Rio De Janeiro - Rodoviária Novo Rio",
            "place_id": 3827,
            "slug": "rio-de-janeiro-rj",
            "state": "RJ",
            "time": "06:35"
          },
          "available_seats": 11,
          "company": {
            "logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg",
            "name": "Águia Branca",
            "slug": "aguia-branca"
          },
          "connections": 0,
          "currency": "BRL",
          "departure": {
            "city": "São Paulo",
            "date": "2026-12-19",
            "datetime": "2026-12-19T00:05:00",
            "place": "São Paulo - Rodoviária do Tietê",
            "place_id": 4017,
            "slug": "sao-paulo-tiete-sp",
            "state": "SP",
            "time": "00:05"
          },
          "discount_available": true,
          "duration": "6h 30m",
          "duration_days": 0,
          "gratuity_trip": false,
          "installment_free": false,
          "low_fare": false,
          "max_installments": 4,
          "original_price": 209.91,
          "parts": [
            {
              "air_conditioning": true,
              "arrival": {
                "city": "Rio de Janeiro",
                "date": "2026-12-19",
                "datetime": "2026-12-19T06:35:00",
                "place": "Rio De Janeiro - Rodoviária Novo Rio",
                "place_id": 3827,
                "slug": "rio-de-janeiro-rj",
                "state": "RJ",
                "time": "06:35"
              },
              "available_seats": 11,
              "bathroom": true,
              "company": {
                "logo": "https://cms.clickbus.com/api/media-logos/logo/aguia-branca.svg",
                "name": "Águia Branca",
                "slug": "aguia-branca"
              },
              "departure": {
                "city": "São Paulo",
                "date": "2026-12-19",
                "datetime": "2026-12-19T00:05:00",
                "place": "São Paulo - Rodoviária do Tietê",
                "place_id": 4017,
                "slug": "sao-paulo-tiete-sp",
                "state": "SP",
                "time": "00:05"
              },
              "duration": "6h 30m",
              "electronic_boarding_pass": true,
              "has_itinerary": true,
              "leg_support": true,
              "low_fare": false,
              "low_fare_seats": null,
              "original_price": 209.91,
              "price": 209.91,
              "seat_recline_degrees": 140,
              "service_class": "Leito Individual",
              "service_class_id": 4,
              "total_seats": 14,
              "trip_id": "16ad0fe7-1788-3eb0-beb0-c63b47c82217",
              "waiting_time": null,
              "woman_space": false
            }
          ],
          "price": 209.91,
          "reservable": true,
          "service_class": "Leito Individual",
          "trip_ids": [
            "16ad0fe7-1788-3eb0-beb0-c63b47c82217"
          ],
          "type": "direct",
          "url": "https://www.clickbus.com.br/onibus/sao-paulo-tiete-sp/rio-de-janeiro-rj?departureDate=2026-12-19"
        }
      ]
    }

Common questions

Can I search across every terminal in a city?

Use a city-wide TODOS slug from Places, or a terminal-specific slug for a narrower selection.

How can I filter travel dates and fares?

Use date or days_ahead 0–330, optionally return_date, company, departure times, service_class and max_price in BRL.

Does gratuity mean every ticket or API call is free?

No. It filters trips with source gratuity-seat programmes, such as senior or ID Jovem eligibility; it is separate from call pricing.

How do I inspect a connection?

Pass the returned trip_ids to Itinerary, preserving leg order. Available seats and reservable are source observations, not a seat hold.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use ClickBus Bus Trip Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.