使用场景

按关键词查找 Instagram 账号、地点和话题标签

按关键词搜索 Instagram 的用户、地点或话题标签并获得 JSON,用来建立创作者、本地商家和标签名单,用于拓展联系和研究。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Instagramlovelyjsonitems[0]"search": "coffee roaster""type": "user""username": "beanbrothers""full_name": "Bean Brothers Coffee""rank": 1

要审核创作者、关注竞争对手或为活动选标签,你得先找到这些账号。应用内的搜索对每个词只显示寥寥几个结果,每换一种说法你都要重新输入。Lovely Router 替你执行搜索:发送关键词和搜索类型,每个结果返回一个 JSON 对象,按结果数量从预付费余额中计费。用一个 API 密钥,就能从建名单的脚本、CRM 任务或 AI 智能体中调用。个人资料和评论数据可能识别出具体的人,因此你需要自行确保合法使用,包括遵守隐私和反垃圾信息的规定。

交给你的 AI 智能体

把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。

按关键词查找 Instagram 账号、地点和话题标签. 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>
01

工作原理

010203
  1. 写下搜索词

    在一个用逗号分隔的 search 中放入多个词:coffee roaster, specialty coffee,需要时再加上城市。

  2. 选择类型和上限

    把它们发送到 POST /v1/tools/instagram-search/run。searchType 可选 user、place、hashtag 或 popular,input 中的 searchLimit 是每个搜索词的上限。

  3. 把名单交给下一步

    把用户名交给账号和帖子工具去审核,把话题标签交给标签运行,其余的保存在你的 CRM 中。

02

一次请求搜索 Instagram

搜索 Instagram接受 search 搜索词和 searchType。popular 返回该关键词下的热门 Reels,而不是账号或标签:

curl https://lovelyrouter.com/v1/tools/instagram-search/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "search": "coffee roaster",
      "searchType": "user",
      "searchLimit": 50
    },
    "max_results": 50
  }'

结果是与关键词匹配的用户、地点或话题标签,取决于你选择的类型。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。

03

每个结果包含什么

字段组你得到的内容
用户与关键词匹配的账号(searchType 为 user 时)
地点与关键词匹配的位置(为 place 时)
话题标签与关键词匹配的标签(为 hashtag 时)
热门 Reels该关键词下的热门 Reels(为 popular 时)

该工具负责找出候选对象。要核查粉丝数、简介和互动,请把用户名交给账号和帖子工具。

04

实用配方

建立创作者长名单。

对 10 个细分领域关键词搜索 user,searchLimit 设为 25,合并用户名并去重。

梳理本地商家。

用关键词加城市搜索 place,例如 restaurant prague,列出可以联系的店铺。

选择活动话题标签。

用你的产品词搜索 hashtag,挑出与你的品类相符的标签。

查看某个主题下的热门 Reels。

在策划内容之前,用 popular 看看某个关键词正在流行什么。

接入审核流程。

把用户名交给 instagram-profile,再保留达到粉丝数门槛的那些。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"在 Instagram 上搜索 'vegan bakery' 和 'plant based bakery' 的用户,每个词取 25 个,把用户名去重后合并成一个列表给我。把 searchLimit 设为 25,max_results 设为 50。"

06

费用说明

按结果付费:启动运行时会预留它的最高费用,即每次调用费加上每条结果费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的结果付费,在开始时就被拒绝的运行不收费。

为 8 个搜索词各取 50 个结果,就按 400 个结果计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。

07

常见问题

?
可以搜索什么?+

按关键词搜索用户、地点或话题标签,用 popular 类型则搜索热门 Reels。

一次运行可以搜索多个词吗?+

可以。把它们用逗号分隔放进 search。searchLimit 对每个词分别生效。

一次运行最多能返回多少个结果?+

总共最多 250 个,searchLimit 设置每个词的数量。

能得到粉丝数吗?+

该工具负责找出账号、地点和标签。要获得简介和粉丝数,请把用户名交给 instagram-profile 运行。

需要订阅吗?+

不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。

正在建立用于联系的名单?请看网红研究、获客线索和工具目录。

一个预付费密钥,搞定模型、数据和智能体

无需订阅。充值后按需使用,每笔费用都能在日志中查看。