Pricing
from $2.00 / 1,000 listing scrapeds
OLX India Classifieds Scraper
Scrape OLX India classifieds listings with prices, seller type, categories, locations, images, posting dates, and listing URLs. No login or API key required.
Pricing
from $2.00 / 1,000 listing scrapeds
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
2
Monthly active users
a day ago
Last modified
Categories
Share
OLX India Classifieds Scraper - Prices, Listings & Locations
The OLX India classifieds scraper extracts public listing data from OLX India by keyword and location. Export to JSON, CSV, Excel, or HTML, or pull via the Apify API β no login and no API key required.
This scraper searches OLX India, reads listings from OLX's public JSON endpoints, and saves prices, seller metadata, categories, locations, images, posting dates, and listing URLs into one clean dataset. Built with Node.js 20, TypeScript, and native fetch, it uses optional Apify residential proxies with retries and resilient extraction so runs stay reliable and repeatable.
For a low-cost first run, use the default sample input: iphone in Mumbai, 5 listings, with item details and descriptions enabled.
What It Extracts
- Listing ID and title
- Search keyword and requested location
- Category ID and category name when available
- Price, display price, and currency
- Seller type, business seller flag, elite seller flag, and KYC flag when available
- Redacted listing description
- Status, state, city, area, latitude, and longitude
- Posted date, created date, and valid-to date
- Main image URL, image count, video count, and favorite count
- OLX listing URL
- Non-sensitive listing parameters such as brand, model, year, fuel type, or size when available
- Scraped timestamp
Use Cases
- Classifieds price monitoring for phones, cars, bikes, furniture, and electronics
- Local resale market research across Indian cities and states
- Dealer and business-listing activity analysis for market research
- Inventory tracking for second-hand marketplaces and recommerce teams
- Trend analysis for used-product demand, price ranges, and listing volume
Pricing
| Event | Price | 1,000 listings | 10,000 listings |
|---|---|---|---|
listing-scraped | $0.002 per listing | $2.00 | $20.00 |
Each clean listing is saved and charged atomically. The Actor stops before further OLX requests when the user's spending limit is reached.
Platform usage and proxy traffic may be billed separately by Apify depending on your plan and run settings. To control cost, start with one keyword, one location, and maxResults: 5; increase volume only after the sample output looks right. Keep item details and descriptions enabled when you need richer data, and disable them for faster large runs. OLX usually works without a proxy, so enable Apify Proxy only if direct requests become unreliable.
Input
| Field | Type | Description |
|---|---|---|
keywords | string array | Search terms such as iphone, sofa, swift, or laptop. |
locations | string array | City, state, neighborhood, or India. Examples: Mumbai, Delhi, Bengaluru, Maharashtra. |
categoryId | string | Optional OLX category ID. Leave empty to search all categories. |
minPrice | integer | Optional minimum price in INR. |
maxPrice | integer | Optional maximum price in INR. |
maxResults | integer | Number of unique listings to save, up to 500. Start with 5 for a low-cost test. |
includeItemDetails | boolean | Fetch each item detail endpoint for richer fields. Disable for faster large runs. |
includeDescription | boolean | Include descriptions with contact-like strings redacted. |
proxyConfiguration | object | Optional Apify Proxy settings. Proxy traffic may add platform usage cost. |
How to Scrape OLX India Classifieds (Step by Step)
- Enter one or more keywords, such as
iphone,bike, orflat. - Add one or more locations, such as
Mumbai,Delhi, orIndia. - Optionally set a category ID, price range, and max result count.
- Run the actor and wait for the dataset to fill with OLX listings.
- Export the results as JSON, CSV, Excel, or connect through the Apify API.
Example Input
{"keywords":["iphone"],"locations":["Mumbai"],"maxResults":5,"includeItemDetails":true,"includeDescription":true}
Multi-city, price-filtered search
{"keywords":["swift","creta"],"locations":["Delhi","Bengaluru"],"minPrice":200000,"maxPrice":800000,"maxResults":200,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}}
Output dataset
{"source":"olx","searchQuery":"iphone","locationQuery":"Mumbai","listingId":"1845620279","title":"Iphone Xs ( Gold )","categoryId":"1453","category":"Mobile Phones","price":20000,"priceDisplay":"βΉ 20,000","currency":"INR","sellerType":"Regular","isBusiness":false,"eliteSeller":false,"isKycVerified":false,"hasPhoneParam":false,"description":"Iphone Xs. Gold colour. 256gb. Battery health 80%. All original (genuine). Contact for more.","status":"Active","state":"Maharashtra","city":"Mumbai","area":null,"location":"Mumbai, Maharashtra","latitude":19.059,"longitude":72.86,"postedAt":"2026-06-10T19:42:22+05:30","createdAt":"2026-06-10T19:41:01+05:30","validTo":"2026-07-06T15:59:14+05:30","imageUrl":"https://apollo.olx.in/v1/files/ffdgkq7j3he03-IN/image;s=505x673","imageCount":6,"videoCount":0,"favoriteCount":0,"listingUrl":"https://www.olx.in/item/iphone-xs-gold-iid-1845620279","parameters":{"brand":"iPhone"},"scrapedAt":"2026-06-12T19:55:50.582Z"}
API Example
curl-X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs?token=YOUR_API_TOKEN"\-H"Content-Type: application/json"\-d'{"keywords":["iphone"],"locations":["Mumbai"],"maxResults":5}'
import{ ApifyClient }from'apify-client';const client =newApifyClient({token:'YOUR_API_TOKEN'});const run =await client.actor('YOUR_ACTOR_ID').call({keywords:['iphone'],locations:['Mumbai'],maxResults:5,});const{ items }=await client.dataset(run.defaultDatasetId).listItems();console.log(`Got ${items.length} OLX listings`);
How It Works
The actor resolves each requested OLX location through OLX India's public location autocomplete endpoint, searches the public OLX relevance API, deduplicates listings by ID, optionally fetches the item detail endpoint, normalizes fields, redacts contact-like strings, and writes records to the Apify dataset.
Known Limits
- Phone numbers and email addresses are intentionally not exposed.
hasPhoneParamtells you whether OLX indicates contact data exists. - OLX category names are returned when the search metadata exposes them. Otherwise
categorycan be null whilecategoryIdremains available. - Price filters are applied after records are fetched from OLX, so very narrow ranges may require a broader
maxResultssetting. - OLX may change or restrict its public endpoints. Use Apify Proxy for larger runs if direct requests become less reliable.
- This actor is not affiliated with OLX.
Responsible Use
This Actor is intended for lawful collection of publicly available information only. Users are responsible for ensuring their use complies with the source website's terms, robots.txt, applicable privacy laws, including India's DPDP Act, and all local regulations.
Do not use this Actor to collect, store, sell, or misuse personal data without a lawful basis. The Actor author is not responsible for misuse by end users.
License
Apache-2.0
