# Darty Products Feed API Documentation

`GET /api/darty/products` returns a page of the public product feed. `page` and `limit` are the site own values; different pages carry different ids and page one is never relabelled. Every item carries a public `id` and `handle` for the product detail route. Prices are numbers in EUR.

## Credits

A successful request with results costs **1 credit**. Errors, challenges and empty results cost nothing.

- **Documentation:** [https://scrappa.co/docs/darty-api/darty_products](https://scrappa.co/docs/darty-api/darty_products)
- **API group:** Darty API
- **Endpoint:** `GET https://scrappa.co/api/darty/products`

## 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 |
| --- | --- | --- | --- |
| `page` | integer | No | Site feed page. |
| `limit` | integer | No | Products per page, up to 250. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/darty/products?page=1"
```

## Example response

```json
{
    "success": true,
    "site": "darty-pt",
    "page": 2,
    "page_size": 24,
    "next_page": 3,
    "has_more": true,
    "items": [
        {
            "position": 25,
            "id": "87654321",
            "handle": "tv-samsung-65",
            "title": "TV QLED 65 pouces",
            "price": 1299,
            "currency": "EUR",
            "rating": null,
            "review_count": null
        }
    ],
    "meta": {
        "endpoint_family": "darty-products",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Parameter Not Available | A parameter has no verified recipe. It is rejected before any lookup (`unsupported_filter`). Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Storefront Unavailable | The storefront could not be reached or answered with a challenge. Retryable and never billed. Clients are never rate limited. |

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