# Instagram API 数据接口

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

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

## 可用的动作

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

Instagram 不提供：热榜。

## 调用示例

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

## Instagram 独有的接口

每个接口用自己的 op，通过 `POST /v1/call/{op}` 调用；完整的参数和返回字段在它自己的页面。

### 内容与账号

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 话题帖子 | 按话题名取一页带这个话题的最新 Instagram 帖子，每页约 33 条。 | `instagram.hashtag_posts` | 2 | https://socialtoai.com/zh/instagram-hashtag-posts-api.md |

## Instagram 给不了的字段

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

| 字段 | 哪些动作 |
| --- | --- |
| `bio` | search |
| `followers` | search |
| `following` | search |
| `posts_count` | search, user_profile |
| `title` | detail, user_posts |
| `author.followers` | detail, user_posts |
| `metrics.shares` | detail, user_posts |
| `metrics.collects` | detail, user_posts |
| `metrics.reposts` | detail, user_posts |
| `hashtags` | detail, user_posts |
| `is_pinned` | detail |
| `url` | comments |
| `reply_count` | comments |
| `content_id` | comments |

## 在 AI 里直接问

- 读一下这条 Instagram 帖子的评论，告诉我大家在抱怨什么。 → detail, comments × 3: 8 积分

- 在 Instagram 上找 5 个发露营咖啡内容的账号，看看他们最近发了什么。 → search, user_posts × 5: 13 积分

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

[Instagram MCP 服务器](https://socialtoai.com/zh/mcp/instagram.md)

## 能读 Instagram 的现成工具

- [品牌口碑](https://socialtoai.com/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子
- [评论分析](https://socialtoai.com/zh/tools/comment-insights.md)：评论里的话题和各自占比，还有提问、想买和投诉
- [账号监测](https://socialtoai.com/zh/tools/account-watch.md)：每个账号最近发了什么，哪条明显好于平时
- [找达人](https://socialtoai.com/zh/tools/find-creators.md)：做这类内容的达人：体量、近期作品和契合度
- [达人档案](https://socialtoai.com/zh/tools/creator-card.md)：这个人在其他平台的账号、各自的数据，以及是同一人的把握
- [批量链接数据](https://socialtoai.com/zh/tools/batch-stats.md)：每条链接一行，给出现在的数字；失效的链接会标出来

## 官方 API

Instagram 官方 API 需通过商业或创作者账号使用。除账号自身数据外，还能读取其他专业账号的基本信息和帖子列表，以及按话题标签搜索；要为非自有账号提供服务，须通过应用审核和企业验证，话题标签搜索也须通过应用审核。

来源：[Instagram 官方开发者文档](https://developers.facebook.com/docs/instagram-platform/overview)，核对于 2026-10-17。
