SocialToAI免费开始控制台

Instagram API 数据接口

帖子、评论、账号。

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

6 个里 5 个动作可用
2 积分起每次调用
同一种格式和其他调用一样

最近实测:最近更新:

POST/v1/search200 OK3 积分
platform: "instagram" · query: "nike" · type: "user"
@…·示例里的文字已去掉
null 粉丝null 关注null 作品
这里始终是 null:biofollowersfollowingposts_count
page下一页cursor
billing本次调用3 积分
示例数据录制的 46 条里的 1 条

5 个动作。
外加 1 个 Instagram 独有的接口。

点开任意一行,看请求怎么写;完整的参数和返回字段在它自己的页面。

动作每次调用积分
搜索按关键词找账号:名称。/v1/search3 积分
请求里要带
platformquery
全部参数和返回字段
登录后运行3 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/search \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "query": "nike",    "type": "user"  }'
POST /v1/searchKey 放在 Authorization 请求头里
详情用编号或链接取一条帖子:正文、作者、点赞数、评论数、播放或阅读数和发布时间。/v1/detail2 积分
请求里要带
platformid 或 url
include=transcript视频的逐字稿2 积分
全部参数和返回字段
登录后运行2 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/detail \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "id": "DeCPVhERA8e"  }'
POST /v1/detailKey 放在 Authorization 请求头里
评论一条帖子下的评论:正文、点赞数和时间。/v1/comments2 积分
请求里要带
platformid 或 url
reply_of某条评论下的回复2 积分
全部参数和返回字段
登录后运行2 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/comments \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "id": "DeCPVhERA8e"  }'
POST /v1/commentsKey 放在 Authorization 请求头里
账号资料一个账号:名称、简介、粉丝数和关注数。/v1/user_profile2 积分
请求里要带
platformusername
全部参数和返回字段
登录后运行2 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/user_profile \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "username": "nasa"  }'
POST /v1/user_profileKey 放在 Authorization 请求头里
账号作品一个账号最近发布的帖子。/v1/user_posts2 积分
请求里要带
platformusername另有 1 个选填参数
全部参数和返回字段
登录后运行2 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/user_posts \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "instagram",    "username": "nasa"  }'
POST /v1/user_postsKey 放在 Authorization 请求头里

Instagram 不提供:热榜。

Instagram 独有 · 内容与账号每次调用积分
话题帖子按话题名取一页带这个话题的最新 Instagram 帖子,每页约 33 条。instagram.hashtag_posts2 积分

按话题名取一页带这个话题的最新 Instagram 帖子,每页约 33 条:文案、作者编号、点赞评论数、发布时间、图片。

id
全部参数和返回字段
登录后运行2 积分登录后带着这个接口进入 Playground,不会自动运行。调用失败不扣积分。
cURL
curl https://api.socialtoai.com/v1/call/instagram.hashtag_posts \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "id": "nasa"  }'
POST /v1/call/instagram.hashtag_postsKey 放在 Authorization 请求头里

也可以不管参数。
直接问。

通过 MCP 接一次 SocialToAI,之后该调哪些接口由 AI 决定,每一步花了多少积分你都看得到。

你问01

读一下这条 Instagram 帖子的评论,告诉我大家在抱怨什么。

AI 会调用
  • detail你贴的那条帖子2 积分
  • comments前 3 页6 积分
合计8 积分
你问02

在 Instagram 上找 5 个发露营咖啡内容的账号,看看他们最近发了什么。

AI 会调用
  • search搜账号 · “camping coffee”3 积分
  • user_posts5 个账号10 积分
合计13 积分
你问03

这个 Instagram 账号有多大?最近发了什么?

AI 会调用
  • user_profile你说的那个账号2 积分
  • user_posts最近一页2 积分
合计4 积分

Instagram MCP 服务器

每个平台,同一种结构。
学一次就够。

Instagram 的帖子和小红书的笔记,返回的字段名一模一样。平台给不了的字段,返回 null。

Instagram详情 · 2 积分
{  "platform": "instagram",  "id": "…",  "ref": "…",  "approx": [],  "type": "content",  "url": "https://example.com/…",  "format": "video",  "title": null,  "text": "…",  "published_at": "2026-10-03T14:10:18.000Z",  "author": {    "id": "…",    "username": "…",    "name": "…",    "verified": true,    "followers": null  },  "metrics": {    "likes": 221586,    "comments": 2299,    "shares": null,    "collects": null,    "views": 5610912,    "reposts": null  },  "images": ["https://example.com/…"],  "hashtags": null,  "is_pinned": null}
Instagram 给不了,返回 null:titleauthor.followersmetrics.sharesmetrics.collectsmetrics.repostshashtagsis_pinned
小红书详情 · 12 积分
{  "platform": "xiaohongshu",  "id": "…",  "ref": "…",  "approx": [],  "type": "content",  "url": "https://example.com/…",  "format": "image",  "title": "…",  "text": "…",  "published_at": "2026-10-09T01:00:34.000Z",  "author": {    "id": "…",    "username": "…",    "name": "…",    "verified": null,    "followers": null  },  "metrics": {    "likes": 927,    "comments": 122,    "shares": 256,    "collects": 59,    "views": null,    "reposts": null  },  "images": ["https://example.com/…", "https://example.com/…"],  "hashtags": ["…", "…"],  "is_pinned": false}
小红书给不了,返回 null:author.verifiedauthor.followersmetrics.viewsmetrics.reposts
示例数据字段恒在,变的只是值。

6 个工具能读 Instagram。

全部工具

Instagram 有官方 API 吗?

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

来源:Instagram 官方开发者文档,核对于 2026-10-17。

同样的调用,另外 17 个平台也能用。

全部平台和价格

你的 AI 离全网社交媒体
只差一个地址。

注册送 100 积分,不用绑卡