OpenAny
Get API keyAPI Key
APIDataTravel

clickbus logo
ClickBus Bus Station Profile API

Get ClickBus station profiles by source slug via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, slug, and retrieve structured data including source station display name, source station address, source contact when present, source facility label, and source sample starting fare for station directory, and fare navigation.

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 Station Profile 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 Station Profile API

ClickBus Bus Station Profile API

Pass the station slug and retain the returned address, contact and location context. Each sample_fares entry has its own origin, destination and currency; a missing date does not mean today.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: slug. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · ClickBus bus station API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Station directory: Keep source contact and location references together.
  • Fare navigation: Use sample routes as context for dated Trips requests.

Returned Data

Field Meaning
name Source station display name
address Source station address
phone Source contact when present
services[].title Source facility label
sample_fares[].from_price Source sample starting fare
sample_fares[].date Source fare date when present

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/station \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode output=json \
  --data-urlencode raw=0 \
  --data-urlencode slug=ribeirao-preto-sp

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 Station Profile 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
Station slug, e.g. `ribeirao-preto-sp`, `curitiba-pr`.
Optional parameters (5)
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 station 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/station
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
slugURL query parametersquerystringYes

Station slug, e.g. `ribeirao-preto-sp`, `curitiba-pr`.

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
  • aboutstring
  • addressstring
  • cachedboolean
  • companiesobject[]
    • logostring
    • namestring
    • slugstring
    • urlstring
  • credits_usedinteger
  • descriptionnull
  • faqunknown[]
  • fetched_atstring
  • latitudenumber
  • longitudenumber
  • namestring
  • phonestring
  • related_stationsobject[]
    • namestring
    • slugstring
    • urlstring
  • sample_faresobject[]
    • currencystring
    • datenull
    • destinationstring
    • destination_slugstring
    • from_pricenumber
    • imagestring
    • originstring
    • origin_slugstring
  • servicesobject[]
    • descriptionstring
    • iconstring
    • titlestring
  • slugstring
  • titlestring
  • 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 · Minimal 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 6

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

    slug
    Station slug, e.g. `ribeirao-preto-sp`, `curitiba-pr`.
    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/station?output=json&raw=0&slug=ribeirao-preto-sp' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "about": "A Rodoviária de Ribeirão Preto recebe mais de um milhão de passageiros em suas 17 plataformas ao ano e hoje está baseado dentro do prédio do Shopping Ribeirão. Passou a ser administrado pela Socicam em 1976, e, no ano de 2000, passou por uma reforma para melhor atender a demanda. Foram importantes melhorias, como a construção de 11 novas plataformas, rampas de acesso, reforma dos sanitários, um aumento no número dos guichês visando uma dimunuição das filas além de uma melhora da aparência física do saguão principal tornando-o mais agradável aos passageiros. Posteriormente, foram inseridos elevadores, escadas rolantes e sanitários adaptados para deficientes físicos, sempre buscando oferecer a melhor experiência possível ao usuário do terminal. \n\nEm sua estrutura a Rodoviária de Ribeirão Preto oferece serviços que facilitam a experiência dos usuários, como praça de alimentação, salas de espera, loja de instrumentos, caixas eletrônicos, achados e perdidos, telefones públicos, ponto de táxi credenciado e exclusivo, balcão de informações, carrinhos carregadores de bagagem, tomadas para carregar computadores e celulares, despacho de encomenda e estacionamento 24 horas. \n\nConta com o auxílio de mais de 30 empresas de ônibus, dentre elas as principais são a Cometa, Rápido Ribeirão Preto, Util, Nacional Expresso, Garcia, Real Expresso, Rotas do Triângulo, Transbrasiliana, Andorinha, Itapemirim e Gardenia, que levam os passageiros a destinos como Rio de Janeiro, Maringá, Brasília, Curitiba, Londrina e Santos.",
      "address": "Avenida Jerônimo Gonçalves, 640 | Ribeirão Preto, SP - 14010-040",
      "cached": false,
      "companies": [
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/cometa.svg",
          "name": "Cometa",
          "slug": "cometa",
          "url": "https://www.clickbus.com.br/viacao/cometa"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/rapido-ribeirao.svg",
          "name": "Rapido Ribeirao",
          "slug": "rapido-ribeirao",
          "url": "https://www.clickbus.com.br/viacao/rapido-ribeirao"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/expresso-uniao.svg",
          "name": "Expresso União",
          "slug": "expresso-uniao",
          "url": "https://www.clickbus.com.br/viacao/expresso-uniao"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/real-expresso.svg",
          "name": "Real Expresso",
          "slug": "real-expresso",
          "url": "https://www.clickbus.com.br/viacao/real-expresso"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/util.svg",
          "name": "Util",
          "slug": "util",
          "url": "https://www.clickbus.com.br/viacao/util"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/garcia.svg",
          "name": "Garcia",
          "slug": "garcia",
          "url": "https://www.clickbus.com.br/viacao/garcia"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/princesa-do-norte.svg",
          "name": "Princesa do Norte",
          "slug": "princesa-do-norte",
          "url": "https://www.clickbus.com.br/viacao/princesa-do-norte"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/reunidas-paulista.svg",
          "name": "Reunidas Paulista",
          "slug": "reunidas-paulista",
          "url": "https://www.clickbus.com.br/viacao/reunidas-paulista"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/guerino-seiscento.svg",
          "name": "Guerino Seiscento",
          "slug": "guerino-seiscento",
          "url": "https://www.clickbus.com.br/viacao/guerino-seiscento"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/eucatur.svg",
          "name": "Eucatur",
          "slug": "eucatur",
          "url": "https://www.clickbus.com.br/viacao/eucatur"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/gardenia.svg",
          "name": "Gardenia",
          "slug": "gardenia",
          "url": "https://www.clickbus.com.br/viacao/gardenia"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/rotas-do-triangulo.svg",
          "name": "Rotas Do Triangulo",
          "slug": "rotas-do-triangulo",
          "url": "https://www.clickbus.com.br/viacao/rotas-do-triangulo"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/expresso-adamantina.svg",
          "name": "Expresso Adamantina",
          "slug": "expresso-adamantina",
          "url": "https://www.clickbus.com.br/viacao/expresso-adamantina"
        },
        {
          "logo": "https://static.clickbus.com/live/ClickBus/logos/nacional-expresso.svg",
          "name": "Nacional Expresso",
          "slug": "nacional-expresso",
          "url": "https://www.clickbus.com.br/viacao/nacional-expresso"
        }
      ],
      "credits_used": 1,
      "description": null,
      "faq": [],
      "fetched_at": "2026-11-19T12:24:52.639Z",
      "latitude": -21.173882,
      "longitude": -47.814436,
      "name": "Rodoviária de Ribeirão Preto",
      "phone": "(16) 3512-9849",
      "related_stations": [
        {
          "name": "Rodoviária de Baneário Camburiú",
          "slug": "balneario-camboriu-sc",
          "url": "https://www.clickbus.com.br/rodoviaria/balneario-camboriu-sc"
        },
        {
          "name": "Rodoviária de Blumenau",
          "slug": "blumenau-sc",
          "url": "https://www.clickbus.com.br/rodoviaria/blumenau-sc"
        },
        {
          "name": "Rodoviária de Novo Rio",
          "slug": "rio-de-janeiro-rj-novo-rio",
          "url": "https://www.clickbus.com.br/rodoviaria/rio-de-janeiro-rj-novo-rio"
        },
        {
          "name": "Rodoviária de Belo Horizonte",
          "slug": "belo-horizonte-mg",
          "url": "https://www.clickbus.com.br/rodoviaria/belo-horizonte-mg"
        }
      ],
      "sample_fares": [
        {
          "currency": "BRL",
          "date": null,
          "destination": "São Paulo, SP",
          "destination_slug": "sao-paulo-tiete-sp",
          "from_price": 86.21,
          "image": "https://static.clickbus.com/live/destinos/landing-pages/onibus-sao-paulo.jpg",
          "origin": "Ribeirão Preto, SP",
          "origin_slug": "ribeirao-preto-sp"
        },
        {
          "currency": "BRL",
          "date": null,
          "destination": "Rio de Janeiro, DE",
          "destination_slug": "rio-de-janeiro-rj",
          "from_price": 80.62,
          "image": "https://static.clickbus.com/live/destinos/landing-pages/onibus-rio-de-janeiro.jpg",
          "origin": "Ribeirão Preto, SP",
          "origin_slug": "ribeirao-preto-sp"
        },
        {
          "currency": "BRL",
          "date": null,
          "destination": "Campinas, SP",
          "destination_slug": "campinas-sp",
          "from_price": 62.46,
          "image": "https://static.clickbus.com/live/destinos/landing-pages/onibus-campinas.jpg",
          "origin": "Ribeirão Preto, SP",
          "origin_slug": "ribeirao-preto-sp"
        },
        {
          "currency": "BRL",
          "date": null,
          "destination": "Curitiba, PR",
          "destination_slug": "curitiba-pr",
          "from_price": 129.7,
          "image": "https://static.clickbus.com/live/destinos/landing-pages/onibus-curitiba.jpg",
          "origin": "Ribeirão Preto, SP",
          "origin_slug": "ribeirao-preto-sp"
        }
      ],
      "services": [
        {
          "description": "O terminal Rodoviário de Ribeirão Preto adaptou toda a sua estrutura para o acesso dos usuários deficientes físicos, com rampas, sanitários adaptados entre outros.",
          "icon": "https://static.clickbus.com/live/ClickBus/icones/acessibilidade.png",
          "title": "Acessibilidade"
        },
        {
          "description": "A rodoviária disponibiliza aos usuários: Caixa 24 Horas, Bradesco, Itaú, Banco do Brasil e Caixa Econômica Federal.",
          "icon": "https://static.clickbus.com/live/ClickBus/icones/caixas-eletronicos.png",
          "title": "Caixas Eletrônicos"
        },
        {
          "description": "Estacionamento com carência de 20 minutos para passageiros.",
          "icon": "https://static.clickbus.com/live/ClickBus/icones/estacionamento.png",
          "title": "Estacionamento"
        },
        {
          "description": "Sanitários disponíveis em todo o terminal com opção de banhos por um preço fixo.",
          "icon": "https://static.clickbus.com/live/ClickBus/icones/sanitarios.png",
          "title": "Sanitários"
        },
        {
          "description": "Disponivel logo na entrada principal do Terminal.",
          "icon": "https://static.clickbus.com/live/ClickBus/icones/taxi.png",
          "title": "Taxi"
        }
      ],
      "slug": "ribeirao-preto-sp",
      "title": "Rodoviária de Ribeirão Preto: Preços e opções de passagens | ClickBus",
      "url": "https://www.clickbus.com.br/rodoviaria/ribeirao-preto-sp"
    }

Common questions

What identifies a station profile?

Use its source station slug and preserve the returned identity and source URL.

Does a sample fare without a date mean today?

No. Leave its date unspecified and use Trips for a chosen route and travel date.

How should absent contact fields be handled?

Keep missing values as missing rather than substituting a phone number or address.

Do facility labels prove current operating availability?

They describe the source station profile. They are separate from live terminal operations and dated journey inventory.

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 Station Profile API with your agent

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