# Threads API 数据接口

Threads API（数据接口）可以搜帖子，读帖子详情、账号资料和账号发布的帖子，不用登录 Threads 账号，也不用提供 Cookie。每次调用 2 积分（约 $0.004–$0.0067），失败不扣。Threads 的内容不带作者粉丝数，这个字段返回 null。可以直接发 HTTP 请求，也可以通过 MCP 接到 AI 客户端里用。最近实测：2026-10-17。

- 页面：https://socialtoai.com/zh/platforms/threads/
- 最近更新：2026-10-17
- 最近实测：2026-10-17

## 可用的动作

| 动作 | 返回什么 | 由什么参数选中 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- | --- |
| `search` | 按关键词找帖子：正文、作者、点赞数、评论数和发布时间。 | — | `threads.search` | 2 | https://socialtoai.com/zh/threads-search-api.md |
| `detail` | 用编号或链接取一条帖子：正文、作者、点赞数、评论数、播放或阅读数和发布时间。 | — | `threads.detail` | 2 | https://socialtoai.com/zh/threads-detail-api.md |
| `user_profile` | 一个账号：名称、简介和粉丝数。 | — | `threads.user_profile` | 2 | https://socialtoai.com/zh/threads-user-profile-api.md |
| `user_posts` | 一个账号最近发布的帖子。 | — | `threads.user_posts` | 2 | https://socialtoai.com/zh/threads-user-posts-api.md |

Threads 不提供：热榜和评论。

## 调用示例

```bash
curl https://api.socialtoai.com/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "threads",
    "query": "nasa"
  }'
```

## Threads 给不了的字段

这些字段在对应的调用里始终是 null，并列在返回的 `unavailable` 里。

| 字段 | 哪些动作 |
| --- | --- |
| `title` | search, detail, user_posts |
| `author.followers` | search, detail, user_posts |
| `metrics.collects` | search, detail, user_posts |
| `metrics.views` | search, user_posts |
| `following` | user_profile |
| `posts_count` | user_profile |
| `author.name` | user_posts |

## 在 AI 里直接问

- 这周 Threads 上，家用咖啡和抹茶哪个更火？ → search, search: 4 积分

- 这个 Threads 账号有多大？最近发了什么？ → user_profile, user_posts: 4 积分

- 查一下这个 Threads 账号，告诉我它是谁。 → user_profile: 2 积分

## 能读 Threads 的现成工具

- [品牌口碑](https://socialtoai.com/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子
- [账号监测](https://socialtoai.com/zh/tools/account-watch.md)：每个账号最近发了什么，哪条明显好于平时
- [达人档案](https://socialtoai.com/zh/tools/creator-card.md)：这个人在其他平台的账号、各自的数据，以及是同一人的把握
- [批量链接数据](https://socialtoai.com/zh/tools/batch-stats.md)：每条链接一行，给出现在的数字；失效的链接会标出来

## 官方 API

Threads API 主要服务于授权该应用的用户。应用获批关键词搜索权限后，可按关键词搜索公开帖子（获批前只能搜到用户本人的帖子）；查询公开主页资料，除 Meta 官方账号外也需获批。

来源：[Threads 官方开发者文档](https://developers.facebook.com/docs/threads/keyword-search)，核对于 2026-10-17。
