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.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up 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.
| Field | Type |
|---|---|
city_id | integer |
city | string |
region_id | integer |
region | string |