OLX Portugal Scraper avatar

OLX Portugal Scraper

Pricing

from $2.99 / 1,000 listings

Go to Apify Store
OLX Portugal Scraper

OLX Portugal Scraper

Extracts non-empty public OLX Portugal search and listing fields from direct HTML and JSON-LD responses. Seller identity and contact data are excluded.

Pricing

from $2.99 / 1,000 listings

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Categories

Features

Limited permissions

Share

Extract public OLX Portugal classified listings from olx.pt search, category, and /d/anuncio/ pages. The Actor reads public HTML and pre-rendered listing data, then returns listing identity, price, category, condition, location, publication text, parameters, promotion and delivery signals, images, and canonical olx.pt URLs. Runs can be scheduled, called through the Apify API, and connected to downstream workflows.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Paste one or more public https://www.olx.pt/... search, category, or /d/anuncio/... URLs into startUrls.
  3. Keep maxItems and maxPages small for the first run. maxPages adds a page query parameter to each supplied URL; it does not crawl unrelated categories.
  4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome and counts.

Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
startUrlsobject arrayOptional[{"url":"https://www.olx.pt/ads/q-wireless-headphones/"}]Up to 20 public HTTPS olx.pt search/category or /d/anuncio listing URLs.
maxItemsintegerOptional40Maximum unique source-backed listing records to emit, 1–100.
maxPagesintegerOptional1Bounded page variants requested per supplied URL, 1–20. Page 2 and later use the page query parameter.
timeoutMsintegerOptional30000Per-request timeout, 5,000–120,000 ms.
maxBytesintegerOptional5000000Maximum response bytes read per page, 1,000–15,000,000.
requestDelayMsintegerOptional250Delay before a retry, 0–10,000 ms.
maxRequestRetriesintegerOptional1Retry budget for transient or access-boundary responses, 0–3.
acceptLanguagestringOptionalpt-PT,pt;q=0.9,en;q=0.7Accept-Language value sent with public requests, up to 120 characters.
includeImagesbooleanOptionaltrueInclude public OLX CDN image URLs exposed on the page.
proxyConfigurationobjectOptional{"useApifyProxy":false}Optional standard Apify Proxy settings. Direct requests are the default; proxy use does not bypass access controls.

Default input:

{
"startUrls": [
{
"url": "https://www.olx.pt/ads/q-wireless-headphones/"
}
],
"maxItems": 40,
"maxPages": 1,
"timeoutMs": 30000,
"maxBytes": 5000000,
"requestDelayMs": 250,
"maxRequestRetries": 1,
"acceptLanguage": "pt-PT,pt;q=0.9,en;q=0.7",
"includeImages": true,
"proxyConfiguration": {
"useApifyProxy": false
}
}

The Actor reads public OLX Portugal pages only. It does not log in, call private endpoints, or solve CAPTCHAs.

Output

The dataset contains one row per saved public listing. Optional values are omitted when OLX does not publish them; no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
listingIdstringAlwaysOLX ad ID from the page data, or the -ID... suffix of the listing URL.
titlestringAlwaysPublic listing title.
descriptionstringWhen publishedPublic ad description, bounded to 4,000 characters.
categorystringWhen publishedCategory label or slug exposed by OLX.
categoryUrlstringWhen publishedPublic olx.pt category URL.
priceTextstringWhen publishedVisible price text, including labels such as negotiable when shown.
priceValuenumberWhen publishedNumeric price parsed from the visible price.
currencystringWhen publishedCurrency code reported by OLX.
listingTypestringWhen publishedexchange, free, or job when OLX flags that offer type.
conditionstringWhen publishedVisible item condition, such as Usado.
locationTextstringWhen publishedFull public location line.
publishedTextstringWhen publishedPublication or refresh timestamp text as published.
parametersobject arrayWhen publishedUp to 50 public listing parameters with key, name, value, and normalizedValue when exposed.
promotionLabelstringWhen publishedPromotion label such as top_ad when the page exposes one.
isPromotedbooleanWhen publishedWhether OLX marks the listing as promoted.
deliveryAvailablebooleanWhen publishedTri-state delivery signal. It is emitted only when OLX publishes a boolean; an absent signal is omitted, not reported as false.
imageUrlsstring arrayWhen publishedUp to 20 public OLX CDN image URLs.
listingUrlstringAlwaysCanonical public olx.pt listing URL.
sourceUrlstringAlwaysSupplied search or listing URL that produced the row.
searchUrlstringWhen returnedSearch context for the row. Current runs add it; the archived 2026-08-30 example predates this field.
pageUrlstringWhen returnedFinal page URL after redirects. Current runs add it; the archived example predates it.
pageNumberintegerWhen returnedOne-based page variant requested. Current runs add it; the archived example predates it.
itemPositionintegerWhen reportedOne-based position on the source page.
scrapedAtstringAlwaysTime the record was saved, in ISO UTC.
urlstringNot emittedLegacy dataset-schema alias. Current rows use listingUrl.

