OLX India Classifieds Scraper avatar

OLX India Classifieds Scraper

Pricing

from $2.00 / 1,000 listing scrapeds

Go to Apify Store
OLX India Classifieds Scraper

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

Md Jakaria Mirza

Md Jakaria Mirza

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Categories

Share

OLX India Classifieds Scraper - Prices, Listings & Locations

The OLX India classifieds scraper extracts real 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.

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

EventPrice1,000 listings10,000 listings
listing-scraped$0.002 per listing$2.00$20.00

You are charged only after a clean listing record is saved to the dataset.

Input

FieldTypeDescription
keywordsstring arraySearch terms such as iphone, sofa, swift, or laptop.
locationsstring arrayCity, state, neighborhood, or India. Examples: Mumbai, Delhi, Bengaluru, Maharashtra.
categoryIdstringOptional OLX category ID. Leave empty to search all categories.
minPriceintegerOptional minimum price in INR.
maxPriceintegerOptional maximum price in INR.
maxResultsintegerNumber of unique listings to save, up to 500.
includeItemDetailsbooleanFetch each item detail endpoint for richer fields.
includeDescriptionbooleanInclude descriptions with contact-like strings redacted.
proxyConfigurationobjectOptional Apify Proxy settings.

How to Scrape OLX India Classifieds (Step by Step)

  1. Enter one or more keywords, such as iphone, bike, or flat.
  2. Add one or more locations, such as Mumbai, Delhi, or India.
  3. Optionally set a category ID, price range, and max result count.
  4. Run the actor and wait for the dataset to fill with OLX listings.
  5. Export the results as JSON, CSV, Excel, or connect through the Apify API.

Example Input

{
"keywords": ["iphone"],
"locations": ["Mumbai"],
"maxResults": 50,
"includeItemDetails": true,
"includeDescription": true
}
{
"keywords": ["swift", "creta"],
"locations": ["Delhi", "Bengaluru"],
"minPrice": 200000,
"maxPrice": 800000,
"maxResults": 200,
"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}

Sample Output

{
"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":50}'
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('YOUR_ACTOR_ID').call({
keywords: ['iphone'],
locations: ['Mumbai'],
maxResults: 50,
});
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. hasPhoneParam tells you whether OLX indicates contact data exists.
  • OLX category names are returned when the search metadata exposes them. Otherwise category can be null while categoryId remains available.
  • Price filters are applied after records are fetched from OLX, so very narrow ranges may require a broader maxResults setting.
  • 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