ZipRecruiter API: Get salary for a job title
Looks up ZipRecruiter's salary page for a job title in the United States or one US state and returns typical pay, the percentile range and the top-paying cities. Only salary pages that exist publicly are returned.
Unofficial. Not affiliated with or endorsed by ZipRecruiter.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- State optional
state US state name or two-letter code, for example California or CA. Defaults to the whole United States.
(default)
- Job Title, required
job_title Job title to look up, for example Medical Assistant.
Pharmacist
Input as JSON
{ "job_title": "Pharmacist"}Output
{ "location": "United States", "job_title": "Pharmacist", "page_link": "https://www.ziprecruiter.com/Salaries/Pharmacist-Salary" , "date_shown": "2026-09-28", "top_paying_cities": [ { "city": "Soledad, CA", "annual_pay_usd": 189532 }, { "city": "Scotts Valley, CA", "annual_pay_usd": 163963 }, { "city": "Fbi Academy, VA", "annual_pay_usd": 158628 } ], "average_annual_pay_usd": 126701, "average_hourly_pay_usd": 60.91, "average_weekly_pay_usd": 2436, "average_monthly_pay_usd": 10558, "typical_25th_percentile_annual_pay_usd": 116500, "typical_75th_percentile_annual_pay_usd": 140000, "top_earners_90th_percentile_annual_pay_usd": 149000}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"ziprecruiter.com/get_salary","input":{"job_title":"Pharmacist"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "ziprecruiter.com/get_salary" , "input": { "job_title": "Pharmacist" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "ziprecruiter.com/get_salary" , "input": { "job_title": "Pharmacist" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run ziprecruiter.com/get_salary# with {"job_title":"Pharmacist"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "job_title" ], "properties": { "state": { "type": "string", "default": "", "description": "US state name or two-letter code, for example California or CA. Defaults to the whole United States." }, "job_title": { "type": "string", "minLength": 1, "description": "Job title to look up, for example Medical Assistant." } }}Output schema
{ "type": "object", "required": [ "job_title", "location", "average_annual_pay_usd", "average_hourly_pay_usd", "average_weekly_pay_usd", "average_monthly_pay_usd", "typical_25th_percentile_annual_pay_usd", "typical_75th_percentile_annual_pay_usd", "top_earners_90th_percentile_annual_pay_usd", "top_paying_cities", "date_shown", "page_link" ], "properties": { "location": { "type": "string", "description": "United States or the selected state." }, "job_title": { "type": "string", "description": "Job title on the salary page." }, "page_link": { "type": "string", "description": "Link to this salary page." }, "date_shown": { "type": "string", "format": "date", "description": "Date of the salary estimate." }, "top_paying_cities": { "type": "array", "items": { "type": "object", "required": [ "city", "annual_pay_usd" ], "properties": { "city": { "type": "string", "description": "City name shown on the page." }, "annual_pay_usd": { "type": "number", "description": "Annual pay in USD." } }, "additionalProperties": false }, "description": "Up to 10 top-paying cities shown on this salary page." }, "average_annual_pay_usd": { "type": "number", "description": "Average annual pay in USD." }, "average_hourly_pay_usd": { "type": "number", "description": "Average hourly pay in USD." }, "average_weekly_pay_usd": { "type": "number", "description": "Average weekly pay in USD." }, "average_monthly_pay_usd": { "type": "number", "description": "Average monthly pay in USD." }, "typical_25th_percentile_annual_pay_usd": { "type": "number", "description": "25th percentile annual pay in USD." }, "typical_75th_percentile_annual_pay_usd": { "type": "number", "description": "75th percentile annual pay in USD." }, "top_earners_90th_percentile_annual_pay_usd": { "type": "number", "description": "90th percentile annual pay in USD." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
ziprecruiter.com/get_salary- Returns
- average annual, hourly, weekly and monthly pay; 25th, 75th and 90th percentile pay; top-paying cities; date; page link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method ziprecruiter.com/get_salary with the inputs above.
Ask your agent
- How much does a registered nurse make per year in Texas, and what are the 25th and 90th percentile salaries?
- What's the average hourly pay for a forklift operator across the US according to ZipRecruiter?
- Find typical salary for software engineers in WA, including weekly and monthly pay and the highest-paying cities
- I'm thinking of becoming a dental hygienist in Florida — what's the pay range and which cities pay the most?
- Pull the ZipRecruiter salary figures for Data Analyst nationwide, with the percentile breakdown and a link to the page
See more
All ZipRecruiter methodsFinds open ZipRecruiter jobs by keywords and location, with distance and posting-date filters. Returns up to 100 public listings in search order; details that are not shown are null.
ziprecruiter.com/search_jobsFinds the typical pay for a job title in the United States or a U.S. city or state on Indeed's public salary pages, with the number of reported salaries, the last update date, and the top-paying cities and companies when shown.
indeed.com/get_salaryGets typical pay for a job title from PayScale research pages. You can narrow it to a country and a city.
payscale.com/get_salaryFinds the latest published BLS pay and employment for an occupation in the US, a state, or a metro area, and compares it with the national median.
bls.gov/get_occupation_wagesShows an employer's average annual base salary and its common jobs, with salary ranges, from PayScale public research pages.
payscale.com/get_company_paySearches H-1B labor condition filings by employer, job title, city and year. Returns salary statistics across all matched filings and the highest-paid filings with case status.
h1bdata.info/search_salariesFinds the best-matching Occupational Outlook Handbook profile for a job title and returns its pay, entry requirements, jobs and 10-year outlook.
bls.gov/get_occupation_outlookGets Zumper's current median monthly rents for studio through three-bedroom homes in a city, with monthly and yearly percentage changes. National rank is included only when the same-month U.S. national report ranks the city.
zumper.com/get_average_rents