The example below is a real saved record from the 2026-08-30 run. Long arrays are shortened; all shown fields are unchanged.

{
"listingId": "672676326",
"title": "iPhone 14 Pro Max 256Gb Space Black",
"description": "Apple iPhone 14 Pro Max Space Black, 256GB. iPhone com mínimos riscos e sem marcas de uso. Acompanhado de caixa original com cabo de dados e capa de proteção. Mostro sem compromisso ou envio mais fotos se necessário. Entrego em mão nas zonas próximas de Barcelos. Em caso de dúvida envie mensagem.",
"category": "electronics",
"priceText": "550 €",
"priceValue": 550,
"currency": "EUR",
"condition": "Usado",
"locationText": "Braga, Barcelos, Vila Boa E Vila Frescainha (São Martinho E São Pedro)",
"publishedText": "2026-08-03T22:47:45+01:00",
"parameters": [
{
"key": "state",
"name": "Estado",
"value": "Usado",
"normalizedValue": "used"
},
{
"key": "operador",
"name": "Operador",
"value": "Desbloqueado",
"normalizedValue": "desbloqueado"
}
],
"promotionLabel": "top_ad",
"isPromoted": true,
"deliveryAvailable": false,
"imageUrls": [
"https://ireland.apollo.olxcdn.com/v1/files/4464o7ps01r22-PT/image;s=750x1000",
"https://ireland.apollo.olxcdn.com/v1/files/m83ntoy5rwlv-PT/image;s=750x1000",
"https://ireland.apollo.olxcdn.com/v1/files/mh940zarqeaq1-PT/image;s=750x1000"
],
"listingUrl": "https://www.olx.pt/d/anuncio/iphone-14-pro-max-256gb-space-black-IDJvtQa.html",
"sourceUrl": "https://www.olx.pt/ads/q-iphone/",
"scrapedAt": "2026-08-30T09:58:14.695Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT. A copy is written to OUTPUT_SUMMARY.

FieldMeaning
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCompleteness of saved listings: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
itemCountListing rows saved to the dataset.
recordCountListing rows saved.
listingCountListing rows saved.
diagnosticCountNumber of operational issues recorded.
diagnosticCodesDistinct diagnostic codes observed.
requestedPagesNumber of supplied source URLs.
pageCountPage variants requested, including added page values.
duplicateCountDuplicate listings removed.
requestCountPublic requests attempted.
retryCountRetries performed.
sessionRotationsProxy session rotations.
fixtureUsedWhether the run read a local QA fixture instead of the network.
proxyUsedWhether an Apify Proxy session was created.
completedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEListings were saved without an extraction problem.
SUCCEEDEDPARTIALListings were saved, but a later page or request failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe requested pages completed cleanly without usable public listings.
FAILEDFAILEDA fatal error occurred before any usable listing was saved.

The saved 2026-08-30 OUTPUT predates the current summary shape. It recorded status: "SUCCEEDED" with 5 listing rows, 1 request, 0 duplicate rows, 0 diagnostics, and completedAt: "2026-08-30T09:58:14.721Z". Current runs report the fields in the table above. An excerpt of values that remain in the current shape:

{
"status": "SUCCEEDED",
"requestCount": 1,
"itemCount": 5,
"listingCount": 5,
"diagnosticCount": 0,
"duplicateCount": 0,
"completedAt": "2026-08-30T09:58:14.721Z"
}

Coverage and limitations

The Actor reads public olx.pt search, category, and listing pages. It parses OLX's public pre-rendered state and listing cards; a page that exposes neither yields no row. It follows only the page parameter on the supplied URLs and does not crawl every ad detail page, private seller area, or category not supplied in the input.

deliveryAvailable is intentionally tri-state. publishedText preserves OLX's timestamp text instead of inventing a timezone. Seller names, phone numbers, email addresses, exact private addresses, account data, messages, and contact flows are not collected. Prices, promotion labels, and availability can change after the run. Access challenges, empty pages, and parse failures are reported in the summary and logs, not written as dataset rows.

Usage and support

Cost depends on the number of page variants, response size, optional proxy use, and run frequency. Start with one URL and a small maxItems, inspect the dataset and summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with OLX. Use it only for public data and in accordance with OLX's terms, robots guidance, and applicable law. Public listings can contain personal information; use the output only for lawful purposes.