Olx Ba Scraper avatar
Olx Ba Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Olx Ba Scraper

Olx Ba Scraper

# OLX.ba Scraper An Apify actor that scrapes listing titles from OLX.ba, Bosnia and Herzegovina's largest classifieds platform.

Pricing

from $0.01 / 1,000 results

Rating

5.0

(1)

Developer

Adnan Turgay Aydın

Adnan Turgay Aydın

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Share

OLX.ba Scraper

An Apify actor that scrapes listing titles from OLX.ba, Bosnia and Herzegovina's largest classifieds platform.

Features

  • Automatic Pagination: Crawls through all pages of a category automatically
  • Listing Extraction: Extracts listing titles and URLs from each page
  • Duplicate Prevention: Ensures each listing is only scraped once
  • Flexible Input: Works with any OLX.ba category or search page URL

Input

The actor accepts a single input parameter:

  • url (required): The OLX.ba URL to scrape. Examples:
    • https://olx.ba/nekretnine (Real Estate)
    • https://olx.ba/vozila (Vehicles)
    • https://olx.ba/posao (Jobs)
    • Any other OLX.ba category or search page

Output

The actor outputs a dataset containing one item per listing with the following fields:

  • pageUrl: The URL of the page where the listing was found
  • pageTitle: The title of the scraped page
  • listingTitle: The title of the listing
  • listingUrl: The direct URL to the listing detail page

Usage

  1. Go to the Actor page on Apify
  2. Click "Start" to run the actor
  3. Enter the OLX.ba URL you want to scrape
  4. Wait for the actor to finish crawling all pages
  5. Download the results from the Dataset tab

Example Output

{
"pageUrl": "https://olx.ba/nekretnine",
"pageTitle": "Nekretnine: Stanovi, Kuće, Zemljišta...",
"listingTitle": "Dvosoban Stan Sarajevo - Centar - Skenderija - 53m2",
"listingUrl": "https://olx.ba/artikal/72082862"
}

Technical Details

  • Built with Apify SDK v3
  • Uses Crawlee CheerioCrawler for efficient web scraping
  • Handles pagination automatically (up to 50 pages by default)
  • Extracts data from OLX.ba's HTML structure

Limitations

  • Maximum 50 pages per run (can be adjusted in code)
  • Requires JavaScript-rendered content to be available in initial HTML
  • Rate limiting may apply depending on OLX.ba's policies

olx-ba-scraper