社媒数据接口给 AI 用要多少 token?每个接口逐个实测(2026)

226 个接口各取一份录制的真实返回逐个数过:平台原始 JSON 合计 919.4 万 token,AI 通过 DataXAPI 的 MCP 读到 45.2 万 token,少 95%;直接调接口拿到的 JSON 96.1 万 token,少 90%。 免费试用,最多 333 次;失败不收费。

更新于 2026-11-06

怎么测的

每个接口取一份录制的真实返回,就是接口页上展示的那份。三组数:平台原始 JSON 是平台接口返回的原样;DataXAPI JSON 是直接调接口拿到的默认返回,meta、计费信息都算在内;AI 读到的是 MCP 交给模型的文本(精简档,带第一行的说明)。三组都由线上同一套代码从同一份录制算出,用 GPT-4o 的 o200k 分词器数,2026-11-06 统计。

一次返回多少条由平台定,所以比的是同一份数据的三种形态,不是条数。少数只回几个数字的接口(阅读数、转写这类),加上统一的说明后反而多几十到几百 token,表里照实列出。

一次任务的总成本

一次任务的成本 = 调用费 + 模型读返回的 token 费 + 等待时间。按每百万输入 token 3 美元算,AI 读一页原始的抖音视频搜索结果要 $0.56,比这一页的调用费 $0.0200 还贵;通过 DataXAPI 读同一页是 $0.005。

每个接口的实测

单位是 token。接口名链接在页末的接口列表里,每个接口页上有这份录制的返回。

