Skip to main content
Piloterr
Back to library

OLX Ad API

Read one OLX ad from its id or URL. You get the asking price, the city, and the seller name.

Active1 credit = 1 requestGET/v2/olx/ad

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

OLX Ad returns one classified listing as a flat object. Send the listing URL.

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

The listing URL host selects the region.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/olx/ad?query=https://www.olx.pl/d/oferta/apple-iphone-17-pro-256-gb-nowy-szczecin-zaplombowany-karta-sim-ul-baluki-4-szczecin-CID99-ID18Acsd.html

Placeholders: query such as the listing URL above, region such as pl.

ParametersLink to Parameters

Parameter Type Required Placeholder Description
query string yes listing URL Listing URL
region string no pl Ignored when query is a full URL
return_page_source boolean no false Raw HTML

Response fieldsLink to Response fields

The object has id, title, url, price, price_display, currency, location, region, description, images, seller_name, and parameters. price, currency, location, and region stay on the object.

Main use casesLink to Main use cases

  • Open the phone or car behind a search card
  • Store the local currency amount
  • Keep the location and the seller

Error codesLink to Error codes

400 invalid URL. 403 block page. 404 no parsable ad. 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