APIs / WG-Gesucht / Locations

WG-Gesucht: Locations

Locations from WG-Gesucht as JSON. 1 credit per successful call.

GET /v1/wg-gesucht/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 100 characters
city_idintegerOptionalAny

Example request

WG-Gesucht
GET/v1/wg-gesucht/locations?query=Berlin
{
  "success": true,
  "data": {
    "cities": [
      {
        "city_id": "8",
        "city_name": "Berlin",
        "country_code": "de",
        "federated_state_id": "5",
        "city_and_state": "Berlin (Berlin)"
      },
      {
        "city_id": "5038",
        "city_name": "Berlingen",
        "country_code": "de",
        "federated_state_id": "16",
        "city_and_state": "Berlingen (Rheinland-Pfalz)"
      },
      {
        "city_id": "10902",
        "city_name": "Berlingerode",
        "country_code": "de",
        "federated_state_id": "12",
        "city_and_state": "Berlingerode (Thüringen)"
      }
    ]
  },
  "meta": {
    "duration_ms": 225,
    "endpoint_family": "locations"
  }
}
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 5 fields, read from a recorded call that returned 5 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
city_idstring
city_namestring
country_codestring
federated_state_idstring
city_and_statestring