# Music Store Search API Documentation

<p><strong>Music Store Search API Documentation</strong> Search the public MUSIC STORE catalogue by query or category with price range, sort, brand and page. Names, EUR prices with original price and discount, availability, ratings, review counts and full-size images. Ids work unchanged in the reviews route. 1 credit per request. Failed requests are never billed.</p>

- **Documentation:** [https://scrappa.co/docs/musicstore-api/musicstore_search](https://scrappa.co/docs/musicstore-api/musicstore_search)
- **API group:** Music Store API
- **Endpoint:** `GET https://scrappa.co/api/musicstore/search`

## 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 |
| --- | --- | --- | --- |
| `query` | string | No | Search text, e.g. e-gitarre |
| `category` | string | No | Category path, e.g. Gitarren/cat-GITARRE |
| `price_min` | number | No | Minimum price in EUR |
| `price_max` | number | No | Maximum price in EUR |
| `sort` | string | No | relevance, price_asc, price_desc, name_asc or name_desc |
| `brand` | string | No | Brand name |
| `page` | integer | No | Page number, default 1 |
| `limit` | integer | No | Results per page, 12 to 90, default 24 |

## Example response

```json
{
    "data": {
        "products": [
            {
                "id": "GIT0023172-000",
                "price": 329,
                "title": "E-Gitarre Set",
                "rating": 4.5,
                "currency": "EUR",
                "discount": 17.54,
                "original_price": 399
            }
        ],
        "page_size": 24,
        "total_count": 1840,
        "current_page": 1
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | An unsupported filter or invalid parameter was sent. Failed requests are not billed. |
| 503 | Upstream Unavailable | The source is temporarily unreachable. Failed requests are not billed. |

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