
OLX.ba Bosnia Marketplace Scraper
hipersoft/olx-ba-scraper
Scrape listings from OLX.ba, Bosnia and Herzegovina's largest marketplace — cars, phones, real estate, electronics and every category. Search any keyword or paste a URL and export one clean row per ad: title, price in KM, category, city, images and the listing URL as JSON, CSV or Excel.
Total users
2Monthly users
0Total runs
52Per listing scraped
$0.003Last rebuilt
Oct 26, 2026Overview
Scrape classified ads from OLX.ba, Bosnia and Herzegovina's largest online marketplace, into clean, structured JSON, CSV or Excel. Search any keyword — or paste an OLX.ba URL — and pull every listing across cars, phones, real estate, electronics, fashion and more, one tidy row per ad: title, price in KM, category, city, images and the listing URL. Built for price tracking, market research, competitive analysis and automations.
Features
- 🛒 Every category — cars, mobile phones, real estate, electronics, home, fashion, jobs and services, all from one Actor.
- 🔎 Keyword search — run one or many keywords at once (e.g.
iphone,golf 7,stan sarajevo); each returns its own matching ads. - 🔗 Paste-a-URL — drop in any OLX.ba search or category link and the Actor scrapes it end to end.
- 🗂️ Category filter — restrict a search to a single category by its ID (e.g. cars, real estate).
- 💰 Prices in KM — the numeric price is parsed for you, plus the displayed price text and any discount.
- 🖼️ Images — the main image plus the full gallery URL list for every ad.
- 🔗 Direct ad URL — a ready-to-open link to each listing on OLX.ba.
- 📄 Volume control — set
maxItemsto balance coverage and cost.
Input
{
"queries": ["iphone", "golf 7"],
"categoryId": 18,
"maxItems": 100
}
| Field | Description |
|---|---|
queries |
One or more keywords to search. Each runs its own search and results are combined. |
startUrls |
Optional. OLX.ba search or category page URLs to scrape (e.g. https://olx.ba/pretraga?q=iphone). Scraped in addition to any keywords. |
categoryId |
Optional. Restrict every keyword search to one category by its numeric ID (e.g. 18 for cars). |
maxItems |
Maximum ads to collect across all searches (0 = no limit). |
maxConcurrency |
How many requests to run in parallel. Leave at the default unless you have a reason to change it. |
proxyConfiguration |
Proxy settings. Not required by default. |
How to search
Enter one or more queries and run to collect matching ads. Add a categoryId to focus on one section of the marketplace, or paste startUrls straight from your browser. Set maxItems to control how much you collect.
Use cases
- Track prices for cars, phones or property across Bosnia and Herzegovina over time.
- Build and refresh a classifieds dataset for market and demand analysis.
- Monitor new listings for specific keywords and categories.
- Generate lead lists of sellers by category.
- Feed structured ad records into a CRM, spreadsheet or analytics pipeline.
What you get
Each ad is one dataset record:
{
"id": 78962452,
"title": "Volkswagen Passat 1.6 TDI 2010 Grijanje sjedišta",
"price": 8990,
"displayPrice": "8.990 KM",
"currency": "BAM",
"hasDiscount": false,
"originalPrice": null,
"listingType": "sell",
"categoryId": 18,
"cityId": 132,
"location": null,
"imageUrl": "https://.../img-1787232542-62155358b11e.jpeg",
"images": ["https://.../img-1787232542-62155358b11e.jpeg"],
"sponsored": true,
"userType": "shop",
"postedDate": "2026-09-05T10:50:59.000Z",
"url": "https://olx.ba/artikal/78962452",
"sourceUrl": "https://api.olx.ba/search?q=iphone&page=1&per_page=50"
}
Output schema
| Field | Type | Description |
|---|---|---|
id |
integer | OLX.ba's unique identifier for the ad. |
title |
string | Ad title. |
price |
number | Price in KM (numeric). null when the ad has no fixed price (e.g. "Na upit" / on request). |
displayPrice |
string | Price exactly as displayed on OLX.ba (e.g. 8.990 KM). |
currency |
string | Currency code (BAM, the Bosnian convertible mark / KM). |
hasDiscount |
boolean | Whether the ad shows a discounted price. |
originalPrice |
number | Original price before any discount, where shown. |
listingType |
string | Listing type (e.g. sell). |
categoryId |
integer | Numeric category the ad belongs to. |
cityId |
integer | Numeric city the ad is posted in. |
location |
object/string | Location detail where provided. |
imageUrl |
string (URL) | Main image URL. |
images |
array | All image URLs for the ad. |
sponsored |
boolean | Whether the ad is promoted/sponsored. |
userType |
string | Seller type (e.g. user, shop). |
postedDate |
string | Date the ad was posted (ISO 8601). |
url |
string (URL) | Direct link to the ad on OLX.ba. |
sourceUrl |
string (URL) | The search this ad was collected from. |
FAQ
Do I need an OLX.ba account? No. Just enter a keyword and run.
Can I search a specific category?
Yes. Set categoryId to a category's numeric ID, or paste a category URL into startUrls.
In what currency are prices?
Prices are in the Bosnian convertible mark (KM / BAM). The numeric price is parsed for you; displayPrice keeps the original as displayed.
How many ads can I collect?
As many as your search returns. Use maxItems to control volume and cost.
What export formats are supported? JSON, CSV, Excel and XML, plus the Apify API for programmatic access.
Can I use this with n8n? Yes. Use the Apify node for n8n to run this Actor and pull its dataset straight into an n8n workflow — trigger it on a schedule, then route the ad rows to a database, spreadsheet or messaging step.
Can I connect it to other tools? This Actor connects with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.
Notes
Returns only public OLX.ba ad data — the same information any visitor can see. This is an independent tool and is not affiliated with, endorsed by or connected to OLX.ba; "OLX.ba" is a trademark of its respective owner. Original clean-room implementation.
Input
| Field | Type | Description |
|---|---|---|
queriesSearch keywords | array | One or more keywords to search on OLX.ba — for example 'iphone', 'golf 7' or 'stan sarajevo'. Each keyword runs its own search across every category and the results are combined. Leave Start URLs empty to use this. |
startUrlsStart URLs | array | Optional. One or more OLX.ba search or category page URLs to scrape. Paste the URL straight from your browser (e.g. https://olx.ba/pretraga?q=iphone). When set, these are scraped in addition to any keywords. The scraper follows the pagination of each URL autom |
categoryIdCategory ID (optional) | integer | Optional. Restrict every keyword search to a single OLX.ba category by its numeric ID — for example 18 for cars or 23 for real estate. Leave empty to search across all categories. |
maxItemsMax items | integer | Maximum number of ads to collect across all searches (0 = no limit; collect everything the searches return). Default: 100 |
maxConcurrencyMax concurrency | integer | How many requests to run in parallel. Leave at the default unless you have a reason to change it. Default: 5 |
proxyConfigurationProxy configuration | object | Proxy settings. Not required by default. If you experience reduced results, enable Apify Residential proxy for the most reliable access. Default: {"useApifyProxy": false} |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~olx-ba-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"queries": [
"iphone"
]
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/olx-ba-scraper").call(run_input={
"queries": [
"iphone"
]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/olx-ba-scraper').call({
"queries": [
"iphone"
]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Listing scraped Charged for each listing (ad) scraped from OLX.ba. | $0.003 | $0.0015 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
CNN Fear & Greed Index Scraper
Scrape the CNN Fear & Greed Index: current market-sentiment score and rating, a full historical timeline, and all seven component indicators. Clean structured JSON, CSV or Excel for trading signals, backtesting, dashboards and alerting.
547 runs · 6 users · $0.003 / item scrapedDivar Scraper
Scrape classified ads from Divar, Iran's largest marketplace: title, price (Toman), category, city, district, images and the listing URL. Search any Iranian city with an optional keyword and export one clean row per ad as JSON, CSV or Excel. For market research, price tracking and n8n.
224 runs · 22 users · $0.003 / listing scrapedAirbnb Scraper
Search Airbnb by location and scrape listings: name, property type, price, rating, reviews, coordinates, photos, badges and link. For short-term rental, pricing and market research.
122 runs · 2 users · $0.005 / listing scrapedSingapore HDB Property Information Scraper
Export master data for every HDB block in Singapore (~13,300 blocks): address, town, year completed, max floor, total units, unit mix by flat type (sold & rental) and amenities (market/hawker, carpark, commercial, pavilion). Filter by town, street, year. Public open data, no setup.
113 runs · 1 users · $0.002 / block scrapedPropertyGuru Singapore Scraper
Scrape PropertyGuru Singapore property listings: price, beds, baths, size, address, property type, agent and URL. For property research and lead generation.
106 runs · 3 users · $0.004 / listing scrapedEdgeProp Singapore Property Scraper
Scrape EdgeProp Singapore property listings for sale and rent: price, address, beds, baths, size, PSF and URL.
105 runs · 1 users · $0.004 / listing scrapedSend the site and the fields. We build it and you get it first.