FlixBus: Cities
Cities from FlixBus as JSON. 1 credit per successful call.
GET /v1/flixbus/cities
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 100 characters |
Example request
FlixBus
GET/v1/flixbus/cities?query=berlin
{
"success": true,
"data": {
"query": "berlin",
"total": 7,
"cities": [
{
"id": "40d8f682-8646-11e6-9066-549f350fcb0c",
"legacy_id": 88,
"name": "Berlin",
"country_code": "DE",
"district": "Berlin",
"location": {
"lat": 52.525016,
"lon": 13.369474
},
"timezone_offset_seconds": 3600,
"has_train_station": true,
"score": 62.37238,
"stations": [
{
"id": "04a24865-34dd-458e-addd-f529fbd69aa7",
"legacy_id": 99373,
"name": "Berlin-Wannsee",
"importance_order": 10,
"is_train": true
},
{
"id": "88d83aa4-8f95-41f1-a3b6-d4d6152fca40",
"legacy_id": 105733,
"name": "Berlin Central Station",
"importance_order": 20,
"is_train": false
},
{
"id": "dcbb994f-9603-11e6-9066-549f350fcb0c",
"legacy_id": 481,
"name": "Berlin Südkreuz",
"importance_order": 23,
"is_train": false
}
]
},
{
"id": "42d5ccaf-d0dc-4381-bd1f-9b5b38862cca",
"legacy_id": 127363,
"name": "Berlin Airport",
"country_code": "DE",
"location": {
"lat": 52.3645405158,
"lon": 13.5141714319
},
"timezone_offset_seconds": 3600,
"has_train_station": true,
"score": 22.415207,
"stations": [
{
"id": "7df87f84-fd80-4ad4-a179-6c47a33b8978",
"legacy_id": 122853,
"name": "Berlin Airport BER",
"importance_order": 0,
"is_train": true
},
{
"id": "17483554-a4a8-4dad-b940-b5f56740014f",
"legacy_id": 44061,
"name": "Berlin Airport BER, T 1/2",
"importance_order": 85,
"is_train": false
}
]
},
{
"id": "40dc7203-8646-11e6-9066-549f350fcb0c",
"legacy_id": 641,
"name": "Potsdam",
"country_code": "DE",
"district": "Brandenburg",
"location": {
"lat": 52.39061,
"lon": 13.066756
},
"timezone_offset_seconds": 3600,
"has_train_station": true,
"score": 18.59972,
"stations": [
{
"id": "de1fe593-13d7-4a9c-aabc-6cad30db7097",
"legacy_id": 29838,
"name": "Potsdam Central Station",
"importance_order": 95,
"is_train": true
},
{
"id": "dcbf89f9-9603-11e6-9066-549f350fcb0c",
"legacy_id": 2855,
"name": "Potsdam",
"importance_order": 100,
"is_train": false
}
]
}
]
},
"meta": {
"endpoint_family": "city_autocomplete"
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.cities has these 10 fields, read from a recorded call that returned 14 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
legacy_id | integer |
name | string |
country_code | string |
district | string |
location | object |
timezone_offset_seconds | integer |
has_train_station | boolean |
score | number |
stations | object[] |