H-1B Salary Data API

Programmatic access to 8.5 million H-1B visa salary records from the U.S. Department of Labor.

What is the H-1B Salary Data API?
A REST API serving 8.5 million H-1B visa salary records from the U.S. Department of Labor (DOL/OFLC LCA filings). Covers all 17 fiscal years from FY2008 to FY2024, 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?
Unlike h1bdata.info or levels.fyi which are browser-only, this API lets you integrate H-1B salary data into your apps, dashboards, recruiting tools, and AI agents via a single REST endpoint.
GET /api/v1/salaries?employer=google&job_title=software+engineer&state=CA
Get a free API key

H-1B Salary Data at a Glance

8.5M+
LCA Filings Since 2008
17/17
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

How This Compares to Other H-1B Data Sources

Sites like h1bdata.info, myvisajobs.com, and levels.fyi provide H-1B salary data through browser-only interfaces. You can look up individual records, but you can't integrate the data into your applications. The H-1B Salary Data API is a programmable REST API designed for developers and data teams. Integrate H-1B salary data directly into your compensation tools, recruiting dashboards, immigration case research, or AI agents without scraping.

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-2024)
19 fields per record
50 results/page
Business $79/mo
100,000 requests/day
All years (2008-2024)
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 2024, totaling over 8.5 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 8.5M 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.