接口平台原始 JSONDataXAPI JSONAI 经 MCP 读到AI 读到的少
douyin.comments.replies.list1.8 万4,2722,95783%
douyin.hashtags.videos.list36.5 万2,8761,98699%
bilibili.comments.replies.list2.6 万3,1502,41891%
bilibili.trends.list2,7831,1861,16558%
bilibili.users.get4.4 万231139100%
bilibili.users.videos.list1.3 万6,0605,98454%
bilibili.videos.comments.list9.2 万3,0042,17698%
bilibili.videos.get7.3 万398279100%
bilibili.videos.search1 万4,5763,32567%
bilibili.videos.trending1.3 万4,7643,88270%
douyin.index.brands.history7,4791,1381,08685%
douyin.index.brands.metrics57327422261%
douyin.index.creators.videos.list3.4 万3,8663,74889%
douyin.index.creators.audience.get1.3 万6,0105,92853%
douyin.index.creators.metrics54429424256%
douyin.index.keywords.audience.get2.3 万2,5722,52089%
douyin.index.keywords.history1.2 万1,9671,89284%
douyin.index.keywords.related3.7 万8,1238,22278%
douyin.index.trends.list3,07783379274%
douyin.index.videos.search1.1 万4,0472,29080%
douyin.trends.list2.9 万1,6131,59295%
douyin.users.get3,53435723693%
douyin.users.history68432919372%
douyin.users.search7,2725,4173,62050%
douyin.users.videos.list58.4 万6,7404,59799%
douyin.videos.comments.list2.3 万4,4032,97887%
douyin.videos.get3.1 万41726999%
douyin.videos.metrics33122112463%
douyin.videos.related38.4 万3,3502,40599%
douyin.videos.search18.7 万2,3291,62299%
douyin.videos.trending5,4111,7911,14279%
douyin.xingtu.creators.rates.get1,08525820681%
kuaishou.comments.replies.list4,9691,75493481%
kuaishou.trends.list3,4511,6451,62253%
kuaishou.users.get3,85621610097%
kuaishou.users.search1.4 万2,5201,12792%
kuaishou.users.videos.list12.5 万4,4623,13697%
kuaishou.videos.comments.list1.5 万6,0973,65876%
kuaishou.videos.get4,53438323695%
kuaishou.videos.search10 万2,2481,52198%
telegram.channels.get34840810670%
telegram.channels.messages.list1.7 万3,6232,74484%
telegram.messages.get68334524664%
x.communities.posts.list1.5 万4,3253,27478%
x.lists.posts.list4.4 万1.7 万1.3 万71%
x.posts.article.get3,5982,40532391%
x.posts.get1,46438826582%
facebook.pages.get1,55246314091%
facebook.pages.posts.list2,9961,72474275%
facebook.posts.comments.list9,2364,0561,64682%
facebook.posts.get2,36651818892%
google.ads.get1,56334421087%
google.advertisers.ads.list5,3195,8365,0834%
google.advertisers.search43837431329%
linkedin.ads.get71263625564%
linkedin.ads.search1.3 万9,5343,34874%
linkedin.companies.get3,52143621394%
linkedin.companies.posts.list2,0372,1981,79312%
linkedin.posts.get87953224672%
linkedin.posts.search1.6 万7,9722,22186%
meta.ads.get4,1681,75416296%
meta.ads.search9.5 万3.6 万5,34594%
meta.ads.transcript.get22227518815%
meta.advertisers.ads.list13.2 万5.2 万3,73697%
meta.advertisers.search4,6313,82527694%
threads.posts.get8.4 万561205100%
threads.posts.search5.5 万1 万2,62195%
threads.users.get1,46245110893%
threads.users.posts.list21 万1.8 万2,25299%
instagram.comments.replies.list6,2365,6341,30279%
instagram.hashtags.posts.list10.3 万1.7 万5,98294%
instagram.posts.comments.list5,6205,4761,28777%
instagram.posts.get1.4 万94123698%
instagram.posts.transcript.get168230177—
instagram.users.get5.9 万414106100%
instagram.users.posts.list33.6 万1.2 万2,35999%
instagram.users.search2 万1.7 万2,02390%
tiktok.ads.search1,9551,6891,61517%
tiktok.ads.get95640616683%
tiktok.comments.replies.list3.3 万5,4802,65292%
tiktok.creative_center.ads.get1,88428716391%
tiktok.creative_center.ads.search1.7 万2,1482,10488%
tiktok.hashtags.videos.list62.1 万6,4192,937100%
tiktok.users.get73129910586%
tiktok.users.search9.3 万6,2891,81698%
tiktok.users.videos.list27 万3,2931,59599%
tiktok.videos.comments.list8.9 万1.2 万5,33594%
tiktok.videos.get2.7 万45622199%
tiktok.videos.search91.9 万1.1 万5,76799%
tiktok.videos.transcript.get1,1151,38621781%
weibo.comments.replies.list7 万2,9461,80997%
weibo.posts.comments.list4.9 万3,6442,12396%
weibo.posts.get7,33052932796%
weibo.posts.likers.list4.6 万7,6572,78494%
weibo.posts.search14.5 万2,7151,53099%
weibo.trends.list5,7071,2581,23778%
weibo.users.followers.list2 万3,0231,16694%
weibo.users.get90824310888%
weibo.users.posts.list19.7 万7,5163,67798%
weibo.users.search2,4192,20669171%
x.posts.quotes.list3.6 万3,8202,79292%
x.posts.replies.list3,4671,5771,06169%
x.posts.retweeters.list2,8502,6992,6557%
x.posts.search3.6 万1.1 万4,38588%
x.threads.posts.list5,3951,9501,31576%
x.trends.list79346742347%
x.users.followers.list3,1122,2031,31658%
x.users.following.list4 万2.5 万1.6 万61%
x.users.get2581939264%
x.users.mentions.list2.6 万7,7243,78086%
x.users.posts.list1.1 万5,1493,54568%
x.users.search4,5422,8781,83460%
xiaohongshu.images.search2.8 万1.1 万7,41373%
xiaohongshu.notes.get9,6191,44241796%
xiaohongshu.comments.replies.list2,2111,15685062%
xiaohongshu.notes.comments.list4,6832,0421,46169%
xiaohongshu.notes.search5.1 万1 万3,60093%
xiaohongshu.pgy.keywords.history1.2 万4,4432,09482%
xiaohongshu.pgy.keywords.related4,0852,7342,75733%
xiaohongshu.topics.notes.list5.8 万1.4 万4,32093%
xiaohongshu.topics.get1,03817412588%
xiaohongshu.trends.list1 万66865094%
xiaohongshu.users.get3,26334223493%
xiaohongshu.users.notes.list4.9 万7,2694,13292%
xiaohongshu.users.search3,8272,3691,22468%
youtube.channels.get1,14036021481%
youtube.channels.search3,7583,6932,12843%
youtube.channels.videos.list1.6 万1.3 万6,78458%
youtube.comments.replies.list3,1642,1671,49353%
youtube.videos.comments.list7,4543,8442,43067%
youtube.videos.get6,57460936294%
youtube.videos.search6,6645,3772,09369%
youtube.videos.transcript.get3,2391,99118994%
wechat_channels.users.get55527213875%
wechat_channels.videos.get2,13737828986%
wechat_channels.videos.comments.list7,0007,1144,81831%
wechat_channels.videos.share_link.get3411307877%
wechat_channels.users.collections.list85541014983%
wechat_channels.collections.videos.list3.6 万3,6223,54690%
wechat_channels.users.videos.list3.5 万6,6256,54981%
wechat_channels.videos.search8,2522,6681,47682%
wechat.posts.search1.4 万5,5734,34469%
wechat_mp.accounts.articles.list7,6342,1842,12272%
wechat_mp.accounts.get4391498281%
wechat_mp.articles.comments.list2,9301,31765078%
wechat_mp.articles.get7,19894968690%
wechat_mp.articles.metrics55239150—
wechat_mp.comments.replies.list2,2231,03657774%
wechat_channels.backup.users.get72526512782%
wechat_channels.backup.users.videos.list2.5 万6,5396,46574%
wechat.backup.posts.search2.5 万5,4774,29083%
wechat.accounts.search1.2 万1,68768494%
wechat_channels.backup.videos.search2.2 万3,5712,23990%
wechat_mp.accounts.search50939014272%
wechat_mp.accounts.owner.get2621868568%
wechat.index.keywords.history1,12194286423%
wechat.keywords.related84349281—
wechat.miniprograms.search1.5 万5,1002,42784%
wechat_channels.users.search59338719168%
wechat_channels.videos.metrics158318227—
wechat_channels.comments.replies.list7,1113,1182,15770%
wechat_channels.users.live_replays.list8.5 万6,2556,14693%
reddit.posts.comments.list1 万2,5101,73883%
reddit.posts.get5,99091433794%
reddit.posts.search3.8 万4,7171,47996%
reddit.posts.trending3.2 万3,0191,39396%
reddit.subreddits.posts.list7,1343,3653,19455%
reddit.trends.list47120613970%
reddit.users.get1,16927212090%
reddit.users.posts.list6.1 万8,3623,95394%
zhihu.answers.comments.list1.1 万1,8331,36988%
zhihu.answers.get9,8552,31364593%
zhihu.articles.get7,0022,41650593%
zhihu.columns.articles.list11.5 万4.8 万8,34093%
zhihu.comments.replies.list1.6 万3,7502,92982%
zhihu.pins.get4,08749135891%
zhihu.posts.search19.4 万5.7 万9,90195%
zhihu.questions.answers.list12.8 万2.6 万1.1 万92%
zhihu.questions.get41924917259%
zhihu.trends.list1.6 万1,9921,91988%
zhihu.users.answers.list6.1 万1.9 万9,07785%
zhihu.users.articles.list3.4 万1.4 万9,79471%
zhihu.users.followers.list7,9822,5281,64979%
zhihu.users.get98925214485%
zhihu.users.pins.list9.2 万6,1434,17095%
zhihu.users.search1.4 万2,4701,54389%
reddit.subreddits.get4,66324710598%
reddit.users.subreddits.list6,7753,9711,37480%
x.communities.get2,11019512294%
tiktok.shop.products.get8,09565317798%
tiktok.shop.products.reviews.list5,0964,0411,42972%
tiktok.shop.products.search2.3 万5,2852,42689%
tiktok.shop.sellers.products.list1.2 万4,8152,28681%
xiaohongshu.shop.products.get2.2 万62616899%
xiaohongshu.shop.products.reviews.list1.6 万4,4361,09393%
xiaohongshu.shop.products.search17 万3,3781,94099%
x.communities.members.list3,4082,2701,37960%
x.lists.followers.list3,6632,5531,51159%
x.lists.members.list3,8012,7211,68456%
linkedin.posts.transcript.get51557321458%
reddit.posts.transcript.get1,38622510393%
x.posts.transcript.get86170117—
tiktok.users.followers.list16.2 万1.2 万3,59598%
youtube.channels.posts.list4,2212,2272,03352%
youtube.posts.get30142526811%
pinterest.pins.get4,29154332592%
pinterest.pins.search3.9 万3,7462,23294%
douyin.xingtu.creators.search2.9 万2,30277197%
douyin.xingtu.creators.get1,37628915189%
douyin.xingtu.creators.audience.get1,8972,1122,061—
douyin.xingtu.creators.metrics52423115970%
douyin.xingtu.creators.videos.list7,8952,6852,53168%
douyin.xingtu.creators.keywords.get46731526344%
douyin.xingtu.creators.scores.get55027422260%
douyin.xingtu.creators.content_mix.get55629224057%
douyin.xingtu.creators.conversion.get44220815565%
douyin.xingtu.campaigns.list1.2 万1.3 万9,15025%
xiaohongshu.pgy.creators.search2.7 万2,8301,41695%
xiaohongshu.pgy.creators.get1,11422411590%
xiaohongshu.pgy.creators.audience.get1,4141,5281,454—
xiaohongshu.pgy.creators.metrics3,37823810197%
xiaohongshu.pgy.creators.notes.list1,4581,23576647%
bilibili.backup.users.videos.list20.2 万2,0832,00399%
douyin.backup.users.videos.list28.4 万4,3372,90099%
douyin.backup.videos.search25.6 万3,4572,37799%
weibo.backup.trends.list7,1621,2591,23883%

