OLX.ba Scraper - Bosnia Listings, Prices & Sellers
Pricing
from $3.50 / 1,000 results
OLX.ba Scraper - Bosnia Listings, Prices & Sellers
Scrape OLX.ba, the largest marketplace in Bosnia and Herzegovina, in bulk. Extract listing title, price in KM, discount status, category, city, listing type, availability, badges and image URLs to CSV/JSON. No API key, no login.
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
Logiover
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 hours ago
Last modified
Categories
Share
Scrape OLX.ba, the largest marketplace in Bosnia and Herzegovina, in bulk. Extract listing title, price in KM, discount status, category, city, listing type, availability, badges and image URLs to CSV/JSON. No API key, no login.
What does the OLX.ba Scraper do?
This Actor turns OLX.ba data into a structured dataset. You point it at a whole category or a keyword search, it walks the result pages one after another, and it writes one clean row per listing into your dataset โ ready to export as JSON, CSV or Excel, or to pull straight from the Apify API.
OLX.ba is a separate company from the OLX Group and runs its own keyless JSON API, which is what the site's own front end reads. The Actor queries it directly, so prices arrive as numbers alongside the formatted KM string, and category and city filters are applied server-side rather than by discarding rows after the fact. Pagination is followed automatically until it runs out of results, hits your page limit or hits your Max items cap, whichever comes first. Every row is de-duplicated across the whole run, so you are never billed twice for the same listing.
There is no API key, no login and no browser involved. That keeps runs fast and cheap, and it means you can schedule the Actor without worrying about credentials expiring.
Who is it for?
- Price-monitoring teams tracking the Bosnian market.
- Car and electronics dealers watching competitor stock and pricing.
- Market researchers sizing categories in a market with little open data.
- Lead-generation teams building seller lists by city and category.
- Developers feeding regional listing data into a product.
Use cases
- Export every listing in a category and track how prices move.
- Compare asking prices for the same model across cities.
- Find discounted listings by filtering on the discount flag.
- Measure how much stock a category carries week to week.
- Build a searchable mirror of a category for internal analysis.
Why use this OLX.ba Scraper?
- ๐ Keyless โ no account, no API token, no cookies to paste.
- ๐ฆ 18 fields per listing โ everything the source exposes, already typed.
- ๐ Real pagination โ it walks page after page instead of returning the first screen.
- ๐ฏ Precise caps โ Max items stops the run exactly where you want it, so the bill is predictable.
- ๐ Export anywhere โ JSON, CSV, Excel or HTML, plus the Apify API and integrations.
- ๐ธ Pay per result โ you pay for rows you actually receive, with no platform fees to calculate.
What data can you extract?
Every run produces one row per listing, with these fields:
| Field | Type | Description |
|---|---|---|
listingId | string | OLX.ba listing ID |
title | string | Listing title |
listingUrl | string | Direct link to the listing |
price | number | Price as a number, in convertible marks |
displayPrice | string | Price exactly as the site formats it, e.g. 16.900 KM |
originalPrice | number | Price before discount when one is set |
hasDiscount | boolean | Whether the seller marked the listing down |
categoryId | string | OLX.ba category identifier |
cityId | string | City identifier |
listingType | string | Whether the item is for sale, wanted or for rent |
isAvailable | boolean | Whether the listing is still active |
imageUrl | string | Primary listing image |
imageCount | number | Number of photos on the listing |
labels | string | Badges the marketplace shows, separated by a pipe |
postedAt | string | ISO timestamp the listing was posted |
query | string | Search term or category this row came from |
page | number | Result page the listing appeared on |
scrapedAt | string | ISO timestamp of extraction |
Output example
{"listingId": "78144917","title": "Audi RS6 AVANT PERFORMANCE 4.0 TFSI Quattro Ceramic Black 630 KS","listingUrl": "https://olx.ba/artikal/78144917","price": 259990,"displayPrice": "259.990 KM","originalPrice": 264990,"hasDiscount": true,"categoryId": "18","cityId": "95","listingType": "sell","isAvailable": true,"imageUrl": "https://d4n0y8dshd77z.cloudfront.net/listings/78144917/sm/img-1784378779-b82b12916e4e.jpg","imageCount": 22,"labels": "Benzin | 1000","postedAt": "2026-09-22T03:42:52.000Z","query": "category 18","page": 2,"scrapedAt": "2026-09-22T09:41:12.508Z"}
How to use
Option A โ a whole category
{"categoryId": 18,"maxItems": 2000,"maxPagesPerSearch": 40,"searchQuery": ""}
- Open the Actor and fill in the first field.
- Set the page limit and Max items to bound the run.
- Click Start, then export from the Output tab.
Option B โ a keyword search
{"categoryId": 0,"maxItems": 500,"maxPagesPerSearch": 10,"searchQuery": "iphone"}
Everything in the first field is processed independently, so you can batch several targets into one run and split them apart afterwards.
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
searchQuery | string | โ | Keyword to search OLX. |
categoryId | integer | 0 | OLX. |
maxPagesPerSearch | integer | 8 | How many result pages to walk for each search. |
maxItems | integer | 500 | Stop after this many listings. |
maxConcurrency | integer | 2 | Parallel requests. |
proxyConfiguration | object | {"useApifyProxy": true} | Proxy used to fetch pages. |
Tips for best results
- Leave the search term empty and set a category to walk a whole section.
- Category ID 18 is vehicles; open any OLX.ba category and read the number from its URL.
- The API returns up to 50 listings per page, so exports need few calls.
priceis numeric anddisplayPricekeeps the site's own formatting โ use whichever suits your pipeline.hasDiscountwithoriginalPriceis how you measure real markdown depth.postedAtis converted from the epoch seconds the API returns, so it sorts correctly.- Prices are in convertible marks (BAM/KM), which is pegged to the euro at roughly 1.96.
- Schedule a daily run and append to one dataset to build a price history.
- Pair with the Kupujem, Njuskalo and OLX scrapers to cover the wider Balkan market.
- OLX.ba defines location, shipping and card-payment fields but left all three empty across every listing sampled, so they are not included.
Run outcomes: an empty result is not the same as a blocked run
A crawl that was refused and a query that genuinely has no matches both produce an empty dataset. Treating them as the same thing makes the output unusable for monitoring, so every run is classified and an unverified emptiness is never reported as success.
| Outcome | Run status | Meaning |
|---|---|---|
COMPLETED | Succeeded | Everything requested was fetched and rows were saved. |
PARTIAL | Succeeded | Rows were saved, but some pages were unreachable. |
EMPTY_RESULT | Succeeded | Pages were fetched and parsed and this query really has no listings. |
BLOCKED | Failed | Every request was refused with HTTP 403/429/503. |
NOT_FOUND | Failed | The source answered 404; check the address or filters. |
FETCH_FAILED | Failed | Nothing could be fetched for transport reasons. |
INCOMPLETE_NO_ROWS | Failed | Pages were skipped and nothing was saved, so an empty result cannot be trusted. |
The rule behind the table: a run that fetched nothing can never finish as Succeeded. Each run also writes a SUMMARY record to the key-value store with pages requested, pages fetched, pages skipped, HTTP request and retry counts, a per-status breakdown, transport errors and the termination reason โ so the row count is always reconcilable with what the run actually did.
Integrations
Send results straight into the tools you already use: Google Sheets, Slack, Zapier, Make, Airtable or any Webhook. You can also schedule the Actor to run hourly, daily or weekly and have each run append to the same dataset, which is how you build a price or availability history rather than a one-off snapshot.
API usage
Run the Actor and collect results from any language. Replace <YOUR_TOKEN> with your Apify API token.
cURL
curl -X POST "https://api.apify.com/v2/acts/logiover~olx-ba-bosnia-marketplace-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-H "Content-Type: application/json" \-d '{"categoryId": 18, "maxItems": 2000, "maxPagesPerSearch": 40, "searchQuery": ""}'
Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_TOKEN>' });const run = await client.actor('logiover/olx-ba-bosnia-marketplace-scraper').call({"categoryId": 18, "maxItems": 2000, "maxPagesPerSearch": 40, "searchQuery": ""});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python
from apify_client import ApifyClientclient = ApifyClient('<YOUR_TOKEN>')run = client.actor('logiover/olx-ba-bosnia-marketplace-scraper').call(run_input={"categoryId": 18, "maxItems": 2000, "maxPagesPerSearch": 40, "searchQuery": ""})for item in client.dataset(run['defaultDatasetId']).iterate_items():print(item)
Use with AI agents (MCP)
This Actor is available through the Apify MCP server, so an AI agent can call it as a tool. Point your agent at https://mcp.apify.com and it can run the OLX.ba Scraper on demand โ for example: "Pull the first 500 listings from OLX.ba and summarise what you find." The agent receives the same structured rows you would get from the UI.
FAQ
Do I need a OLX.ba account or API key?
No. The Actor reads publicly available data only. There is nothing to authenticate and no credentials to rotate.
How many listings can I get in one run?
As many as the source exposes. Raise the page limit and Max items together; the run stops at whichever limit it reaches first.
Why did I get fewer rows than I asked for?
The source ran out of listings. That is normal for narrow searches โ broaden the query or add more targets to one run.
Are results de-duplicated?
Yes. Each listing is emitted once per run, even when it appears on several pages, so you are never billed twice for the same record.
Why are some fields empty?
OLX.ba does not publish every attribute for every listing. Empty means the source did not supply it, not that extraction failed.
What export formats are supported?
JSON, CSV, Excel, HTML and RSS from the Output tab, plus the Apify API and any integration you connect.
How fast is it?
It is pure HTTP with no browser, so a page of results typically takes a second or two. Raise Max concurrency carefully โ the source rate-limits aggressive crawling.
Can I schedule it?
Yes. Use the Apify scheduler to run it on any interval and append each run to the same dataset for time-series analysis.
Does it work behind a proxy?
It uses Apify Proxy automatically. You can switch groups or supply your own proxies in Proxy configuration.
How often does the data change?
OLX.ba updates continuously. Re-run whenever you need current data; the Actor always reads the live source, never a cache.
Is the output schema stable?
Yes. Field names and types are fixed, so downstream pipelines will not break between runs.
What if the source changes its format?
Open an issue on the Issues tab and it gets fixed. The Actor is actively maintained.
Is it legal?
This Actor reads only publicly available data from OLX.ba โ the same content any visitor or client sees without logging in. It does not bypass authentication, does not collect private data and does not attempt to defeat access controls. You are responsible for how you use the output: respect the source's terms of service, applicable copyright, and data-protection law such as GDPR where personal data is involved. Scraping public data is generally lawful in the EU and the US, but the responsibility for the downstream use of that data sits with you.
Related scrapers
- Njuskalo Scraper โ Croatia
- OLX Scraper โ Ukraine, Bulgaria, Portugal
- Pazar3.mk Scraper โ North Macedonia
- Bazos.sk Scraper โ Slovakia