OLX Portugal Scraper
Pricing
from $2.99 / 1,000 listings
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free or open the Input tab.
- Paste one or more public
https://www.olx.pt/...search, category, or/d/anuncio/...URLs intostartUrls. - Keep
maxItemsandmaxPagessmall for the first run.maxPagesadds apagequery parameter to each supplied URL; it does not crawl unrelated categories. - 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.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
startUrls | object array | Optional | [{"url":"https://www.olx.pt/ads/q-wireless-headphones/"}] | Up to 20 public HTTPS olx.pt search/category or /d/anuncio listing URLs. |
maxItems | integer | Optional | 40 | Maximum unique source-backed listing records to emit, 1–100. |
maxPages | integer | Optional | 1 | Bounded page variants requested per supplied URL, 1–20. Page 2 and later use the page query parameter. |
timeoutMs | integer | Optional | 30000 | Per-request timeout, 5,000–120,000 ms. |
maxBytes | integer | Optional | 5000000 | Maximum response bytes read per page, 1,000–15,000,000. |
requestDelayMs | integer | Optional | 250 | Delay before a retry, 0–10,000 ms. |
maxRequestRetries | integer | Optional | 1 | Retry budget for transient or access-boundary responses, 0–3. |
acceptLanguage | string | Optional | pt-PT,pt;q=0.9,en;q=0.7 | Accept-Language value sent with public requests, up to 120 characters. |
includeImages | boolean | Optional | true | Include public OLX CDN image URLs exposed on the page. |
proxyConfiguration | object | Optional | {"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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
listingId | string | Always | OLX ad ID from the page data, or the -ID... suffix of the listing URL. |
title | string | Always | Public listing title. |
description | string | When published | Public ad description, bounded to 4,000 characters. |
category | string | When published | Category label or slug exposed by OLX. |
categoryUrl | string | When published | Public olx.pt category URL. |
priceText | string | When published | Visible price text, including labels such as negotiable when shown. |
priceValue | number | When published | Numeric price parsed from the visible price. |
currency | string | When published | Currency code reported by OLX. |
listingType | string | When published | exchange, free, or job when OLX flags that offer type. |
condition | string | When published | Visible item condition, such as Usado. |
locationText | string | When published | Full public location line. |
publishedText | string | When published | Publication or refresh timestamp text as published. |
parameters | object array | When published | Up to 50 public listing parameters with key, name, value, and normalizedValue when exposed. |
promotionLabel | string | When published | Promotion label such as top_ad when the page exposes one. |
isPromoted | boolean | When published | Whether OLX marks the listing as promoted. |
deliveryAvailable | boolean | When published | Tri-state delivery signal. It is emitted only when OLX publishes a boolean; an absent signal is omitted, not reported as false. |
imageUrls | string array | When published | Up to 20 public OLX CDN image URLs. |
listingUrl | string | Always | Canonical public olx.pt listing URL. |
sourceUrl | string | Always | Supplied search or listing URL that produced the row. |
searchUrl | string | When returned | Search context for the row. Current runs add it; the archived 2026-08-30 example predates this field. |
pageUrl | string | When returned | Final page URL after redirects. Current runs add it; the archived example predates it. |
pageNumber | integer | When returned | One-based page variant requested. Current runs add it; the archived example predates it. |
itemPosition | integer | When reported | One-based position on the source page. |
scrapedAt | string | Always | Time the record was saved, in ISO UTC. |
url | string | Not emitted | Legacy 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.
| Field | Meaning |
|---|---|
status | Actor outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved listings: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
itemCount | Listing rows saved to the dataset. |
recordCount | Listing rows saved. |
listingCount | Listing rows saved. |
diagnosticCount | Number of operational issues recorded. |
diagnosticCodes | Distinct diagnostic codes observed. |
requestedPages | Number of supplied source URLs. |
pageCount | Page variants requested, including added page values. |
duplicateCount | Duplicate listings removed. |
requestCount | Public requests attempted. |
retryCount | Retries performed. |
sessionRotations | Proxy session rotations. |
fixtureUsed | Whether the run read a local QA fixture instead of the network. |
proxyUsed | Whether an Apify Proxy session was created. |
completedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Listings were saved without an extraction problem. |
SUCCEEDED | PARTIAL | Listings were saved, but a later page or request failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The requested pages completed cleanly without usable public listings. |
FAILED | FAILED | A 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.