# 热门内容榜 API

[规范网址](https://social2api.com/roles/posts-trending/)

按平台的热门内容入口找当前的推荐或上榜作品。这个总览覆盖 3 个平台的 3 个扩展入口。交付本次出现的公开作品 ID、链接、标题和可用排名或互动字段。

DataXAPI 价目生效日期与版本 [2026-11-25 · v22](https://social2api.com/pricing-catalog.json)

## Agent 提示词

~~~~text
用 Social2api 完成这个任务。按平台的热门内容入口找当前的推荐或上榜作品。
先向我核对平台、输入、采集范围和请求上限，再按此页选端点。只从环境读取授权凭据。
固定榜类、采集时间和返回上限再比较。需要精确排名时优先用来源返回的排名，记录样本顺序与排名的差别。
交付本次出现的公开作品 ID、链接、标题和可用排名或互动字段。请附实际调用量、数据源、空结果和缺失字段。
https://social2api.com/roles/posts-trending/
~~~~

[查看 抖音 视频热门 接口](https://social2api.com/docs/api/catalog-douyin-videos-trending/)

## 按平台和输入选择接口

扩展接口要有含 catalog 权限的 Social2api Key 和自有 DataXAPI Key。下面的价格是 DataXAPI 通道的默认报价。各通道的覆盖与返回字段以端点文档为准。

| 平台接口 | 必需输入 | 结果与条数 | 默认价格（USD） |
| --- | --- | --- | --- |
| [哔哩哔哩 视频热门](https://social2api.com/docs/api/catalog-bilibili-videos-trending/) · GET /v1/bilibili/videos/trending | 无必填参数 | data.items · 上限 20 条/页 | $0.002/次 |
| [抖音 视频热门](https://social2api.com/docs/api/catalog-douyin-videos-trending/) · GET /v1/douyin/videos/trending | 无必填参数 | data.items · 上限 10 条/页 | $0.002/次 |
| [Reddit 帖子热门](https://social2api.com/docs/api/catalog-reddit-posts-trending/) · GET /v1/reddit/posts/trending | 无必填参数 | data.items · 上限 25 条/页 | $0.002/次 |

## 从 抖音 视频热门 开始

先读该端点的参数和计费表，再把示例值换成你的输入。命令会调用实时 API。

该示例默认报价为 $0.002/次。单次公开价格上限为 $0.002，空结果和参数变体费用见该端点的说明。

~~~~bash
curl -fsS -G "https://social2api.com/v1/douyin/videos/trending" \
  -H "Authorization: Bearer $SOCIAL2API_API_KEY" \
  -H "X-DataXAPI-Key: $DATAXAPI_API_KEY"
~~~~

## 核对返回结构

下方是端点文档中的合成结构。输出字段和结果数量以实际响应为准。

~~~~json
{
  "code": "ok",
  "request_id": "3f022215-9708-4eef-9878-cc67b31f3d6b",
  "data": {
    "items": [
      {
        "id": "7694940173372575014",
        "type": "video",
        "title": "Example public result",
        "published_at": "2026-11-15T12:00:00Z"
      }
    ]
  },
  "page": {
    "next_cursor": null,
    "cursor_expires_at": null,
    "has_more": false,
    "returned": 1
  },
  "warnings": [],
  "meta": {
    "capability": "douyin.videos.trending",
    "result_status": "complete",
    "fetched_at": "2026-11-15T12:00:00Z"
  }
}
~~~~

## 保存结果和覆盖范围

交付本次出现的公开作品 ID、链接、标题和可用排名或互动字段。

固定榜类、采集时间和返回上限再比较。需要精确排名时优先用来源返回的排名，记录样本顺序与排名的差别。

记录 request\_id、采集时间、warnings 与结果状态。有游标时保持筛选项、字段和通道一致，再继续读取。

## 相关指南和问答

- [热榜 API](https://social2api.com/roles/trends-list/)。 读取榜单当前可见的热门话题、搜索词或榜项。保存榜类、地区、排名、榜项标题和采集时间，按同一榜口径比较不同快照。
- [内容详情 API](https://social2api.com/roles/posts-get/)。 按公开作品的原链接或平台 ID 查一条内容详情。返回一条内容记录，按平台读取正文、标题、发布时间和可用的作者或互动字段。
- [关键词趋势与内容选题](https://social2api.com/solutions/trends/)。 用榜单发现候选词，比较抖音逐日指数，再检索和转录具体视频，为内容选题保留可回看的证据。

## 接口文档

- [抖音 视频热门](https://social2api.com/docs/api/catalog-douyin-videos-trending/)
- [扩展数据 API 的认证和用量](https://social2api.com/docs/#extended-data)

## 参考来源

- [Social2api 生产操作与参数契约](https://social2api.com/openapi.json)
- [DataXAPI 上游端点契约](https://dataxapi.com/zh/apis/douyin/videos/trending/)

## 给 AI 代理

- [给 AI 的站点说明](https://social2api.com/zh/llms.txt)。 面向代理的功能概览与文档发现索引。
- [接入 AI 的步骤](https://social2api.com/zh/agents/)。 从免费试跑到 API Key 与 MCP 接入。
- [接入步骤（Markdown）](https://social2api.com/agents.md)。 接入指南的纯文本 Markdown 版本。
- [OpenAPI](https://social2api.com/openapi.json)。 查看 HTTP 请求参数、认证方式和响应结构。
- [价格表](https://social2api.com/prices.json)。 查看托管积分规则、扩展 API 报价和充值状态。
- [MCP 地址](https://social2api.com/docs/api/mcp/)。 Streamable HTTP 接入、授权方式和工具说明。

MCP Streamable HTTP 地址 `https://social2api.com/mcp`。

[查看 抖音 视频热门 接口](https://social2api.com/docs/api/catalog-douyin-videos-trending/)
