跳到正文

Social API:以 JSON 获取 YouTube、Instagram 和 Threads 数据

通过同一个异步 API 搜索 YouTube、Instagram 和 Threads,并以 JSON 读取公开的视频、频道、主页、帖子、评论和 YouTube 字幕,附带播放量、点赞数、评论数和发布时间。

2026年11月19日 运行的 SOCIAL 任务,按返回的视频、帖子和数字绘制。

三个平台,一个 API

向 taskType SOCIAL 发送 payload.platform(youtube、instagram 或 threads),用 payload.action 指定要读取的内容。YouTube 读取搜索、视频、评论、频道、频道的视频列表和字幕;Instagram 读取主页、最新帖子、帖子和 Reels、评论和关键词搜索;Threads 读取搜索、主页、帖子和回复。结果通过 Webhook 或轮询获取。

Search
0:00 / 16:35•I tried them all›

Earbuds Awards 2026 - Best Bluetooth Earbuds by Category!

Mike O'Brien668K subscribersSubscribe1.8K
169K views2 days ago
🏆 Sony WF-1000XM6 👉 https://mikeobrienmedia.com/SonyWF100...
Bose QuietComfort Ultra Gen 2 Earbuds https://mikeobrienmedia.com/BoseQCU2 ...more
In this video
TimelineChaptersTranscript
Search transcript
I tried them all

0:00I've tested hundreds of pairs of earbuds and in front of me are the 10 best you can buy right now. And by the end of this video, you'll know exactly which pair to get based on your budget and

0:08based on how you use them. And as an audio reviewer, I've watched the earbud space change a lot this year with some incredible pairs of earbuds launched, yet some of the best ones got almost no

0:17coverage at all. So in this video, I have 10 categories with definitive winners. Everybody has different needs, so the categories include different budgets, best for travel, best for

0:26workouts, best for office, and things like that. And for each, I'll have a winner and I'll have a runner-up or an alternative style. So no matter who you are, there should be some pair of

169 CommentsSort by
Pinned by @MikeOBrienMedia
@MikeOBrienMedia2 days ago
That was a lot of earbuds. Here are the links for those of you looking to buy! (affiliate) Sony WF-1000XM6 https://mikeobrienmedia.com/SonyWF1000XM6
9Reply
1 reply
@tenka__2 days ago
i would like to humbly suggest another category: bone conducting earphones, not sure if they fit here or headphones but they are such a gamechanger for running and especially swimming
60Reply
7 replies
viewCountlikeCountsubscriberCount169598 · 1897 · 668000
观看页面显示的数字,返回精确值。
chapters11
每个章节的标题、开始时间和缩略图,即播放器进度条上的分段。
segments525
字幕的分时段内容、全文和语言。
commentstotalCount20 · 169
每条评论的作者、点赞数、回复数,以及创作者是否置顶或点了爱心。
2026年11月20日 对“wireless earbuds review”的第一个结果运行的 SOCIAL video、transcript 和 comments。
步骤 1

YouTube:视频、评论和字幕

search 返回带有播放量、点赞数、时长、频道和发布时间的 videos,pageToken 读取下一页。video 读取包含标签、章节、评论数和相关视频的观看页面,comments 返回评论及其回复,channel_videos 列出频道的视频、Shorts 或直播,transcript 以文本和按时间划分的片段返回字幕。

JSON
{
  "taskType": "SOCIAL",
  "payload": {
    "platform": "youtube",
    "action": "search",
    "query": "wireless earbuds review",
    "limit": 10
  }
}
步骤 2

Instagram 和 Threads:主页、帖子和回复

profile 返回公开账号的粉丝数、帖子数、简介和最新帖子,Instagram 的 posts 为每个帖子加上点赞数、评论数和发布时间。post 读取一个帖子或 Reel,comments 和 replies 读取其下的评论和回复,search 读取某个关键词的帖子。Threads 帖子带有点赞、回复、转发、引用和分享数。

JSON
{
  "taskType": "SOCIAL",
  "payload": {
    "platform": "threads",
    "action": "post",
    "postUrl": "https://www.threads.com/@natgeo/post/Df7PqvxEQiG"
  }
}
natgeo
Our favorite fact today is that an orange-haired, ornately patterned spider in Malaysia has the scientific name Heteropoda davidbowie 🕷️
14,004199800243
actionlikeCountreplyCountrepostCountquoteCountshareCount
"profile"2,051521341243
"post"14,00419980029243
Threads 上同一条 natgeo 帖子,11月19日 15:50 UTC 用 profile 读取,11月20日 4:39 UTC 用 post 再次读取。

品牌在 AI 回答之外的曝光

把同一个产品问题发送给回答引擎,把同一个关键词发送给 SOCIAL,就能并排比较 AI 推荐的产品和人们观看、分享的视频和帖子。AI 回答引用的 YouTube 视频可用 video 读取,查看其播放量和点赞数。

What are the best wireless earbuds under $200?ChatGPT“What are the best wireless earbuds under $200?”
Instagram 搜索摘要“wireless earbuds”
16:35YouTube 第一个结果“wireless earbuds review”
型号ChatGPTInstagram 搜索摘要YouTube 第一个结果
Soundcore Liberty 5 Pro提到未提到提到
Apple AirPods Pro 3提到提到未提到
Technics EAH-AZ80提到未提到未提到
Nothing Ear (3)提到未提到未提到
Sony WF-1000XM5提到未提到未提到
Sony WF-1000XM6未提到提到提到
Bose QuietComfort Ultra Earbuds (2nd Gen)未提到提到提到
Samsung Galaxy Buds4 Pro未提到提到提到
Soundcore P30i未提到提到未提到
Soundcore P20i未提到提到未提到
ChatGPT 推荐的产品、Instagram 在“wireless earbuds”搜索摘要中提到的型号,以及“wireless earbuds review”的 YouTube 第一个结果在简介中列出的型号。2026年11月19日 运行。

每次请求 0.5 积分

YouTube、Instagram 和 Threads 在所有操作上每次完成的请求收取 0.5 积分,只对完成的请求计费。

查看价格 →
按套餐计算的请求费用
套餐1,000 次
Basic≈ $1.25
Max≈ $0.50

这是使用完月度套餐积分时的换算费用。

相关功能

用 500 免费积分开始

在 Playground 运行第一个任务,或用你的密钥直接调用 API。