H1BData API: Search H-1B salary filings
Searches 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.
Unofficial. Not affiliated with or endorsed by H1BData.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- City optional
city Optional city, for example Seattle.
Seattle
Default
.- Year optional
year Filing year, for example 2025. Defaults to the latest full calendar year.
2025
Whole number 2012 or more.
- Employer, required
employer Company name to search, for example Amazon.
Google
- Job Title optional
job_title Optional job title, for example Data Scientist.
Data Scientist
Default
.- Max Results optional
max_results Maximum highest-paid filings to return, for example 100.
10
Whole number from 1 to 1000. Default
100.
Input as JSON
{ "city": "Seattle", "year": 2025, "employer": "Google", "job_title": "Data Scientist", "max_results": 10}Output
{ "currency": "USD", "salaries": [ { "employer": "GOOGLE LLC", "location": "SEATTLE, WA", "page_url": "https://h1bdata.info/details.php?id=I-200-25345-477125" , "job_title": "DATA SCIENTIST", "start_date": "2026-03-28", "base_salary": 200000, "case_status": "Certified", "submit_date": "2025-12-11" }, { "employer": "GOOGLE LLC", "location": "SEATTLE, WA", "page_url": "https://h1bdata.info/details.php?id=I-200-25085-804581" , "job_title": "DATA SCIENTIST", "start_date": "2025-09-01", "base_salary": 178000, "case_status": "Certified", "submit_date": "2025-03-26" }, { "employer": "GOOGLE LLC", "location": "SEATTLE, WA", "page_url": "https://h1bdata.info/details.php?id=I-200-25010-611433" , "job_title": "DATA SCIENTIST", "start_date": "2025-05-02", "base_salary": 161000, "case_status": "Certified", "submit_date": "2025-01-10" } ], "record_count": 3, "median_base_salary": 178000, "average_base_salary": 179666.67}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"h1bdata.info/search_salaries","input":{"city":"Seattle","year":2025,"employer":"Google","job_title":"Data Scientist","max_results":10}}' # 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": "h1bdata.info/search_salaries" , "input": { "city": "Seattle", "year": 2025, "employer": "Google", "job_title": "Data Scientist", "max_results": 10 }})# 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": "h1bdata.info/search_salaries" , "input": { "city": "Seattle", "year": 2025, "employer": "Google", "job_title": "Data Scientist", "max_results": 10 } }), 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 h1bdata.info/search_salaries# with {"city":"Seattle","year":2025,"employer":"Google","job_title":"Data Scientist","max_results":10}"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": [ "employer" ], "properties": { "city": { "type": "string", "default": "", "description": "Optional city, for example Seattle." }, "year": { "type": "integer", "minimum": 2012, "description": "Filing year, for example 2025. Defaults to the latest full calendar year." }, "employer": { "type": "string", "minLength": 1, "description": "Company name to search, for example Amazon." }, "job_title": { "type": "string", "default": "", "description": "Optional job title, for example Data Scientist." }, "max_results": { "type": "integer", "default": 100, "maximum": 1000, "minimum": 1, "description": "Maximum highest-paid filings to return, for example 100." } }}Output schema
{ "type": "object", "required": [ "record_count", "median_base_salary", "average_base_salary", "currency", "salaries" ], "properties": { "currency": { "type": "string", "description": "Salary currency code." }, "salaries": { "type": "array", "items": { "type": "object", "required": [ "employer", "job_title", "base_salary", "location", "submit_date", "start_date", "case_status", "page_url" ], "properties": { "employer": { "type": "string" }, "location": { "type": "string" }, "page_url": { "type": "string", "description": "Public case page." }, "job_title": { "type": "string" }, "start_date": { "type": [ "string", "null" ], "description": "Employment start date, YYYY-MM-DD." }, "base_salary": { "type": "number", "description": "Annual base salary in USD." }, "case_status": { "type": [ "string", "null" ], "description": "Case status, such as Certified or Withdrawn." }, "submit_date": { "type": [ "string", "null" ], "description": "Filing submission date, YYYY-MM-DD." } } }, "description": "Highest-paid matching salary filings first." }, "record_count": { "type": "integer", "description": "Number of matched salary filings." }, "median_base_salary": { "type": [ "number", "null" ], "description": "Median annual base salary in USD across all matched filings." }, "average_base_salary": { "type": [ "number", "null" ], "description": "Average annual base salary in USD across all matched filings." } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
h1bdata.info/search_salaries- Returns
- record count, median and average base salary, top-paid filings with case status
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 h1bdata.info/search_salaries with the inputs above.
Ask your agent
- What's the median base salary for Google software engineer H-1B filings in Mountain View for 2024?
- Show me the top paid H-1B filings from Infosys in Bangalore... actually for Dallas in 2023, with case status
- How much do Meta data scientists earn on H-1B filings in Menlo Park, 2025 median and average?
- Pull the highest-paid labor condition filings for Tata Consultancy Services, year 2022, limit 50 results
- Average base salary across H-1B filings for Deloitte product managers in New York during 2024, with the top 20 paid filings and their case statuses
See more
Gets 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_wagesFinds 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_salaryLooks 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.
ziprecruiter.com/get_salaryGets annual salaries by role at an Indian company from AmbitionBox, ordered by number of reports, plus annual averages by experience band when a job title is supplied.
ambitionbox.com/get_company_salariesShows an employer's average annual base salary and its common jobs, with salary ranges, from PayScale public research pages.
payscale.com/get_company_payFinds open public Naukri job listings by keywords, with optional city and experience filters, in Naukri's search order. Undisclosed salaries have no numeric range.
naukri.com/search_jobsFinds 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_outlook