# DeviantArt 热门作品 API (deviantart.popular)

- Canonical page: [https://everyinfra.com/deviantart-api/popular](https://everyinfra.com/deviantart-api/popular?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "deviantart", "action": "popular", "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 热门作品列出 DeviantArt 上正受关注的作品，可以看全站，也可以用 `category` 限定一个类别，每件作品带标题、描述、类别、原图和缩略图、发布时间，以及作者的用户名、昵称、头像和主页链接。它不接受关键词，回答的是「社区眼下在关注什么」，适合趋势研究者、美术指导和周边选品团队观察正在升温的风格、题材和画师。

热门列表随时间变化，一次调用只是一个切面：定时调用并按 `id` 存档，就能看出哪些作品留在榜上、哪些掉了出去。`category` 沿用 DeviantArt 自己的分类体系，和其他平台的分类不能一一对应。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| category | enum: any_category / designs / digital_art / fan_art / film_animation / literature / photography / traditional_art | no | not declared | popular 的作品类别：any_category 不限、digital_art 数字艺术、traditional_art 传统艺术、photography 摄影、fan_art 同人、literature 文学、film_animation 影视动画、designs 设计。 |
| limit | integer (1–100) | no | 30 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| thumbnail_url | 缩略图链接，分辨率低于 image_url。 |
| author_username | 作者用户名（@handle），通常可用于拼 URL。 |
| author_name | 作者昵称（显示名）。 |
| author_url | 作者在原平台的主页链接。 |
| author_avatar_url | 作者头像。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| author_emails | 作者公开的联系邮箱列表，原文返回；没有时没有这个字段。 |
| author_email_domains | 上面那些邮箱的域名列表。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 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": "popular",
  "params": {}
}'
```

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

```text
{
  "id": "req_…",
  "platform": "deviantart",
  "action": "popular",
  "results": [
    {
      "id": "•••",
      "url": "https://www.deviantart.com/artbysarf/art/I-Love-Whom-I-Love-1240121428",
      "title": "I Love Whom I Love",
      "text": "I get the \"I wish they had stayed together and had a happy ending!\" take, but the point is that they don't. They loved, they lived, they hurt, they parted, and they remembered what was , and those memories stay with them, granting happiness and sorrow in equal measure. Things bei…",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/86856c64-19ff-46f6-99f4-b6d2248e02f0/dkic3tg-97618c8b-a707-4df6-84d1-7d31812d04bb.png/v1/fill/w_741,h_1079,q_70,strp/i_love_whom_i_love_by_artbysarf_dkic3tg-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/86856c64-19ff-46f6-99f4-b6d2248e02f0/dkic3tg-97618c8b-a707-4df6-84d1-7d31812d04bb.png/v1/fit/w_300,h_900,q_70,strp/i_love_whom_i_love_by_artbysarf_dkic3tg-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm4…",
      "author_username": "•••",
      "author_name": "•••",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2025-09-10T16:40:20.000Z",
      "platform": "deviantart"
    },
    {
      "id": "•••",
      "url": "https://www.deviantart.com/bhar0/art/THE-LITTLE-PRINCE-FANART-CONTEST-1069520036",
      "title": "THE LITTLE PRINCE/ FANART CONTEST",
      "text": "Here I draw. esta fue mi participación para el concurso del principito. ✨ . . capas: 150 tiempo: ??",
      "image_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/ceb5e1a4-9b8d-4efc-ade1-d3c7ffdce38f/dhorixw-20561ecf-3090-4f52-919e-c664f1884863.png/v1/fill/w_1078,h_741,q_70,strp/the_little_prince_fanart_contest_by_bhar0_dhorixw-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJz…",
      "thumbnail_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/ceb5e1a4-9b8d-4efc-ade1-d3c7ffdce38f/dhorixw-20561ecf-3090-4f52-919e-c664f1884863.png/v1/fit/w_300,h_880,q_70,strp/the_little_prince_fanart_contest_by_bhar0_dhorixw-300w.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzd…",
      "author_username": "•••",
      "author_name": "•••",
      "author_url": "https://www.deviantart.com/•••",
      "author_avatar_url": "https://a.deviantart.net/•••",
      "posted_at": "2024-06-30T20:11:00.000Z",
      "platform": "deviantart"
    }
  ],
  "count": 28,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 能按关键词找热门作品吗？

不能。热门作品没有必填参数，唯一的选项是 `category`：不传或传 `any_category` 看全部类别，传 `traditional_art`、`literature` 等只看其中一类。要按题材找作品，用 DeviantArt 关键词搜索，它接受作品主题的搜索词。

### 怎么跟踪热门列表的变化？

固定频率调用同一个请求，比如每天一次，把每次的结果连同日期存下来。以 `id` 为键比较前后几次，就知道一件作品何时上榜、停留了多久；`posted_at` 能看出它是新上传的还是早先发布的。比较时保持同一个 `category`。

### 怎么找出反复上榜的画师？

把存下的结果按 `author_username` 分组，统计每位画师出现在几次结果里，跨周反复出现的画师关注度更持久。把这个用户名（不带 @）交给 DeviantArt 作品画廊可以看这位画师的其他作品，交给 DeviantArt 主页详情可以看公开资料。

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