怎么接?

接法:把这句贴给你的 AI 助手:“读 https://dataxapi.com/agents.md,在这里帮我接好 DataXAPI。我的 API Key 是 dx_…,之后所有 DataXAPI 的调用都用它。”支持远程 MCP 的客户端,也可以直接填地址 https://api.dataxapi.com/mcp,请求头带 Authorization: Bearer <key>。

为什么用 DataXAPI

  • 稳定:近 30 天接口可用 99.9%,状态页公开,可以自己核对。
  • 快:近 7 天付费调用的中位耗时 2.5 秒(2026-11-06 统计)。
  • 省 token:226 个接口各取一份录制的真实返回,平台原始 JSON 合计 919.4 万 token,AI 通过 DataXAPI 的 MCP 读到的只有 45.2 万 token,少 95%;直接调接口拿到的 JSON 也少 90%(2026-11-06 统计)。所有平台同一种格式:作者在 author,互动数在 metrics,翻页用 page.next_cursor,换平台不用重写解析。
  • 先看再用:每个接口的页面上都有一份录制的真实返回,字段一目了然。
  • 花钱可控:失败不收费;每把 Key 能设金额上限,X-Max-Price 限定一次最多花多少,同一个 Idempotency-Key 24 小时内不重复扣费。
  • 接 AI 方便:远程 MCP 服务已在 MCP 官方登记处登记(com.dataxapi/mcp),Claude、Cursor、ChatGPT 都能直接用。
  • 免费试用,最多 333 次,不用绑卡。

