Marketplace
OLX India logo

OLX India API

olx.in

OLX India classifieds - vehicles, electronics, and general listings.

Actions
5
Category
Marketplace
Login
Not required
Output
JSON

Call the OLX India API

Submit a task, then poll the job until it settles. This example runs olx_ad_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "olx_ad_detail",
    "params": {
      "ad_id": "1835022999"
    }
  }'

5 actions on olx.in

Read

  • Ad Details

    olx_ad_detailread1 credit / call

    Returns full listing details with make, model, year, location, price, images, and seller ID.

    ad_id
    string · required
  • Categories

    olx_categoriesread1 credit / call

    Returns OLX India category IDs for use with search, including subcategories.

    parent_id
    string
  • Locations

    olx_locationsread1 credit / call

    Returns OLX India's location hierarchy of states, cities, and neighbourhoods.

    type
    string
    parent_id
    string
    limit
    integer
  • Search

    olx_searchread1 credit / call

    Returns OLX India listings by category and location with vehicle details and seller info.

    location_id
    string · required
    category_id
    string
    page
    integer
  • Seller Profile

    olx_user_profileread1 credit / call

    Returns an OLX seller's public profile with name, phone, verification status, badges, account age, and seller type.

    user_id
    string · required

OLX India API questions

Is there an API for OLX India?
OLX India does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for olx.in. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape OLX India data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when olx.in changes its markup, Anakin updates the action.
Do I need a OLX India account?
No. Every OLX India action listed here runs anonymously — no account and no credentials required.
What does the OLX India API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketplace APIs

All Marketplace sites