APIs / OLX Poland / Districts
OLX Poland: Districts
Districts from OLX Poland as JSON. 1 credit per successful call.
GET /v1/olx-pl/districts
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
city_id | integer | Required | Any |
Example request
OLX Poland
GET/v1/olx-pl/districts?city_id=17871
{
"success": true,
"data": {
"results": [
{
"id": 367,
"name": "Bemowo"
},
{
"id": 365,
"name": "Białołęka"
},
{
"id": 369,
"name": "Bielany"
}
]
},
"meta": {
"endpoint_family": "districts"
}
}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 2 fields, read from a recorded call that returned 18 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | integer |
name | string |