# Interdiscount Product Ids API Documentation

<p><strong>Interdiscount Product Ids API Documentation</strong> Read public product ids from the site sitemap in pages of 1 to 1000. Use the returned 10-digit ids unchanged in the product and availability routes. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Interdiscount.</p>

- **Documentation:** [https://scrappa.co/docs/interdiscount-api/interdiscount_ids](https://scrappa.co/docs/interdiscount-api/interdiscount_ids)
- **API group:** Interdiscount API
- **Endpoint:** `GET https://scrappa.co/api/interdiscount/ids`

## 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 |
| --- | --- | --- | --- |
| `offset` | integer | No | Zero-based product id offset. |
| `limit` | integer | No | Ids per response, 1 to 1000. |
| `lang` | string | No | Locale: de, fr or it. |

## Example response

```json
{
    "data": {
        "count": 2,
        "items": [
            "0014559723",
            "0014264013"
        ],
        "limit": 100,
        "total": 6957,
        "offset": 0
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "ids"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. 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)
