OLX Regions & Cities Data — IDs and Coordinates for Search
This source returns OLX's geography as data: the top-level regions of a marketplace, or the cities within one region, each with an ID and, for cities, coordinates.
{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "olx_regions",
"domain": "olx.pl",
"max_items": 2,
"partial": false,
"human": "# OLX regions\n\n- **Domain:** olx.pl\n- **Max items:** 2\n- **Records returned:** 2\n- **Proxy traffic:** 1.6 KB",
"machine": {
"total_items": 2,
"total_available": 16,
"first_item": {
"id": "3",
"name": "Dolnośląskie",
"alias": "dolnoslaskie",
"region_id": null,
"county": null,
"latitude": null,
"longitude": null,
"radius": null,
"zoom": null,
"has_districts": null
},
"items": [
{
"id": "3",
"name": "Dolnośląskie",
"alias": "dolnoslaskie",
"region_id": null,
"county": null,
"latitude": null,
"longitude": null,
"radius": null,
"zoom": null,
"has_districts": null
},
{
"id": "15",
"name": "Kujawsko-pomorskie",
"alias": "kujawsko-pomorskie",
"region_id": null,
"county": null,
"latitude": null,
"longitude": null,
"radius": null,
"zoom": null,
"has_districts": null
}
],
"proxy_traffic_bytes": 1591
},
"total_points": 5
}- You send
- A marketplace domain, with an optional region_id to list its cities
- You get back
- Region or city ID, name, alias and (for cities) county and coordinates
- Coverage
- Regions and cities of the OLX marketplaces for Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan.
- Price
- 5 points per run — $5 per 1,000
- Priced per run, not per record: the sample response below billed 5 points for 2 records.
Ways to get this data
Three approaches teams use today, and where each one runs into trouble.
| Approach | What it takes | Cost | Trade-off |
|---|---|---|---|
| Browsing OLX by hand | Click through the site and note the IDs | Free, and tedious | Fine for one or two, impractical for a full set |
| Building a scraper | Write it, host it, and repair it when OLX changes its pages | Engineering time | A maintenance commitment for something that isn't your product |
| NeuralVerge | One request, domain as a parameter | $5 per run | Names are in the marketplace language, and the IDs only work on the marketplace they came from |
What you get back
Every field in the response shown above.
| Field | Type | Description |
|---|---|---|
total_items | number | How many regions or cities were returned in this batch (capped by max_items). |
total_available | number | How many regions or cities exist at that level. |
first_item | object | The first entry, repeated from items. |
items | array | The returned regions or cities. Each has the keys below. |
id | string | OLX region or city ID. |
name | string | Name, in the marketplace language. |
alias | string | URL alias. |
region_id | string | Parent region ID. null for top-level regions. |
county | string | County. null on the top-level regions in the sample. |
latitude | number | Latitude (longitude is returned alongside). null on the top-level regions in the sample. |
radius | number | Map radius. null on the top-level regions in the sample (zoom is returned alongside). |
has_districts | boolean | Whether the entry has districts. null on the top-level regions in the sample. |
How to run it
The same lookup works from the app, the API, or as a tool an agent can call mid-task.
Every parameter is optional. Pass region_id to list the cities of that region. max_items goes up to 500 (default 100). Billing is per run, not per record: the sample below billed 5 points for 2 regions.
curl -X POST https://api.neuralverge.ai/functions/v1/run-olx-regions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "domain": "olx.pl", "max_items": 100 }'What teams use it for
Where this field shows up in an actual workflow.
Get region_id and city_id values to pass to OLX offers search.
List the regions of a marketplace to plan region-by-region pulls.
Use the coordinates on city entries to place ads on a map.
Match free-text locations in your own data to OLX's IDs.
Coverage, freshness and limits
What this source covers, how fresh it is, and where it stops.
Regions and cities of the OLX marketplaces for Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan.
Read at request time.
This source returns publicly visible geography information, stamped with the domain it was read from and a session id you can trace.
- —Top-level region entries come back without coordinates in the sample; city entries are where coordinates are expected.
- —Names are in the marketplace language.
- —IDs are specific to one marketplace and cannot be reused on another domain.
Questions, answered
Pass that region's id as region_id. Leave it empty to list the regions.
Related sources
Try olx regions on your own data
One request format across every source in the catalog.