APIs / OLX Poland / Locations

OLX Poland: Locations

Locations from OLX Poland as JSON. 1 credit per successful call.

GET /v1/olx-pl/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 60 characters

Example request

OLX Poland
GET/v1/olx-pl/locations?query=Krak
{
  "success": true,
  "data": {
    "results": [
      {
        "city_id": 8959,
        "city": "Kraków",
        "region_id": 4,
        "region": "Małopolskie"
      },
      {
        "city_id": 47985,
        "city": "Krakowiany",
        "region_id": 3,
        "region": "Dolnośląskie"
      },
      {
        "city_id": 48323,
        "city": "Krakulice",
        "region_id": 5,
        "region": "Pomorskie"
      }
    ]
  },
  "meta": {
    "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.results has these 4 fields, read from a recorded call that returned 20 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
city_idinteger
citystring
region_idinteger
regionstring