APIs / OLX India / Search

OLX India: Search

Search from OLX India as JSON. 1 credit per successful call.

GET /v1/olx-in/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 120 characters
categoryintegerOptionalAny
locationintegerOptionalAny
price_minnumberOptionalAny
price_maxnumberOptionalAny
year_minintegerOptionalAny
year_maxintegerOptionalAny
mileage_minintegerOptionalAny
mileage_maxintegerOptionalAny
transmissionstringOptionalUp to 20 characters
first_ownerbooleanOptionalAny
makestringOptionalUp to 80 characters
modelstringOptionalUp to 80 characters
sortingstringOptionalasc-price, desc-price, desc-creation, asc-creation
pageintegerOptionalAny

Example request

OLX India
GET/v1/olx-in/search?query=iphone
{
  "success": true,
  "data": {
    "total": 115246,
    "total_ads": 115246,
    "ads_on_page": 20,
    "total_pages": 481,
    "page": 1,
    "applied_sorting": "desc-creation",
    "next_page_url": "https://api.olx.in/relevance/v4/search?clientId=pwa&query=iphone&limit=20&location=1000001&page=2",
    "results": [
      {
        "id": "1862769316",
        "title": "16 PRO | 512GB",
        "description": "• Excellent overall condition.\n• Minor spot on the edge of the screen.\n• Scratch-free laminated body.\n• Original box available.",
        "created_at": "2026-11-27T09:56:40Z",
        "display_date": "2026-11-27T09:56:40+0000",
        "price": {
          "value": 75000,
          "currency": "INR"
        },
        "location": {
          "city": "Govind Vihar",
          "state": "Punjab",
          "text": "Govind Vihar, Punjab"
        },
        "image": "https://apollo.olx.in:443/v1/files/zgsoolpsh2lm3-IN/image",
        "images": [
          "https://apollo.olx.in:443/v1/files/zgsoolpsh2lm3-IN/image",
          "https://apollo.olx.in:443/v1/files/l0s6s0mokzdm1-IN/image",
          "https://apollo.olx.in:443/v1/files/dqtwmfy4mhad3-IN/image"
        ],
        "seller_type": "private",
        "parameters": [
          {
            "key": "make",
            "name": "make",
            "value": "iphone"
          }
        ],
        "category_id": 1453
      },
      {
        "id": "1862147760",
        "title": "Iphone 16pro max",
        "description": "**APPLE iPHONE 16 PRO MAX – FOR SALE** \n\n Model: iPhone 16 Pro Max  \n Storage: 256GB  \n Battery Health: 95%  \n Cycle Count: 286  \n Manufacturing: September 2024  \n First Use: November 2025  \n⚙️ iOS Version: 18.0  \n️ Warranty: Expires 21 Nov…",
        "created_at": "2026-11-20T06:39:19Z",
        "display_date": "2026-11-20T06:39:19+0000",
        "price": {
          "value": 78000,
          "currency": "INR"
        },
        "location": {
          "city": "Dharmapuram",
          "state": "Tamil Nadu",
          "text": "Dharmapuram, Tamil Nadu"
        },
        "image": "https://apollo.olx.in:443/v1/files/pcbi1jdv8ywe2-IN/image",
        "images": [
          "https://apollo.olx.in:443/v1/files/pcbi1jdv8ywe2-IN/image",
          "https://apollo.olx.in:443/v1/files/y8t5xxk9dksi2-IN/image",
          "https://apollo.olx.in:443/v1/files/yvp9jiqfja1k-IN/image"
        ],
        "seller_type": "private",
        "parameters": [
          {
            "key": "make",
            "name": "make",
            "value": "iphone"
          }
        ],
        "category_id": 1453
      },
      {
        "id": "1806290461",
        "title": "GENUINE APPLE IPHONE 5S & 5C IN BOX PACKING – RARE FIND!! BUY",
        "description": "GENUINE APPLE IPHONE 5S & 5C IN BOX PACKING – RARE FIND!! BUY NOW!!\nIPHONE 5S&5C BOX PACKED AND UNUSED UNIT AVAILABLE FOR SALE!!\n\n● INSTAGRAM : galaxygurugram\n\n● APPLE \n•Iphone 5s 16gb boxpack with all accesories Rs. 4500\n64gb Rs. 5500\n•Iph…",
        "created_at": "2026-11-10T17:09:24Z",
        "display_date": "2026-11-10T17:09:24+0000",
        "price": {
          "value": 4500,
          "currency": "INR"
        },
        "location": {
          "city": "Ghitorni",
          "state": "Delhi",
          "text": "Ghitorni, Delhi"
        },
        "image": "https://apollo.olx.in:443/v1/files/4eemmoh8pdi5-IN/image",
        "images": [
          "https://apollo.olx.in:443/v1/files/4eemmoh8pdi5-IN/image"
        ],
        "seller_type": "private",
        "parameters": [
          {
            "key": "make",
            "name": "make",
            "value": "iphone"
          }
        ],
        "category_id": 1453
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_f9b4a207cb4e4406a7fd9f09508385cf",
    "credits_charged": 1,
    "credits_remaining": 4876
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
ads_on_pageinteger
applied_sortingstring
resultsobject[]