# FlixBus API: Search bus trips

> Finds dated FlixBus trip options between two cities, with stops, local times, availability and displayed per-person prices, including partner operators on some routes.

Unofficial. Not affiliated with or endorsed by FlixBus.

- Page: https://fous.com/methods/flixbus.com/search-bus-trips
- Method: `flixbus.com/search_bus_trips`, version 1
- Website: flixbus.com
- Returns: trips with stops, times, travel time, transfers, operator, price per person, seats left, bookable, search link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `date` | string | yes | `"2026-11-12"` | Local departure date (YYYY-MM-DD), for example 2026-10-15. |
| `adults` | integer | no |  | Number of adult travelers, for example 2. Default 1. |
| `origin` | string | yes | `"Berlin"` | Departure city, for example Berlin. |
| `currency` | string | no |  | Three-letter fare currency, for example EUR. Default "EUR". |
| `destination` | string | yes | `"Prague"` | Arrival city, for example Prague. |
| `max_results` | integer | no |  | Maximum trips to return, for example 20. Default 20. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "date": "2026-11-12",
  "origin": "Berlin",
  "destination": "Prague"
}
```

Its output:

```json
{
  "trips": [
    {
      "bookable": true,
      "currency": "EUR",
      "operator": "FlixBus",
      "page_link": "https://shop.flixbus.com/search?departureCity=40d8f682-8646-11e6-9066-549f350fcb0c&arrivalCity=40de1ad1-8646-11e6-9066-549f350fcb0c&route=Berlin-Prague&rideDate=15.10.2026&adult=1&_locale=en_US&departureCountryCode=DE&arrivalCountryCode=CZ",
      "transfers": 0,
      "seats_left": 2,
      "travel_time": "4h 25m",
      "arrival_stop": "Prague (Central Bus Station Florenc)",
      "arrival_time": "2026-10-15T04:40:00+02:00",
      "departure_stop": "Berlin Südkreuz",
      "departure_time": "2026-10-15T00:15:00+02:00",
      "arrival_stop_id": "dcbc6452-9603-11e6-9066-549f350fcb0c",
      "price_per_person": 23.48,
      "departure_stop_id": "dcbb994f-9603-11e6-9066-549f350fcb0c"
    },
    {
      "bookable": true,
      "currency": "EUR",
      "operator": "FlixBus",
      "page_link": "https://shop.flixbus.com/search?departureCity=40d8f682-8646-11e6-9066-549f350fcb0c&arrivalCity=40de1ad1-8646-11e6-9066-549f350fcb0c&route=Berlin-Prague&rideDate=15.10.2026&adult=1&_locale=en_US&departureCountryCode=DE&arrivalCountryCode=CZ",
      "transfers": 0,
      "seats_left": 2,
      "travel_time": "4h 45m",
      "arrival_stop": "Prague (Main Station)",
      "arrival_time": "2026-10-15T05:00:00+02:00",
      "departure_stop": "Berlin Südkreuz",
      "departure_time": "2026-10-15T00:15:00+02:00",
      "arrival_stop_id": "9b6adf77-3ecb-11ea-8017-02437075395e",
      "price_per_person": 23.48,
      "departure_stop_id": "dcbb994f-9603-11e6-9066-549f350fcb0c"
    },
    {
      "bookable": true,
      "currency": "EUR",
      "operator": "FlixBus",
      "page_link": "https://shop.flixbus.com/search?departureCity=40d8f682-8646-11e6-9066-549f350fcb0c&arrivalCity=40de1ad1-8646-11e6-9066-549f350fcb0c&route=Berlin-Prague&rideDate=15.10.2026&adult=1&_locale=en_US&departureCountryCode=DE&arrivalCountryCode=CZ",
      "transfers": 0,
      "seats_left": null,
      "travel_time": "5h 35m",
      "arrival_stop": "Prague (Central Bus Station Florenc)",
      "arrival_time": "2026-10-15T08:00:00+02:00",
      "departure_stop": "Berlin central bus station",
      "departure_time": "2026-10-15T02:25:00+02:00",
      "arrival_stop_id": "dcbc6452-9603-11e6-9066-549f350fcb0c",
      "price_per_person": 19.48,
      "departure_stop_id": "dcbaaee6-9603-11e6-9066-549f350fcb0c"
    }
  ],
  "search_link": "https://shop.flixbus.com/search?departureCity=40d8f682-8646-11e6-9066-549f350fcb0c&arrivalCity=40de1ad1-8646-11e6-9066-549f350fcb0c&route=Berlin-Prague&rideDate=15.10.2026&adult=1&_locale=en_US&departureCountryCode=DE&arrivalCountryCode=CZ",
  "origin_city_id": "40d8f682-8646-11e6-9066-549f350fcb0c",
  "destination_city_id": "40de1ad1-8646-11e6-9066-549f350fcb0c"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"flixbus.com/search_bus_trips","input":{"date":"2026-11-12","origin":"Berlin","destination":"Prague"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- Find bus trips from Munich to Vienna on 2026-11-03 for 2 adults, prices in EUR
- What FlixBus departures are there from Amsterdam to Brussels on March 14, 2026? I need seats left and travel times.
- Bus options Paris to Lyon on 2026-07-22 for 3 people, show me prices per person and whether there are transfers
- Check flixbus.com for buses from New York to Boston on 2026-09-05, prices in USD, top 10 results
- I need to get from Milan to Zurich by coach on 2026-12-18 — list departures, arrival times, operator and if they're still bookable, priced in CHF

## Input schema

```json
{
  "type": "object",
  "required": [
    "origin",
    "destination",
    "date"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Local departure date (YYYY-MM-DD), for example 2026-10-15."
    },
    "adults": {
      "type": "integer",
      "default": 1,
      "maximum": 9,
      "minimum": 1,
      "description": "Number of adult travelers, for example 2."
    },
    "origin": {
      "type": "string",
      "minLength": 1,
      "description": "Departure city, for example Berlin."
    },
    "currency": {
      "type": "string",
      "default": "EUR",
      "maxLength": 3,
      "minLength": 3,
      "description": "Three-letter fare currency, for example EUR."
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "description": "Arrival city, for example Prague."
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum trips to return, for example 20."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "search_link",
    "origin_city_id",
    "destination_city_id",
    "trips"
  ],
  "properties": {
    "trips": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "departure_stop",
          "arrival_stop",
          "departure_time",
          "arrival_time",
          "travel_time",
          "transfers",
          "operator",
          "price_per_person",
          "currency",
          "seats_left",
          "bookable",
          "page_link",
          "departure_stop_id",
          "arrival_stop_id"
        ],
        "properties": {
          "bookable": {
            "type": "boolean"
          },
          "currency": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "page_link": {
            "type": "string"
          },
          "transfers": {
            "type": "integer"
          },
          "seats_left": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Seats left at this price when shown."
          },
          "travel_time": {
            "type": "string"
          },
          "arrival_stop": {
            "type": [
              "string",
              "null"
            ]
          },
          "arrival_time": {
            "type": "string",
            "description": "Local ISO 8601 arrival time with offset."
          },
          "departure_stop": {
            "type": [
              "string",
              "null"
            ]
          },
          "departure_time": {
            "type": "string",
            "description": "Local ISO 8601 departure time with offset."
          },
          "arrival_stop_id": {
            "type": [
              "string",
              "null"
            ],
            "x-fous-developer": true
          },
          "price_per_person": {
            "type": [
              "number",
              "null"
            ]
          },
          "departure_stop_id": {
            "type": [
              "string",
              "null"
            ],
            "x-fous-developer": true
          }
        },
        "additionalProperties": false
      }
    },
    "search_link": {
      "type": "string"
    },
    "origin_city_id": {
      "type": "string",
      "x-fous-developer": true
    },
    "destination_city_id": {
      "type": "string",
      "x-fous-developer": true
    }
  },
  "additionalProperties": false
}
```

## See more

- [Trip.com API: Search flights](https://fous.com/methods/trip.com/search-flights.md): Finds priced flights between two cities or airports on Trip.com for the chosen dates, cheapest first; round trips pair each outbound flight with its available returns.
- [Expedia API: Search flights](https://fous.com/methods/expedia.com/search-flights.md): Finds Expedia flights between cities or airports on selected dates, with per-traveler USD prices. Round trips combine outbound and return choices; for round trips only the cheapest outbound choices are paired with their returns.
- [Google API: Search Google Flights](https://fous.com/methods/google.com/search-flights.md): Finds Google Flights options for a route and date with prices, local times, stops and emissions. Round-trip searches list outbound choices with their displayed round-trip fares.
- [Trip.com API: Search hotels](https://fous.com/methods/trip.com/search-hotels.md): Finds hotels in a city on Trip.com for given dates, with prices, guest ratings, reviews and booking links. Only the initial public listing is read, so large limits may return fewer hotels.
- [Google API: List cheap flight destinations](https://fous.com/methods/google.com/list-cheap-destinations.md): Lists cheap round-trip destinations from a city on Google Travel Explore, sorted by fare, optionally within a region, travel month, trip length and nonstop only. Links search Google Flights for the shown dates.
- [Google API: Get cheapest flight dates in a month](https://fous.com/methods/google.com/get-cheapest-dates.md): Finds the lowest Google Flights fare for each departure date in a month between two places, for one-way trips or a fixed trip length, with the cheapest option and any price insight shown.
- [Viator API: Search tours](https://fous.com/methods/viator.com/search-tours.md): Finds tours and experiences in a city on Viator, with optional keywords, date, currency and sorting. Prices are starting prices.
- [Airbnb API: Search stays](https://fous.com/methods/airbnb.com/search-stays.md): Searches public Airbnb homes for a destination and travel dates. Each stay comes with its price, rating, room details and listing link. Prices are the displayed trip totals, including fees.
