# Clas Ohlson Product Ids API Documentation

<p><strong>Clas Ohlson Product Ids API Documentation</strong> Read public Clas Ohlson Sweden product ids and URLs from the site product sitemap. Use the returned article codes unchanged in the product route. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Clas Ohlson.</p>

- **Documentation:** [https://scrappa.co/docs/clasohlson-api/clasohlson_ids](https://scrappa.co/docs/clasohlson-api/clasohlson_ids)
- **API group:** Clas Ohlson API
- **Endpoint:** `GET https://scrappa.co/api/clasohlson/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. |

## Example response

```json
{
    "data": {
        "count": 1,
        "items": [
            {
                "url": "https://www.clasohlson.com/se/example-lamp/p/36-6382",
                "code": "36-6382"
            }
        ],
        "total": 31237
    },
    "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)
