Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the OLX Pakistan API page →
docs / olx-pk

OLX Pakistan

Pakistan's biggest classifieds site: cars, phones, property and bikes, with prices in PKR.

base /olx-pk/v15 endpoints
post/olx-pk/v1/listing1 credit

One OLX Pakistan listing in full by its id or URL: title, price in PKR, the whole description, every attribute (make, model, year, km, fuel, PTA status …), all images, location down to the area with coordinates, posting and refresh dates, and a seller summary (name, member since, verified, phone when the seller made it visible, active listings).

ParameterAllowed / rangeDescription
listing_idoptional—The number after iid- in the listing URL (search rows carry it).
urloptional—An olx.com.pk listing URL.
include_seller = trueoptional—Add the seller's profile (member since, visible phone; one extra request) and active listing count. false = only what the listing carries.
max_rotations = 3optional1–5Attempts on a fresh datacentre exit when the search service stumbles (1-5).
Try in playground →
post/olx-pk/v1/categories1 credit

The OLX Pakistan category tree with live listing counts: Mobiles, Vehicles (cars, motorcycles, spare parts …), Property for sale and rent, Electronics, Bikes, Jobs, Animals, Furniture, Fashion and more, down to sub-category. Each node carries the external_id to pass as category to search.

ParameterAllowed / rangeDescription
categoryoptional—Optional: only this category's subtree (external_id, slug or slug path).
depthoptional0–5Levels of children to include (default: all).
Try in playground →
post/olx-pk/v1/category_fields1 credit

The filters a category offers on OLX Pakistan, with every published choice: for Cars make (64 brands), model per make, year, kilometres, fuel, transmission, body type, colour, registration city, assembly …; for Mobile Phones brand, model, PTA approval, condition. Pass make to get its models.

ParameterAllowed / rangeDescription
categoryrequired—Category external_id or slug (84 = Cars, 1453 = Mobile Phones).
makeoptional—A make (name or code) to list its models.
Try in playground →
post/olx-pk/v1/locations1 credit

OLX Pakistan places and their ids: provinces, the 231 cities, their areas and sub-areas, with live listing counts and coordinates. List a place's children, or find a place by name.

ParameterAllowed / rangeDescription
parentoptional—List the places inside this one (a name or location_id). Without parent and query: the provinces.
queryoptional—Find places by name (inside parent when given).
leveloptionalprovince · city · area · sub_areaOnly places of this level (e.g. city with no parent = all 231 cities).
limit = 100optional1–500Most places returned (1-500), busiest first.
Try in playground →
Built for volume
5M+ requests a day

Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.

Missing a source?
We build it

Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.

Support
2 minute median reply

Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.

One key, one balance
Every API included

No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.

Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.