# DeviantArt User Gallery API Documentation

<p><strong>DeviantArt User Gallery API</strong> returns the public deviation gallery of a DeviantArt user as JSON. Each result carries the deviation id, title, published date and image URLs. Paginate with the offset from the previous response. A valid empty result is a successful response.</p>

- **Documentation:** [https://scrappa.co/docs/deviantart-api/deviantart_gallery](https://scrappa.co/docs/deviantart-api/deviantart_gallery)
- **API group:** DeviantArt API
- **Endpoint:** `GET https://scrappa.co/api/deviantart/gallery`

## 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. Example: duda. |
| `offset` | integer | No | Pagination offset from a previous response. Pass the next_offset value to fetch the next page. Defaults to 0. |

## Example response

```json
{
    "data": {
        "page": 1,
        "results": [
            {
                "id": "152693846",
                "url": "https://www.deviantart.com/duda/art/Forest-152693846",
                "title": "Forest",
                "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/5bd34a36/forest-152693846.jpg",
                "published_at": "2026-10-13T10:30:00Z",
                "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/5bd34a36/forest-152693846-150.jpg"
            }
        ],
        "has_more": true,
        "username": "duda",
        "next_offset": 24
    },
    "meta": {
        "billable": true,
        "endpoint_family": "gallery"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 404 | User Not Found | The requested user was not found. This response is not billable. |
| 502 | Invalid Source Response | DeviantArt could not be reached or returned an unexpected response. This response is 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)