用到的接口

每个都带价格;接口页上有参数、字段和一份录制的返回。

抖音的更多内容
抖音 APITikTok API小红书 API微博 API微信公众号 APIB站 API抖音数据怎么导出?抖音 sec_uid 是什么?和 uid、抖音号有什么区别?抖音 aweme_id、modal_id 是什么?v.douyin.com 短链接怎么用?抖音搜索指数等于搜索次数吗?巨量算数关键词指数是什么、能拿到什么?抖音星图是什么?通过 API 能拿到哪些达人数据?抖音开放平台能查别人的视频和评论吗(2026)投放前怎么看抖音、小红书的关键词热度(2026)抖音博主所有视频数据怎么导出(2026)抖音评论怎么批量导出,挖用户需求(2026)抖音低粉爆款怎么找?能批量拉吗(2026)抖音 a_bogus 和 x-bogus 是什么(2026)抖音 msToken 是什么(2026)抖音接口怎么选:搜索、账号、评论各用哪个(2026)抖音热点数据怎么用程序拉(2026)怎么用 AI 给账号做诊断和复盘(2026)星图怎么批量筛达人、看报价(2026)抖音 ttwid 是什么(2026)抖音 verifyFp、s_v_web_id 是什么(2026)抖音 sec_uid 怎么转 uid,uid 怎么转回 sec_uid(2026)抖音数据接口有哪些?第三方接口和开放平台的区别,能取什么(2026)抖音 MCP:在 Claude、Cursor 里查抖音视频和评论(2026)抖音、小红书达人数据怎么批量取?KOL 资料、作品和报价(2026)中国社媒营销数据工具大全:巨量算数、蒲公英、星图、微信指数等官方工具和数据接口(2026)哪个社媒数据接口最适合接给 AI?看一次返回占多少 token(2026)社媒接口返回太长,AI 上下文被塞满、token 烧得快怎么办?在 Claude Code、Codex 里怎么取抖音、公众号、小红书数据?(2026)给 AI 和 agent 用的抖音数据接口:返回省 token、Claude 和 Cursor 直接调(2026)抖音视频的播放地址(下载链接)怎么用 API 拿到?(2026)抖音、小红书搜索框的联想词(下拉词)怎么用 API 批量取?(2026)抖音视频的完播率和播放量怎么查?(星图视频报告 API,2026)如何批量获取抖音关键词热度趋势如何批量导出抖音视频评论如何查询抖音星图达人报价抖音有 API 吗?用 Python 拉取视频和评论(2026)SocialCrawl 替代:抖音、小红书、公众号数据社媒数据 API 怎么选:失败扣不扣费、MCP 和中国平台

一把 Key,开始用。

21 个平台 230 个接口,一次 $0.0003 起。出错和超时不收费。

免费开始