Skip to main content
Piloterr
Back to library

OLX Search API

Search an OLX country by keyword. Region defaults to Poland. Also use Romania, Portugal, Bulgaria, Ukraine, Kazakhstan, or Uzbekistan. Page with page.

Active1 credit = 1 requestGET/v2/olx/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

OLX Search returns classified listings from OLX country sites that share the same listing page. Send a keyword or a search URL. The body is { results, pagination } in snake_case.

OLX repeats promoted slots on later pages. Search leaves those slots out, so page 1 and page 2 do not share listing ids. A highlighted organic listing can still have is_promoted true.

RegionsLink to Regions

region Site Search path Usual currency
pl (default) olx.pl /oferty/ PLN
ro olx.ro /oferte/ RON
pt olx.pt /ads/ EUR
bg olx.bg /ads/ EUR
ua olx.ua /list/ UAH
kz olx.kz /list/ KZT
uz olx.uz /list/ UZS

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/olx/search?query=iphone&region=pl&page=1
GET https://api.piloterr.com/v2/olx/search?query=iphone&page=2

Placeholders: query such as iphone, region such as pl, page such as 2.

ParametersLink to Parameters

Parameter Type Required Placeholder Description
query string yes iphone Keyword or search URL
region string no pl Country code. Default pl.
page integer no 2 Page number from 1
return_page_source boolean no false Raw HTML

Response fieldsLink to Response fields

Each result has id, title, url, price, price_display, currency, location, and region. Pagination has page, per_page, total_results, total_pages, and next.

Main use casesLink to Main use cases

  • Scan iPhones or cars on OLX Poland
  • Read the same keyword on OLX Romania in lei
  • Take an ad id into the ad call

Error codesLink to Error codes

400 invalid input. 403 block page. 404 no parsable listings. 500 fetch failure.

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included