# XXL Sport Product API Documentation

<p><strong>XXL Sport Product API Documentation</strong> Read one public product by the style key from search. Get sale and original price as numbers with currency, the discount, stock, per-size prices, specifications, rating, full-size image URLs and public category codes to reuse in search. One lookup costs 1 credit. A missing product or a failed request is not billed. Not affiliated with XXL Sport.</p>

- **Documentation:** [https://scrappa.co/docs/xxl-api/xxl_product](https://scrappa.co/docs/xxl-api/xxl_product)
- **API group:** XXL Sport API
- **Endpoint:** `GET https://scrappa.co/api/xxl/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 |
| --- | --- | --- | --- |
| `market` | string | No | SE only. NO and FI return 422 until their production soak passes. |
| `sku` | string | Yes | styleKey from search results. |

## Example response

```json
{
    "data": {
        "id": "1240207_1_Style",
        "brand": "Example",
        "price": 1679,
        "title": "Running shoe",
        "custom": [],
        "rating": 4.7,
        "groupId": "1240207",
        "inStock": true,
        "currency": "SEK",
        "discount": 30.01,
        "imageUrl": "https://example.com/image.jpg",
        "styleKey": "1240207_1_Style",
        "variants": [
            {
                "size": "40.5",
                "label": "40.5",
                "price": 1679,
                "inStock": true,
                "currency": "SEK",
                "stockNumber": 24,
                "originalPrice": 2399
            }
        ],
        "imageUrls": [
            "https://example.com/image.jpg"
        ],
        "description": "A light running shoe.",
        "typedCustom": [],
        "categoryCodes": [
            {
                "code": "140202",
                "name": "Running"
            }
        ],
        "originalPrice": 2399
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |
| 404 | Not Found | No product has this style key. 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)
