# DeviantArt Search API (deviantart.search)

- Canonical page: [https://everyinfra.com/en/deviantart-api/search](https://everyinfra.com/en/deviantart-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "deviantart", "action": "search", "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

DeviantArt Search finds public artworks by subject, given a `keyword` such as landscape, and returns each work's title, description, `category`, full image and thumbnail, publish time, and the artist's username, display name, avatar and profile link. It answers what artists publish on a subject and how they treat it: art directors gather references and find illustrators with it, and rights holders use it to watch fan art of their characters.

Narrow results to one kind of work with the `category` parameter, or use `any_category` for all kinds. The `category` value on each row follows DeviantArt's own taxonomy and is not mapped to other platforms. `keyword` matches works, not artist names; to read one artist, pass the row's `author_username` to the DeviantArt Details or DeviantArt Gallery capability. Use `thumbnail_url` for previews and `image_url` for full resolution.

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Specifies the subject search query for DeviantArt artwork discovery, such as landscape. Queries artwork titles and metadata rather than performing exact username searches; use gallery with username to fetch work by a specific creator. |
| 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": "search",
  "params": {
    "keyword": "landscape illustration"
  }
}'
```

```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": "search",
        "params": {
            "keyword": "landscape illustration",
        },
    },
    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 30. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "deviantart",
  "action": "search",
  "results": [
    {
      "id": "•••",
      "url": "https://www.deviantart.com/nicknamejeffreyjiang/art/Radio-Telescope-On-Mountain-Peak-1383309800",
      "title": "Radio Telescope On Mountain Peak",
      "text": "Want more AI art and wallpapers? Watch for new inspiration every day: https://www.deviantart.com/nicknamejeffreyjiang This artwork is available as a wide-screen digital file, suitable for wallpaper use, personal collection, and visual inspiration. Full resolution: 2016 × 864 px. …",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/5237e797-4a93-4bff-a339-3bd118dc3794/dmvl4o8-e13abb79-e506-4726-becb-a95f1fcbe4bb.jpg/v1/fill/w_1366,h_585,q_70,strp/radio_telescope_on_mountain_peak_by_nicknamejeffreyjiang_dmvl4o8-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOi…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/5237e797-4a93-4bff-a339-3bd118dc3794/dmvl4o8-e13abb79-e506-4726-becb-a95f1fcbe4bb.jpg/v1/fit/w_300,h_823,q_70,strp/radio_telescope_on_mountain_peak_by_nicknamejeffreyjiang_dmvl4o8-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJ…",
      "author_username": "•••",
      "author_name": "•••",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2026-09-22T04:14:33.000Z",
      "platform": "deviantart"
    },
    {
      "id": "•••",
      "url": "https://www.deviantart.com/titzerfirm/art/Vibrant-Desert-Mountain-Valley-Landscape-Illustration-1382946370",
      "title": "Vibrant Desert Mountain Valley Landscape Illustration",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c8405067-6894-4abc-bee9-654f0b46e062/dmvdc8y-b995d9e4-f449-42a4-adeb-e64ce269ac78.png/v1/fill/w_1182,h_676,q_70,strp/vibrant_desert_mountain_valley_landscape_illustration_by_titzerfirm_dmvdc8y-pre.jpg?token=eyJ0eXAiOiJKV1Q…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c8405067-6894-4abc-bee9-654f0b46e062/dmvdc8y-b995d9e4-f449-42a4-adeb-e64ce269ac78.png/v1/fit/w_300,h_732,q_70,strp/vibrant_desert_mountain_valley_landscape_illustration_by_titzerfirm_dmvdc8y-300w.jpg?token=eyJ0eXAiOiJKV1Qi…",
      "author_username": "•••",
      "author_name": "•••",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2026-09-21T03:28:22.000Z",
      "platform": "deviantart"
    }
  ],
  "count": 30,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### Can I search for an artist instead of artworks?

Not with DeviantArt Search: `keyword` is matched against works and is not an exact username lookup. If you know the artist, pass their username to DeviantArt Details for the profile or to DeviantArt Gallery for their works. From a search row, the artist's handle is in `author_username` and the profile link in `author_url`.

### Which `category` values does Search accept?

`digital_art`, `traditional_art`, `photography`, `fan_art`, `literature`, `film_animation` and `designs` each limit DeviantArt Search to one kind of work, and `any_category` applies no limit. Use `fan_art` when you track fan works based on a game, film or brand character.

### Should I store `image_url` or `thumbnail_url`?

Both, if storage allows. `thumbnail_url` is a lower-resolution copy that suits previews, grids and quick visual review, while `image_url` points to the full image for close inspection or similarity checks. Keep each work's `url` and `id` too, so you can return to the page and recognize works you have already stored.

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