# Clas Ohlson Online Stock API Documentation

<p><strong>Clas Ohlson Online Stock API Documentation</strong> Read distribution centre stock for one Clas Ohlson Sweden product by numeric product id. Returns the quantity in stock and the stock level indicator. One request costs 1 credit. Failed requests are not billed. Not affiliated with Clas Ohlson.</p>

- **Documentation:** [https://scrappa.co/docs/clasohlson-api/clasohlson_stock](https://scrappa.co/docs/clasohlson-api/clasohlson_stock)
- **API group:** Clas Ohlson API
- **Endpoint:** `GET https://scrappa.co/api/clasohlson/stock`

## 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 |
| --- | --- | --- | --- |
| `product_id` | string | Yes | Numeric product id from the product response. |

## Example response

```json
{
    "data": {
        "inStock": true,
        "productId": "366382000",
        "quantityInStock": 42,
        "stockLevelIndicator": "Green"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "stock"
    },
    "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)
