clickbus.com.br
ClickBus API
Query public ClickBus data with GeckoAPI and receive structured JSON. Choose an operation to review its inputs, credit cost and response fields.
Extracts list of bus trips from ClickBus by origin/destination (city + UF) and departure data, with optional return and page.
GeckoAPI is independent of ClickBus. This integration reads public data; it does not grant access to private accounts or account management operations.
Available operations
Search bus trips
clickbus.com.br:plp
Extracts list of bus trips from ClickBus by origin/destination (city + UF) and departure data, with optional return and page.
1 credit per request
These are standard credit costs. Account-specific pricing is shown in the dashboard. Each operation has its own supported inputs and regional coverage.
Make your first request
The example uses search bus trips. Replace YOUR_API_KEY with your server-side API key. Copy supported inputs from the reference for the operation you choose.
curl -X POST https://api.geckoapi.com.br/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "clickbus.com.br",
"type": "plp",
"originCity": "Foz do Iguacu",
"originState": "PR",
"destinationCity": "Sao Paulo",
"destinationState": "SP",
"departureDate": "2026-02-24",
"page": 1
}' Example JSON response
Abbreviated example from the same operation. Arrays and nested objects are shortened here; the endpoint reference includes the full documented schema. Source content retains its original language.
{
"requestId": "12b2ce4f-d5f0-4b8f-83b1-bf056beaa001",
"executionId": "12b2ce4f-d5f0-4b8f-83b1-bf056beaa002",
"data": {
"source": "clickbus.com.br",
"type": "plp",
"parser": "1.0.0",
"url": "https://www.clickbus.com.br/onibus/cascavel-pr/rio-de-janeiro-rj",
"requestUrl": "https://www.clickbus.com.br/onibus/cascavel-pr/rio-de-janeiro-rj",
"extractedAt": "2026-02-22T22:15:00.000Z",
"originCity": "Cascavel",
"originState": "PR",
"destinationCity": "Rio de Janeiro",
"destinationState": "RJ",
"departureDate": "2026-02-24",
"returnDate": "2026-02-25",
"totalResults": 25,
"primaryResults": 20,
"page": 1,
"resultsPerPage": 20,
"offset": 0,
"nextPage": 2
}
} Integrate with REST or MCP
Call POST /v1/extract from your backend, or use the operation-specific tool on POST /v1/mcp. The API reference includes both request formats. Keep credentials in your backend and handle missing fields, pagination and errors according to that operation's rules.
Ready to test the ClickBus API?
Open the documented example in the sandbox and inspect the response before integrating it into your application.
