如果你的品牌、产品或竞品在中国被人谈论,大部分讨论都发生在抖音的短视频里,而 App 内搜索只能让你看到几屏内容,既不能筛选和导出,也无法逐周对比。Lovely Router 替你执行搜索:发送关键词,每条视频返回一个 JSON 对象,按视频条数从预付费余额中计费。用一个 API 密钥,就能从定时任务、数据看板或 AI 智能体中调用。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
追踪抖音视频如何谈论你的品牌或产品. 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>工作原理
选择关键词
中英文品牌名、产品名、话题标签,以及你想对比的竞品名称。
设置上限后运行工具
把关键词连同
maxResultsPerQuery和max_results发送到POST /v1/tools/douyin-search/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回视频。阅读并对比
给每次运行的结果标注日期保存。统计每个关键词下的新视频数量,阅读点赞最多的视频,并标出需要回应的内容。
一次请求搜索抖音
搜索抖音视频接受 keywords。每个关键词单独搜索;sort 接受 general、most_liked 或 latest,publishTime 接受 unlimited、one_day、one_week 或 half_year:
curl https://lovelyrouter.com/v1/tools/douyin-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"keywords": ["咖啡"],
"maxResultsPerQuery": 50,
"sort": "latest",
"publishTime": "one_week"
},
"max_results": 50
}'不同关键词之间重复的视频会被去除。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每条视频包含什么
| 字段组 | 你会得到 |
|---|---|
| 结果 | 与关键词匹配的一条抖音视频 |
该工具的数据文件只把结果描述为与关键词匹配的抖音视频,因此在基于它开发之前,请先查看一条结果以确认确切的字段。对于已找到的视频,如需完整文案、统计数据和视频流链接,请用 douyin-video 再读取一遍。
实用配方
把 publishTime 设为 one_week、sort 设为 latest,搜索你的品牌名,保存链接,只查看你还没看过的视频。
把 sort 设为 most_liked 进行搜索,看看哪些视频在左右人们对你所在品类的印象。
在一次运行中把你的品牌和两个竞品作为独立的关键词发送,对比各自拿到的视频数量。
搜索消费者称呼你产品的中文词,再让模型根据标题总结反复出现的主题。
选取某个话题标签下最佳视频的作者,加入你的联系名单。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"在抖音上搜索 brands.txt 中的这 5 个品牌名,取最近一周内按最新排序的结果,列出视频的标题和链接。把 max_results 设为 100。"
搭配其他中文数据源
抖音只是人们讨论的地方之一。再加上其他平台,才能看到全貌:
按关键词获取抖音视频。
按链接获取抖音视频:文案、标题、日期、播放、点赞、评论、分享、话题、音乐、作者,以及视频和音频链接。
抖音创作者主页的最新作品(视频和图文):文案、日期、播放、点赞、评论、分享、音乐、作者数据。
按关键词获取小红书笔记。
按关键词获取微博帖子。
douyin-video把视频链接转为完整的统计数据、话题标签和视频流链接。douyin-profile展示你找到的创作者最近发布的所有内容。xiaohongshu-search覆盖小红书上相同关键词的笔记。weibo-search覆盖微博上相同关键词的帖子。
费用说明
按视频付费:启动运行时会预留它的最高费用,即每次调用费加上每条视频费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的视频付费,在开始时就被拒绝的运行不收费。
5 个关键词、每个 20 条视频,按 100 条视频计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。
常见问题
可以用英文搜索吗?+
可以。该工具接受中文、英文、话题标签、品牌名和 emoji 作为关键词。中文词通常能找到更多中文观众在看的内容。
一次运行最多能返回多少条视频?+
每次运行最多 100 条视频。maxResultsPerQuery 是每个关键词要获取的条数,所以费用会随它增长。
能只获取近期的视频吗?+
可以。把 publishTime 设为 one_day、one_week 或 half_year,再把 sort 设为 latest,让最新的排在前面。
需要抖音账号吗?+
不需要。你只需发送关键词并提供 API 密钥,不必在自己这边处理中文网站的任何事情。
需要订阅吗?+
不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。