# Redbubble Artist Shop API Documentation

Scrappa's `GET /api/redbubble/artist` returns one public artist shop and its designs. Pass `username` exactly as it appears in a search result. The artist id source is the search result itself.## 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_artist](https://scrappa.co/docs/redbubble-api/redbubble_artist)
- **API group:** Redbubble API
- **Endpoint:** `GET https://scrappa.co/api/redbubble/artist`

## 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 |
| --- | --- | --- | --- |
| `username` | string | Yes | Artist username 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/artist?username=flora22"
```

## Example response

```json
{
    "success": true,
    "data": {
        "username": "flora22",
        "id": "12345",
        "name": "Flora22",
        "works_count": 36,
        "url": "https://www.redbubble.com/people/flora22/shop",
        "products": [
            {
                "id": "/i/sticker/Black-cat-by-Flora22/110162644/7sgk",
                "title": "Black cat"
            }
        ],
        "product_count": 1
    },
    "meta": {
        "endpoint_family": "redbubble-artist",
        "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)
