制定薪资区间、给 offer 定价,或决定在哪里组建团队,都需要知道某个岗位在某个地方的行情,而你读到的调研报告往往已是一年前的数据。实时的职位发布才是最新的:它们显示雇主今天公布的薪酬,以及谁在招人。Lovely Router 替你读取 Indeed 职位:发送一个职位名称和一个地点,每个职位返回一个 JSON 对象,按职位数量从预付费余额中计费。用一个 API 密钥,就能从脚本、表格任务或 AI 智能体中调用。
交给你的 AI 智能体
把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。
用 Indeed 职位数据对标薪资与招聘需求. 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>工作原理
确定岗位和地点
列出你要对标的职位名称和地点,例如
Chicago, IL的data analyst。设置上限后运行工具
把它们发送到
POST /v1/tools/indeed-jobs/run。input中的limit是每次运行的上限。加上datePosted可以只保留近期发布的职位。计算薪资区间
只保留列出了薪资的职位,然后对每个岗位和地点取区间及中位水平,并逐月跟踪变化。
一次请求获取职位
Indeed 职位接受 title 和 location,每次运行最多返回 200 个职位。country 是两位字母代码,例如 us 或 uk,datePosted 可取 1、3、7 或 14 天:
curl https://lovelyrouter.com/v1/tools/indeed-jobs/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{
"input": {
"title": "data analyst",
"location": "Chicago, IL",
"country": "us",
"datePosted": "14",
"limit": 50
},
"max_results": 50
}'每个职位都包含公司、薪资、发布日期和职位描述。运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。
每个职位包含什么
| 字段组 | 你得到的内容 |
|---|---|
| 岗位 | 你搜索的职位名称和地点 |
| 雇主 | 公司 |
| 薪酬 | 薪资(职位发布中列出时) |
| 时间 | 发布日期 |
| 内容 | 职位描述 |
并非每个职位都会列出薪酬。请只用列出薪酬的职位来计算区间,并说明有多少个。
实用配方
在你所在的城市对该岗位运行,datePosted 设为 14,保留列出薪资的职位,取这些区间的低值、中间值和高值。
对同一职位在三个地点各运行一次,在选择招聘地点之前,看看哪里公布的薪酬更高。
把某个岗位的结果按公司分组,列出你在人才上的竞争对手。
把职位描述发送给模型,让它统计该岗位最常见的技能和工具。
每月运行同一个搜索,跟踪出现的职位数量。
更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"在 Indeed 上搜索美国 Austin, TX 的 'product designer',近 14 天发布,取 100 个职位。在列出薪资的职位里,给我最低值、中位数和最高值。把 limit 和 max_results 设为 100。"
搭配其他职位来源
Indeed 只是市场的一个视角。再加上其他来源,补充薪酬和公司背景:
按职位名称和地点获取 Indeed 招聘信息:公司、薪资、发布日期、描述。
来自 LinkedIn 职位搜索 URL 的招聘信息:职位、公司、地点、发布日期、描述。
按关键词和地点获取 Glassdoor 招聘信息。
Upwork 上的自由职业项目:标题、预算或时薪、技能、客户记录、发布时间。
直接来自企业招聘官网和 ATS(Greenhouse、Lever、Workday 等)的最新职位,可按职位、地点和公司搜索。
linkedin-jobs补充同一岗位在 LinkedIn 上的职位。glassdoor-jobs补充 Glassdoor 上的职位和公司背景。upwork-jobs显示该岗位的自由职业需求和费率。career-site-jobs直接读取公司招聘网站上的职位。
想围绕这些数据搭建招聘流程,请看招聘数据。
费用说明
按职位付费:启动运行时会预留它的最高费用,即每次调用费加上每个职位费用乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的职位付费,在开始时就被拒绝的运行不收费。
对标 5 个岗位、每个 100 个职位,就按 500 个职位计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。