# Daraz Product API Documentation

<p><strong>Daraz Product API</strong> returns one Daraz product from the public page: name, brand, MRP, seller id, availability, category path, gallery and variants.</p><p>The page shows the MRP, not the sale price. <code>mrp</code> holds that value and <code>sale_price</code> is null here; take the sale price from Search. Per-variant prices and seller trust metrics are not public on this route.</p><p>Send the <code>item_id</code> from Search or a Daraz product <code>url</code>. Costs 1 credit per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/daraz-api/daraz_product](https://scrappa.co/docs/daraz-api/daraz_product)
- **API group:** Daraz API
- **Endpoint:** `GET https://scrappa.co/api/daraz/product`

## 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 |
| --- | --- | --- | --- |
| `item_id` | string | No | Item id from search, e.g. 1958256534. Send item_id or url. |
| `url` | string | No | Daraz product page link. Send item_id or url. |
| `country` | string | No | Country code: pk, bd, lk or np (default pk). |

## Example response

```json
{
    "data": {
        "mrp": 19799,
        "name": "Headphones",
        "brand": "GearZilla",
        "images": [
            "https://img.lazcdn.com/g/p/sample.jpg"
        ],
        "country": "pk",
        "item_id": "1958256534",
        "partial": false,
        "currency": "PKR",
        "variants": [],
        "seller_id": "12345",
        "sale_price": null,
        "availability": "in_stock"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | Send a valid item id or Daraz url. Not billable. |
| 404 | Not Found | The product does not exist. Not billable. |

## 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)
