H-1B Salary Data API

Programmatic access to 9,172,091 H-1B visa salary records from the U.S. Department of Labor.

What is the H-1B Salary Data API?
A REST API serving more than 9 million H-1B visa salary records from the U.S. Department of Labor (DOL/OFLC LCA filings). Covers all 19 fiscal years from FY2008 to FY2026, across 56 states and territories. Every salary is normalized to annual.
How much does Google pay H-1B software engineers?
Query the API with employer=google&job_title=software+engineer to get actual DOL filings with salary ranges, locations, and prevailing wages. Example: Google Software Engineer III in Mountain View, CA: $185,000 to $210,000/year (FY2024).
Where can I get H-1B salary data programmatically?
Send a GET request to /api/v1/salaries with your filters and receive structured JSON. The API covers more than 9 million records from FY2008 to FY2026 with normalized annual salaries, prevailing wages, and wage levels. Free tier available with 20 requests per day.
GET /api/v1/salaries?employer=google&job_title=software+engineer&state=CA
Get a free API key

H-1B Salary Data at a Glance

9M+
LCA Filings Since 2008
19/19
Fiscal Years Covered
56
States, DC + Territories
100%
Salaries Normalized

Example Request and Response

# Search Google software engineer salaries in California
curl -H "X-API-Key: YOUR_KEY" \
  "https://h1bapi.com/api/v1/salaries?employer=google&job_title=software+engineer&state=CA"
{
  "results": [
    {
      "employer": "Google LLC",
      "job_title": "Software Engineer",
      "salary_min": 185000,
      "salary_max": 210000,
      "worksite_city": "Mountain View",
      "worksite_state": "CA",
      "fiscal_year": 2024,
      "soc_code": "15-1252",
      "prevailing_wage_annual": 165000,
      "wage_level": "III"
    }
  ],
  "meta": { "page": 1, "per_page": 25, "has_more": true }
}

API Features

Full-text search

Instant search on employer name, job title, and worksite city powered by FTS5

Advanced filters

Filter by state, salary range, SOC code, wage level, case status, fiscal year

Normalized salaries

All wages converted to annual. Hourly, weekly, biweekly, and monthly rates are automatically handled

19 data fields

Case number, SOC code, prevailing wage, visa class, decision date, and more

Paginated & sortable

Sort by salary or date, paginate through millions of results efficiently

API key auth

Per-tier rate limiting with free, dev, pro, and business plans

OpenAPI spec

Machine-readable spec at /openapi.json for auto SDK generation

AI-ready

Includes llms.txt, structured data, and OpenAPI. Built for AI agents and LLM tools

Why Use an API Instead of a Website?

Most H-1B salary sites are browser only. You can look up records one at a time, but you cannot integrate the data into your own applications. This API is a programmable REST endpoint designed for developers and data teams. Query more than 9 million salary records directly from your compensation tools, recruiting dashboards, immigration case research, or AI agents. No scraping required.

Pricing

Free $0
20 requests/day
Last 2 fiscal years
6 fields per record
25 results/page
Dev $9/mo
5,000 requests/day
All years (2008-2026)
19 fields per record
50 results/page
Business $79/mo
100,000 requests/day
All years (2008-2026)
19 fields per record
100 results/page
Priority support
Start free

Data Source

Official U.S. Government Data

All data is sourced from the U.S. Department of Labor, Office of Foreign Labor Certification (OFLC), public Labor Condition Application (LCA) disclosure files. These are the official filings that employers submit when sponsoring H-1B visa workers. Data is updated quarterly as OFLC publishes new disclosure files. The dataset covers fiscal years 2008 through 2026, totaling more than 9 million individual salary records.

Get Started

1

Get a free API key

Sign up and get your key instantly. No credit card required.

2

Make your first request

Search salaries by employer, job title, location, or any combination of filters.

3

Explore the docs

Interactive Swagger UI with all endpoints, parameters, and examples.

Use with AI Tools (MCP)

Connect this API to Claude, Cursor, Windsurf, VS Code, or any MCP-compatible AI tool. Your AI assistant answers H-1B salary questions with real data from 9M+ DOL records.

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "h1b-salaries": {
      "command": "npx",
      "args": ["h1b-salary-mcp"],
      "env": {
        "H1B_API_KEY": "your_api_key_here"
      }
    }
  }
}

Add to .cursor/mcp.json in your project root

{
  "mcpServers": {
    "h1b-salaries": {
      "command": "npx",
      "args": ["h1b-salary-mcp"],
      "env": {
        "H1B_API_KEY": "your_api_key_here"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "h1b-salaries": {
      "command": "npx",
      "args": ["h1b-salary-mcp"],
      "env": {
        "H1B_API_KEY": "your_api_key_here"
      }
    }
  }
}

Add to .vscode/mcp.json in your project root

{
  "servers": {
    "h1b-salaries": {
      "type": "stdio",
      "command": "npx",
      "args": ["h1b-salary-mcp"],
      "env": {
        "H1B_API_KEY": "your_api_key_here"
      }
    }
  }
}

Run directly from terminal

H1B_API_KEY=your_api_key_here npx h1b-salary-mcp

Works with any MCP client that supports stdio transport.

What your AI can answer

"How much does Google pay software engineers in California?"

Based on 8,831 certified LCA filings in FY2024, Google LLC pays a median salary of $180,286/year. Mountain View is the most common worksite with 3,614 filings.