nvNeuralVerge
E-commerce & Marketplaces

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.

Example response
{
  "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.
Comparison

Ways to get this data

Three approaches teams use today, and where each one runs into trouble.

ApproachWhat it takesCostTrade-off
Browsing OLX by handClick through the site and note the IDsFree, and tediousFine for one or two, impractical for a full set
Building a scraperWrite it, host it, and repair it when OLX changes its pagesEngineering timeA maintenance commitment for something that isn't your product
NeuralVergeOne request, domain as a parameter$5 per runNames are in the marketplace language, and the IDs only work on the marketplace they came from
Response

What you get back

Every field in the response shown above.

FieldTypeDescription
total_itemsnumberHow many regions or cities were returned in this batch (capped by max_items).
total_availablenumberHow many regions or cities exist at that level.
first_itemobjectThe first entry, repeated from items.
itemsarrayThe returned regions or cities. Each has the keys below.
idstringOLX region or city ID.
namestringName, in the marketplace language.
aliasstringURL alias.
region_idstringParent region ID. null for top-level regions.
countystringCounty. null on the top-level regions in the sample.
latitudenumberLatitude (longitude is returned alongside). null on the top-level regions in the sample.
radiusnumberMap radius. null on the top-level regions in the sample (zoom is returned alongside).
has_districtsbooleanWhether the entry has districts. null on the top-level regions in the sample.
Integration

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 }'
Use cases

What teams use it for

Where this field shows up in an actual workflow.

Location-filtered searches

Get region_id and city_id values to pass to OLX offers search.

Regional coverage maps

List the regions of a marketplace to plan region-by-region pulls.

City geocoding

Use the coordinates on city entries to place ads on a map.

Normalising locations

Match free-text locations in your own data to OLX's IDs.

Coverage & limits

Coverage, freshness and limits

What this source covers, how fresh it is, and where it stops.

Coverage

Regions and cities of the OLX marketplaces for Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan.

Freshness

Read at request time.

Handling

This source returns publicly visible geography information, stamped with the domain it was read from and a session id you can trace.

What it will not do
  • —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.
FAQ

Questions, answered

Pass that region's id as region_id. Leave it empty to list the regions.

Related

Related sources

Try olx regions on your own data

One request format across every source in the catalog.

Get started