Skip to content
Scrappa Get API key
OLX India API 1 credit / request

OLX India Listing API Documentation

GET https://scrappa.co/api/olx-in/listing

OLX India Listing API returns one public olx.in ad by the id from search: title, description, numeric INR price with currency, ISO 8601 creation date, a human display date kept out of ISO fields, attributes, full-size images and seller type. JSON-LD Product data adds sku, brand and offer price when the page carries it. An unknown or removed id answers a non-billable 404.

OLX India Listing API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/olx-in/listing
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": 1859483881,
        "image": "https://images.olxcdn.com/v1/files/abc-IN/image;s=800x600",
        "price": {
            "value": 85000,
            "currency": "INR"
        },
        "title": "iPhone 13 128GB",
        "json_ld": {
            "name": "iPhone 13 128GB",
            "price": 85000,
            "price_currency": "INR"
        },
...

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.

id string Required

Ad id from the olx-in/search endpoint. Example: 1859483881.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "id": 1859483881,
        "image": "https://images.olxcdn.com/v1/files/abc-IN/image;s=800x600",
        "price": {
            "value": 85000,
            "currency": "INR"
        },
        "title": "iPhone 13 128GB",
        "json_ld": {
            "name": "iPhone 13 128GB",
            "price": 85000,
            "price_currency": "INR"
        },
        "location": {
            "city": "Bengaluru",
            "text": "Bengaluru, Karnataka",
            "state": "Karnataka"
        },
        "attributes": [
            {
                "key": "brand",
                "value": "Apple"
            }
        ],
        "created_at": "2026-11-18T09:12:00Z",
        "description": "Good condition, box included.",
        "seller_type": "private",
        "display_date": "18 Nov, 09:12"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "listing"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

OLX has no such public resource, for example a removed ad id. Never charged.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "OLX has no such public resource."
    },
    "success": false
}
500

Parser Drift

OLX answered with a response shape this parser does not recognise. Never charged.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "OLX response shape changed unexpectedly. The incident has been reported."
    },
    "success": false
}
503

Upstream Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "listing"
    },
    "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.