# Redbubble Design Details API Documentation

Scrappa's `GET /api/redbubble/product` returns one design. Pass `id` exactly as it appears in a search result: the `/i/...` product path. Prices are numbers with a currency, images are full-size URLs and the rating is numeric.## Credits

A successful request costs **1 credit**. Errors and `404` answers cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/redbubble-api/redbubble_product](https://scrappa.co/docs/redbubble-api/redbubble_product)
- **API group:** Redbubble API
- **Endpoint:** `GET https://scrappa.co/api/redbubble/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 a search result. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/redbubble/product?id=%2Fi%2Fsticker%2FBlack-cat-by-Flora22%2F110162644%2F7sgk"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "/i/sticker/Black-cat-by-Flora22/110162644/7sgk",
        "work_id": "110162644",
        "title": "Black cat",
        "artist": "Flora22",
        "artist_username": "flora22",
        "product_type": "Sticker",
        "price": {
            "current": 3.5,
            "currency": "USD",
            "original": null,
            "discount_amount": null,
            "discount_percent": null
        },
        "image": [
            "https://ih1.redbubble.net/image.110162644.0/sticker,440x400-bg,f8f8f8.u1.jpg"
        ],
        "tags": [
            "cat"
        ],
        "rating": {
            "value": 4.8,
            "count": 121
        },
        "availability": "InStock",
        "listed_price": 3.5,
        "listed_currency": "USD"
    },
    "meta": {
        "endpoint_family": "redbubble-product",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No public record exists for that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Source Unavailable | The source blocked the request, could not be reached or answered in an unexpected shape (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). Only the first two are retryable. Clients are never rate limited. Non-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)
