/olx/regions

POST /api/olx/regions

Price: 1 credit

Get the OLX geography of a country marketplace: the top-level regions, or — with region_id — every city inside one region with its coordinates. Supplies the region_id and city_id used by offers/search.

How to use it

Resolve OLX geography for a country marketplace (domain). Called without region_id it returns the top-level regions (16 voivodeships on olx.pl, the equivalent first-level units elsewhere); called with region_id it returns every city in that region with county, latitude/longitude, radius and has_districts — which tells you whether district_id applies to that city in offers/search. Use the returned ids as region_id / city_id in offers/search, optionally together with distance.

Parameters

Request body

Response

Errors

Response headers