APIs / FlixBus / City

FlixBus: City

City from FlixBus as JSON. 1 credit per successful call.

GET /v1/flixbus/city

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
city_idstringRequiredAny

Example request

FlixBus
GET/v1/flixbus/city?city_id=40d8f682-8646-11e6-9066-549f350fcb0c
{
  "success": true,
  "data": {
    "city": {
      "id": "40d8f682-8646-11e6-9066-549f350fcb0c",
      "legacy_id": 88,
      "name": "Berlin",
      "country_code": "DE",
      "timezone_offset_seconds": 3600
    }
  },
  "meta": {
    "endpoint_family": "city_detail"
  }
}
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

data has these 1 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
cityobject