OLX scraper API: search results as JSON
Send any OLX page URL with recipe=olx and get title, url, image as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 3 fields
- 25 credits a page · $2.49 per 1,000
- Mostly working · 75% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.olx.pl/oferty/q-iphone/' \
--data-urlencode 'recipe=olx'
{
"result": {
"ads": [
{
"title": "iPhone 13 Pro 512GB"
}
]
},
"success": true
}
What you get from OLX
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=olx 25 credits a page
| Field | Type | Example |
|---|---|---|
ads | list of 3+ items | |
ads[].url | URL | https://www.olx.pl/d/oferta/iphone-13-pro-512gb-CID99-ID1d3xsQ.html... |
ads[].title | text | iPhone 13 Pro 512GB |
ads[].image | URL | https://ireland.apollo.olxcdn.com/v1/files/ja8mcshg1o6n3-PL/image;s... |
Sample answer, validated 2026-11-12
{
"ads": [
{
"url": "https://www.olx.pl/d/oferta/iphone-13-pro-512gb-CID99-ID1d3xsQ.html?search_reason=search%7Cpromoted",
"title": "iPhone 13 Pro 512GB",
"image": "https://ireland.apollo.olxcdn.com/v1/files/ja8mcshg1o6n3-PL/image;s=216x152;q=50"
},
{
"url": "https://www.olx.pl/d/oferta/iphone-15-pro-128-gb-super-stan-zestaw-86-CID99-ID1d27Xu.html?search_reason=search%7Cpromoted",
"title": "Iphone 15 Pro 128 GB Super Stan! Zestaw! 86%",
"image": "https://ireland.apollo.olxcdn.com/v1/files/h96d2sdmh78m3-PL/image;s=216x152;q=50"
}
]
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on OLX (JavaScript rendering and the premium proxy (PL)).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.olx.pl/oferty/q-iphone/' \
--data-urlencode 'recipe=olx'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.olx.pl/oferty/q-iphone/", "recipe": "olx"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"])
# Example output:
# iPhone 13 Pro 512GB
# Iphone 15 Pro 128 GB Super Stan! Zest...
const params = new URLSearchParams({
url: "https://www.olx.pl/oferty/q-iphone/",
recipe: "olx",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title);
}
// Example output:
// iPhone 13 Pro 512GB
// Iphone 15 Pro 128 GB Super Stan! Zest...
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with OLX data
New ads alerts
Catch new ads for the searches you care about shortly after they appear.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 25 | $4.08 | $2.49 |
FAQ
What does the OLX recipe return?
JSON with 3 fields from search results (recipe=olx), for example title, url, image. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape OLX?
25 credits a page ($2.49 per 1,000 on Pro, $4.08 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on OLX: JavaScript rendering and the premium proxy (PL). Send only the URL and recipe=olx.
What happens when OLX changes its pages?
We check OLX every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
Facebook MarketplaceSearch results, Ad page · 5 credits
VintedSearch results, Ad page · 5 credits
KleinanzeigenSearch results · 5 credits
LeboncoinSearch results · 25 credits
GumtreeSearch results, Ad page · 25 credits- AvitoSearch results · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with OLX.
Get OLX data as JSON today.
5,000 free credits for 7 days. No card.