APIs / Travel / FlixBus

1 credit per call9 endpoints

FlixBus API

Get FlixBus data as structured JSON with one API key: search, calendar, cities and city. Free credits every month.

FlixBus
GET/v1/flixbus/city-catalog
curl "https://api.perceptlayer.com/v1/flixbus/city-catalog" \
  -H "X-API-Key: $API_KEY"
cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/flixbus/city-catalog" \
  -H "X-API-Key: $API_KEY"

FlixBus · 9 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

EndpointRequired parametersCost
GET/v1/flixbus/calendar
from_city_idto_city_idstart_date+3 optional
1 credit
GET/v1/flixbus/cities
query
1 credit
GET/v1/flixbus/city
city_id
1 credit
GET/v1/flixbus/city-catalog
None+2 optional
1 credit
GET/v1/flixbus/routes
city_id+1 optional
1 credit
GET/v1/flixbus/search
from_city_idto_city_iddeparture_date+7 optional
1 credit
GET/v1/flixbus/station
station_id
1 credit
GET/v1/flixbus/stations
query
1 credit
GET/v1/flixbus/trip
trip_id
1 credit

Overview

About the FlixBus API

What you can get

The FlixBus API returns search, calendar, cities and city as clean JSON. Each successful call costs one credit, and calls that fail are free.

TravelJSONRESTMCP

More travel APIs

Use cases

Monitor fares and room rates

Use the FlixBus API to monitor fares and room rates

Check availability across dates

Use the FlixBus API to check availability across dates

Build travel search and comparison tools

Use the FlixBus API to build travel search and comparison tools

FAQ

Questions

How much does the FlixBus API cost?

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Do I need a separate key for FlixBus?

No. One key works for every API in the catalogue.

Try the FlixBus API with 1,000 free credits

No credit card. Failed calls are never billed.