# DeviantArt Gallery API (deviantart.gallery)

- Canonical page: [https://everyinfra.com/en/deviantart-api/gallery](https://everyinfra.com/en/deviantart-api/gallery?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "deviantart", "action": "gallery", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 30, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=deviantart&action=gallery

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | The DeviantArt artist username as it appears after deviantart.com/ in the profile URL, without an @ symbol, domain name, or path. gallery returns the artist's works and profile returns the artist's public profile. |
| category | enum: any_category / designs / digital_art / fan_art / film_animation / literature / photography / traditional_art | no | not declared | Filters artwork discovery across actions using any_category, digital_art, traditional_art, photography, fan_art, literature, film_animation, or designs. Applies strictly to individual deviation items and does not guarantee complete portfolio representation for a creator. |
| limit | integer (1–100) | no | 30 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| thumbnail_url | Thumbnail link, lower resolution than image_url. |
| author_username | Author's username (@handle), usually usable in URLs. |
| author_name | Author's display name. |
| author_url | Link to the author's profile on the platform. |
| author_avatar_url | platform-native meaning |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| author_emails | platform-native meaning |
| author_email_domains | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "deviantart",
  "action": "gallery",
  "params": {
    "username": "pixelbypixel"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "deviantart",
        "action": "gallery",
        "params": {
            "username": "pixelbypixel",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 7. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "deviantart",
  "action": "gallery",
  "results": [
    {
      "id": "78857324",
      "url": "https://www.deviantart.com/pixelbypixel/art/NoE-78857324",
      "title": "NoE",
      "text": "a bliss of innocence...",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/af35a3c0-bf41-499d-8ce4-0d2c31e4a857/d1ay6p8-c8af927c-364b-4927-a77f-f6feca4afec0.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkM…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/af35a3c0-bf41-499d-8ce4-0d2c31e4a857/d1ay6p8-c8af927c-364b-4927-a77f-f6feca4afec0.jpg/v1/fit/w_300,h_500,q_70,strp/noe_by_pixelbypixel_d1ay6p8-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQ…",
      "author_username": "pixelbypixel",
      "author_name": "pixelbypixel",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2008-03-02T01:28:04.000Z",
      "platform": "deviantart"
    },
    {
      "id": "73167735",
      "url": "https://www.deviantart.com/pixelbypixel/art/Aiskah-Yanugabac-73167735",
      "title": "Aiskah Yanugabac",
      "text": "another one of my vexel works in Adobe Pshop...",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/af35a3c0-bf41-499d-8ce4-0d2c31e4a857/d17k8l3-9c33e5d2-67ab-4f51-b1d6-ff481aeffee7.jpg/v1/fill/w_600,h_450,q_75,strp/aiskah_yanugabac_by_pixelbypixel_d17k8l3-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiO…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/af35a3c0-bf41-499d-8ce4-0d2c31e4a857/d17k8l3-9c33e5d2-67ab-4f51-b1d6-ff481aeffee7.jpg/v1/fit/w_300,h_450,q_70,strp/aiskah_yanugabac_by_pixelbypixel_d17k8l3-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm…",
      "author_username": "pixelbypixel",
      "author_name": "pixelbypixel",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2007-12-28T15:25:37.000Z",
      "platform": "deviantart"
    }
  ],
  "count": 7,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=deviantart
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
