设计师、商品企划和内容团队都要提前几个月做规划,而家居、时尚、美食和婚礼灵感最好的信号,就是人们在 Pinterest 上收藏了什么。刷网站只能得到一种感觉,得不到一张表格。Lovely Router 把一次搜索变成数据:发送一个关键词,每个图钉返回一个 JSON 对象,按图钉数从预付费余额中计费。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
Pinterest 趋势研究:看看大家都在收藏什么创意. 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>工作原理
列出你追踪的主题
使用
minimalist living room这样的普通搜索短语,或者粘贴 Pinterest 的图钉、画板、个人主页或搜索链接,从一个已知的起点开始。设置上限后运行工具
把输入连同
max_results发送到POST /v1/tools/pinterest-search/run。运行会从你的余额中预留它的最高费用,并以 JSON 返回图钉。按收藏数排名
按收藏数排序,查看排名靠前的结果的标题和图片,每月重复一次,就能看出哪些主题在升温。
一次请求获取某个主题的 Pinterest 图钉
Pinterest 图钉搜索在 search 中接受关键词,并用 maxItems 限制图钉数量:
curl https://lovelyrouter.com/v1/tools/pinterest-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"search": "minimalist living room",
"maxItems": 30
},
"max_results": 30
}'除了关键词,你还可以传入 startUrls:图钉、创意、合集、个人主页或搜索链接。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每个图钉包含什么
| 字段组 | 你会得到 |
|---|---|
| 内容 | 图片和标题 |
| 来源 | 图钉链接 |
| 需求 | 收藏数 |
工具返回的就是搜索页面展示的内容。你可以让模型给图片打标签、把标题归并成主题,或者根据排名靠前的图钉撰写产品需求简报。
实用配方
搜索五个配色短语,各取前 50 个图钉,比较收藏数,看看哪些配色一直被人收藏。
搜索产品类型,取收藏最多的 30 个图钉,让模型描述其中共有的造型、材质和搭配风格。
每月运行你的品类关键词,并把标题连同收藏数保存下来。排名上升的主题就排进日历。
搜索你想卖的风格。前 100 个图钉的收藏数普遍偏低,说明兴趣不足;收藏数高则说明需求在哪里。
在 startUrls 中传入个人主页或合集链接,看看他们的哪些图钉获得的收藏最多。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"在 Pinterest 上搜索 'small balcony garden ideas',取 40 个图钉,按收藏数排名,并告诉我三种反复出现的风格。把 max_results 设为 40。"
与其他趋势来源搭配
Pinterest 展示的是人们收藏了什么,搜索和其他社交平台则展示他们在搜什么、聊什么:
Pinterest 搜索结果中的 Pin:图片、标题、链接、收藏数。
某关键词随时间及按地区的 Google 趋势热度。
Instagram 话题标签或关键词下的帖子或 Reels:文案、点赞、评论、作者、媒体。
按关键词或话题标签搜索 TikTok 视频:文案、播放、点赞、分享、作者、音乐。
按关键词获取小红书笔记。
google-trends显示同一个短语的关注度如何随时间变化。instagram-hashtag显示 Instagram 上某个话题标签下的帖子。tiktok-search查找同一主题的 TikTok 视频。xiaohongshu-search覆盖小红书上同类的灵感内容。
费用说明
按图钉付费:启动运行时会预留它的最高费用,即每次调用费加上每个图钉费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的图钉付费,在开始时就被拒绝的运行不收费。
收集 200 个图钉,就按 200 个图钉计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。