# OLX India Listing API Documentation

<p><strong>OLX India Listing API</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/olx-in-api/olx_in_listing](https://scrappa.co/docs/olx-in-api/olx_in_listing)
- **API group:** OLX India API
- **Endpoint:** `GET https://scrappa.co/api/olx-in/listing`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Ad id from the olx-in/search endpoint. Example: 1859483881. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | OLX has no such public resource, for example a removed ad id. Never charged. |
| 500 | Parser Drift | OLX answered with a response shape this parser does not recognise. Never charged. |
| 503 | Upstream Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
