OLX India Search API searches public olx.in ads by keyword, category, location, vehicle filters and price. Each row carries id, title, description, numeric INR price with currency, location, ISO 8601 creation date, full-size image, seller type, parameters and extra car fields. Pagination uses a 1-based page with 20 rows per page. meta.applied_filters and meta.applied_sorting report what the upstream actually applied. Seller names, phone numbers and contact data are never returned. A valid empty result is billed; every failure is not.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
14 optional filters available.
string
Required
Search keywords. Example: iphone.
coffee shops
integer
Optional
Public category id. Cars is 84.
10
integer
Optional
Public location id, default 1000001.
Austin, Texas
number
Optional
Minimum INR price.
10
number
Optional
Maximum INR price.
10
integer
Optional
Minimum vehicle year.
10
integer
Optional
Maximum vehicle year.
10
integer
Optional
Minimum mileage.
10
integer
Optional
Maximum mileage.
10
string
Optional
Transmission filter.
example
boolean
Optional
Only first-owner ads.
true
string
Optional
Vehicle make.
example
string
Optional
Vehicle model.
example
string
Optional
asc-price, desc-price, desc-creation or asc-creation.
example
integer
Optional
1-based page, default 1.
1
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"page": 1,
"total": 20306,
"results": [
{
"id": 1859483881,
"image": "https://images.olxcdn.com/v1/files/abc-IN/image;s=800x600",
"price": {
"value": 85000,
"currency": "INR"
},
"title": "iPhone 13 128GB",
"location": {
"city": "Bengaluru",
"text": "Bengaluru, Karnataka",
"state": "Karnataka"
},
"created_at": "2026-11-18T09:12:00Z",
"parameters": [
{
"key": "brand",
"value": "Apple"
}
],
"description": "Good condition, box included.",
"seller_type": "private",
"display_date": "18 Nov, 09:12"
}
],
"total_ads": 20306,
"ads_on_page": 20,
"total_pages": 1016,
"next_page_url": "https://api.olx.in/relevance/v4/search?page=2",
"applied_filters": {
"category": "84"
},
"applied_sorting": "asc-price"
},
"meta": {
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. No upstream call and no charge.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search"
},
"error": {
"code": "VALIDATION",
"message": "The request validation failed"
},
"success": false
}Parser Drift
OLX answered with a response shape this parser does not recognise. Never charged.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search"
},
"error": {
"code": "PARSER_DRIFT",
"message": "OLX response shape changed unexpectedly. The incident has been reported."
},
"success": false
}Upstream Unavailable
The upstream service is temporarily unavailable. Please retry shortly.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "OLX upstream is temporarily unavailable."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.