Skip to the content

Scraper API

OLX

olx.searchAvailable

OLX search

A page of adverts, each whole: title, full text, price, attributes, city and region, photos, dates, and whether the seller is a business.

Give it Search words, the country's OLX site, an order and a page number.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
4, 1 required
Record
29 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/olx.search/runs

{
"input": {
"query": "rower",
"country": "pl"
}
}

sent, and answered

a record of the run29 fields

{
position: 1
page: 1
listing_id: "1106543889"
country: "pl"
url: "https://www.olx.pl/d/oferta/na-sprzedaz-rower-gorski-giant-talon-4-CID…
title: "Na sprzedaż: Rower górski Giant Talon 4"
description: "Na sprzedaż trafia niezawodny hardtail Giant Talon 4 w rzucającym się …
price: 950
currency: "PLN"
… 20 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 29 fields are set down here; the whole record is below.

olx.pl
The page OLX search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Price second-hand goods
Search an item and read the asking prices of every advert on the page, in the site's currency, to see what it sells for.
Watch for new adverts
Search the newest first on a schedule and keep the adverts whose listing_id you have not seen, each with its full text.
Compare markets across countries
Run the same search on the Polish, Romanian, Ukrainian or Portuguese site and set the prices and counts side by side.

What you send

Search words, the country's OLX site, an order and a page number. These are its 4 inputs, as its schema has them.

querystring Required
What to search for, in the site's language, e.g. rower.
countrystring Optional
The OLX site to search, by country: pl (olx.pl), ua (olx.ua), ro (olx.ro), bg (olx.bg), pt (olx.pt), kz (olx.kz), uz (olx.uz).Default pl
sortstring Optional
The order of the results.Default relevance
pageinteger Optional
The results page, from 1; 40 adverts a page beside the promoted ones, and OLX serves at most 25 pages.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/olx.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"rower","country":"pl"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("olx.search", {"query": "rower", "country": "pl"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("olx.search", { query: "rower", country: "pl" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "olx.search", map[string]any{"query": "rower", "country": "pl"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("olx.search", Map.of("query", "rower", "country", "pl"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run olx.search --input query=rower --input country=pl

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

A page of adverts, each whole: title, full text, price, attributes, city and region, photos, dates, and whether the seller is a business. A record has 29 fields. One we could not read is null, never an empty string or a zero.

A record olx.search returned
{
  "position": 1,
  "page": 1,
  "listing_id": "1106543889",
  "country": "pl",
  "url": "https://www.olx.pl/d/oferta/na-sprzedaz-rower-gorski-giant-talon-4-CID767-ID1cSVC5.html",
  "title": "Na sprzedaż: Rower górski Giant Talon 4",
  "description": "Na sprzedaż trafia niezawodny hardtail Giant Talon 4 w rzucającym się w oczy, dynamicznym kolorze Amber Glow (pomarańczowy/neonowy czerwony). Rower idealny zarówno na weekendowe wypady do lasu, jak i na codzienne dojazdy.\nRower jest w pełni … [truncated]",
  "price": 950,
  "currency": "PLN",
  "price_label": "950 zł",
  "previous_price": null,
  "is_free": false,
  "is_exchange": false,
  "attributes": [
    {
      "name": "Stan",
      "value": "Używane"
    },
    {
      "name": "Płeć",
      "value": "Uniseks"
    },
    {
      "name": "Wyposażenie dodatkowe",
      "value": "Dzwonek"
    }
  ],
  "category_id": 1651,
  "city": "Siedlisko",
  "district": null,
  "region": "Lubuskie",
  "latitude": 51.76621,
  "longitude": 15.80915,
  "photos": [
    "https://ireland.apollo.olxcdn.com:443/v1/files/5062kb2a9qtr-PL/image;s=1024x768",
    "https://ireland.apollo.olxcdn.com:443/v1/files/cdoaw0qx87ph2-PL/image;s=1024x768",
    "https://ireland.apollo.olxcdn.com:443/v1/files/2b1i37x5b8dt2-PL/image;s=1024x768"
  ],
  "created_at": "2026-10-21T18:03:00+02:00",
  "refreshed_at": "2026-10-31T16:51:22+01:00",
  "valid_until": "2026-11-20T17:03:01+01:00",
  "is_promoted": true,
  "is_business": false,
  "seller_name": null,
  "status": "active",
  "fetched_at": "2026-11-19T18:07:41.028470Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: description: 1,172 characters, the first 240 shown; attributes: 11 items, the first 3 shown; photos: 7 items, the first 3 shown.

The fields of a record

positioninteger or null
The advert's place on its results page, from 1. Null for olx.listing.
pageinteger or null
The results page the advert is on. Null for olx.listing.
listing_idstring
OLX's id of the advert.
countrystring
The OLX site the advert is on, as a two-letter country code: pl, ua, ro, bg, pt, kz, uz.
urlstring
The advert's page.
titlestring
The advert's title.
descriptionstring or null
The advert's text, with line breaks kept.
pricenumber or null
The asking price. Null when the advert states none (given away, offered in exchange). For an advert priced in another currency than the site's own, OLX states the price in both: this is one of the two, in currency, and price_label is the other as printed.
currencystring or null
The price's currency as OLX names it, e.g. PLN, UAH, EUR, RON.
price_labelstring or null
The price as the advert prints it, e.g. 9 999 zł, Za darmo.
previous_pricenumber or null
The price before the seller lowered it, where the search results show one. Null from olx.listing.
is_freeboolean or null
True when the item is given away.
is_exchangeboolean or null
True when the item is offered in exchange for another.
attributeslist of objects
The advert's attributes other than its price, in its order: condition, brand, size, and whatever its category asks for.Each holds name, value.
category_idinteger or null
OLX's id of the category the advert is in.
citystring or null
The city or town the advert is in.
districtstring or null
The district of the city, where the advert names one.
regionstring or null
The region or province.
latitudenumber or null
The latitude of the point the advert's map is centred on, in decimal degrees. The map shows an area, not an address.
longitudenumber or null
The longitude of that point.
photoslist of strings
The advert's photos, at full size, in its order.
created_atdatetime or null
When the advert was first published.
refreshed_atdatetime or null
When the advert was last renewed or moved up.
valid_untildatetime or null
When the advert expires unless it is renewed.
is_promotedboolean or null
True for an advert the seller paid to have shown at the top.
is_businessboolean or null
True when the seller is a business account; false for a private seller.
seller_namestring or null
The company name a business account states. Null for a private seller and for a business that states none.
statusstring or null
The advert's state as OLX names it, e.g. active.
fetched_atdatetime
When the advert was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one results page: 40 adverts and the promoted ones shown with them. OLX serves 25 pages of a search.
  • Seven sites: Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan. There is no filter by category or place.
  • A private seller is not named, and no telephone number is returned.

The bounds its schema sets

country
pl, ua, ro, bg, pt, kz, uz; pl unless you say otherwise
sort
relevance, newest, price_low, price_high; relevance unless you say otherwise
page
1 to 25; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does OLX search return?

A page of adverts, each whole: title, full text, price, attributes, city and region, photos, dates, and whether the seller is a business. A record has 29 fields, among them position, page, listing_id, country, url and title. A value that could not be read is null, never an empty string or a zero.

What do I send?

Search words, the country's OLX site, an order and a page number. The input query is required. Optional: country, sort and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: country pl, ua, ro, bg, pt, kz, uz (pl unless you say otherwise); sort relevance, newest, price_low, price_high (relevance unless you say otherwise); page 1 to 25 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one results page: 40 adverts and the promoted ones shown with them. OLX serves 25 pages of a search. Seven sites: Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan. There is no filter by category or place. A private seller is not named, and no telephone number is returned.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id olx.search and the same input. It costs what the same API call costs.

OLX

Classified adverts on the OLX sites of Poland, Ukraine, Romania, Bulgaria, Portugal, Kazakhstan and Uzbekistan, as a visitor who is not signed in sees them.

  • OLX advert

    olx.listing

    The address of an advert's page on one of the seven OLX sites. The advert: title, full text, price, attributes, city and region, photos, dates, and whether the seller is a business.

OLX on the line-up

Where
PolandPortugal7 countries in all

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.