# Gear4music Product Details API Documentation

Scrappa's `GET /api/gear4music/product` returns one Gear4music product as JSON. Pass the `id` from search unchanged. The response adds GTIN, condition, a boolean stock flag, the full-size image set, a specification map, a category tree and the aggregate rating and review count. Prices are GBP numbers and dates are ISO 8601. Individual review bodies are not published.
## Credits

A successful request costs **1 credit**. Public access is included. Errors, blocks and empty results cost nothing. The charge is shown in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/gear4music-api/gear4music_product](https://scrappa.co/docs/gear4music-api/gear4music_product)
- **API group:** Gear4music API
- **Endpoint:** `GET https://scrappa.co/api/gear4music/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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Product path from search results, used unchanged. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/gear4music/product?id=%2FRecording-and-Computers%2FShure-SM7B-Dynamic-Studio-Microphone%2FG6X"
```

## Example response

```json
{
    "success": true,
    "product": {
        "id": "/Recording-and-Computers/Shure-SM7B-Dynamic-Studio-Microphone/G6X",
        "product_id": "20985",
        "gtin": "042406088879",
        "title": "Shure SM7B Dynamic Studio Microphone",
        "brand": "Shure",
        "price": 333,
        "currency": "GBP",
        "original_price": 399,
        "discount_amount": 66,
        "discount_percent": 17,
        "in_stock": true,
        "condition": "New",
        "price_valid_until": "2026-03-03T00:00:00Z",
        "rating": 4.8,
        "review_count": 214,
        "images": [
            "https://r2.gear4music.com/media/47/477892/1200/preview.jpg"
        ],
        "specs": {
            "Condition": "New"
        },
        "categories": [
            "Home",
            "Recording and Computers"
        ]
    },
    "meta": {
        "endpoint_family": "gear4music-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Gear4music has no product at that path (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown or unusable. Unsupported filters are rejected before any upstream call. Non-billable. |
| 503 | Upstream Unavailable | Gear4music could not be reached or answered with a block or an unexpected page. Retryable and never billed. Clients are never rate limited. |

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