一条 TikTok 视频下可能有上千条评论,真正有用的却被淹没其中:没人回答的问题、反复出现的顾虑、大家想要的功能。靠手工阅读,超过一条视频就吃不消。Lovely Router 替你把它们收集起来。发送视频链接,每条评论返回一个 JSON 对象,按评论条数从预付费余额中计费。用一个 API 密钥,就能从脚本、笔记本或 AI 智能体中运行。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
从 TikTok 评论中挖掘受众的问题与顾虑. Use the Lovely Router data tools: each returns JSON and is billed per result.
- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.
My task: <the inputs (links, keywords or accounts) and how many results you need>工作原理
挑选值得读的视频
选你自己表现最好的帖子、竞品的新品发布视频,或你所在领域的爆款视频。把视频链接粘贴进来,每个条目一个。
设置上限后运行工具
把链接发送到
POST /v1/tools/tiktok-comments/run,在输入中带上maxItems,在请求上带上max_results。如果每条评论下的讨论串也很重要,就把includeReplies设为true。按主题整理评论
把评论交给模型,让它归纳出问题、顾虑、需求和好评,并给出各自的数量和几条示例原话。
一次请求获取 TikTok 视频的评论
列出 TikTok 评论在 startUrls 中接受视频链接,只支持帖子、视频和图文链接。maxItems 限制返回的评论条数,includeReplies 会加上每条评论下的回复:
curl https://lovelyrouter.com/v1/tools/tiktok-comments/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"startUrls": [
"https://www.tiktok.com/@billieeilish/video/7050551461734042926"
],
"maxItems": 20
},
"max_results": 20
}'评论按每条一个对象返回,模型可以把它们当作一份普通列表来读。测试阶段请把上限设小一些。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每条评论包含什么
| 字段组 | 你得到的内容 |
|---|---|
| 评论 | 视频下的评论,通过视频链接找到 |
| 回复 | 当 includeReplies 为 true 时,每条评论下的回复 |
该工具的说明是按 URL 返回视频下的评论。在基于这些字段搭建流程之前,先小规模运行一次,确认你的账户实际拿到哪些字段。
实用配方
对评论最多的五条视频各运行一次,上限设为 500,让模型提取所有问题、合并重复项,并按出现频率排序。前十名就是你下一份 FAQ 或下一个视频系列的选题。
产品视频发布后,开启回复拉取评论,让模型列出观众犹豫的原因:价格、尺寸、物流、信任。把排名第一的问题在商品页里解决。
在上午 9 点对发布视频运行一次,第二天再运行一次。对比两次结果,看看情绪有没有变化、出现了哪些新问题。
在两个账号各取一条视频,用相同上限运行,让模型说说各自的受众提出了哪些对方品牌听不到的诉求。
用 tiktok-search 搜索某个趋势,取排名最高的视频,在评论里找“哪里能买”“有没有……款”这类需求。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取这三条 TikTok 视频的评论及回复,分成问题、投诉和需求三类,各给出前五项并附上示例原话。把 max_results 设为 300。"
搭配其他 TikTok 工具
评论告诉你观众怎么想。搜索、账号和文字稿数据则告诉你说了什么、是谁说的:
按 URL 获取 TikTok 视频的评论。
按关键词或话题标签搜索 TikTok 视频:文案、播放、点赞、分享、作者、音乐。
某个 TikTok 账号的视频,附带作者的粉丝数和获赞数。
按 URL 获取 TikTok 视频的语音文字稿。
YouTube 视频或 Shorts 的评论:内容、点赞、回复数、作者、日期。按热门或最新排序。
tiktok-search按关键词或话题标签找到值得阅读的视频。tiktok-profile列出一个账号的视频,方便你挑选要读的那几条。tiktok-transcript提供口播内容,让你把视频和评论对照着读。youtube-comments在 YouTube 上完成同样的工作。
如需跨平台的全品牌监听,请看社交聆听。
费用说明
按条评论付费:启动运行时会预留它的最高费用,即每次调用费加上每条评论费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的条评论付费,在开始时就被拒绝的运行不收费。
读取 100 条评论就按 100 条评论计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
除了顶层评论,还能获取回复吗?+
可以。在输入中把 includeReplies 设为 true,工具会同时获取它找到的每条评论下的回复。回复也算作结果,请相应提高你的上限。
支持哪些链接?+
TikTok 的帖子、视频和图文链接。该工具不支持账号主页、搜索和话题标签链接;这些请使用 tiktok-search 或 tiktok-profile。
一次运行最多能返回多少条评论?+
上限由输入中的 maxItems 设置,该工具单次运行最多 500 条评论。需要更大的样本,就对不同的视频启动多次运行。
数据里包含每条评论的作者吗?+
该工具的说明是返回视频下的评论。请先做一次小规模测试,看看你的账户会收到哪些字段,并把你存储的任何用户名都当作个人数据来对待。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的条评论付费,不会自动续费。