# Sephora Product API Documentation

<p><strong>Sephora Product API</strong> returns one product by the id from a search answer or by a sephora.com product url. It includes name, brand, numeric price and currency, size, ingredients, suggested usage, rating, review count, full-size images and regular child skus as variants with per-variant price, shade, size and stock.</p><p><strong>Cost:</strong> 1 credit per request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/sephora-api/sephora_product](https://scrappa.co/docs/sephora-api/sephora_product)
- **API group:** Sephora API
- **Endpoint:** `GET https://scrappa.co/api/sephora/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 |
| --- | --- | --- | --- |
| `id` | string | No | The product id from a search answer, for example P515494. Send id or url. |
| `url` | string | No | A sephora.com product page url. The product id is read from it. |

## Example response

```json
{
    "data": {
        "id": "P515494",
        "name": "Daily Moisturizing Lotion",
        "size": "12 oz",
        "brand": "CeraVe",
        "price": {
            "current": 16.99,
            "currency": "USD",
            "original": null,
            "discount_percent": null
        },
        "images": [
            "https://sephora.com/productimages/sku/s1593185-main-zoom.jpg"
        ],
        "rating": 4.6,
        "sku_id": "1593185",
        "variants": [
            {
                "size": "12 oz",
                "price": {
                    "current": 16.99,
                    "currency": "USD"
                },
                "shade": "",
                "sku_id": "1593185",
                "in_stock": true
            }
        ],
        "review_count": 8123
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | Send a valid product id or url. Not billed. |
|  | Error | Sephora could not be reached. Not billed. |

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