# H-1B Salary Data by Employer & Job Title (`xtracto/h1b-salary-disclosures`) Actor

US H-1B visa salary records from Department of Labor LCA filings: employer, job title, base salary, city and state, filing and start dates. Filter by employer, title, city and year.

- **URL**: https://apify.com/xtracto/h1b-salary-disclosures.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## H-1B Salary Data by Employer & Job Title

Look up what US companies actually pay sponsored workers. Every row is a real Department of Labor filing: **employer, job title, base salary, city and state, filing date and start date**.

### Why Use This Actor?

- **Real salaries, not estimates.** These are wages employers declared on Labor Condition Applications under penalty of perjury — not crowd-sourced guesses or survey averages.
- **Company-level detail.** Search one employer and get its full filing history: `google` returned **8,141 rows for 2025 alone**. `amazon` returned 21,208.
- **Built for comparison.** Filter by employer, job title, city and year, then group the output to compare pay by company, role, location or year.
- **Public record.** US DOL disclosure data, published by law. No login, no credentials, no personal identities.
- **Fast and cheap.** Plain HTTP, no browser. Thousands of rows in one run.

### What It's Good For

- **Salary benchmarking** — what does a Data Engineer in Austin really earn?
- **Recruiting intelligence** — which companies sponsor visas for your role, and at what level?
- **Compensation research** — track how a company's pay bands moved from 2013 to 2025.
- **Immigration and legal research** — evidence of prevailing wage by role and metro.
- **Job seeking** — find employers that sponsor, before you apply.

### Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `employer` | string | – | Company name. Substring match, so short terms work best (`google` finds GOOGLE LLC). |
| `jobTitle` | string | – | Title as filed, e.g. `software engineer`, `registered nurse`. |
| `city` | string | – | Work-location city, e.g. `austin`. |
| `years` | array | `["2025"]` | Fiscal years to sweep, `2013`–`2025`. Each is a separate query. |
| `maxItems` | integer | `1000` | Row cap across all years. |
| `proxyConfiguration` | object | none | Optional; only useful for very large sweeps. |

**At least one of `employer`, `jobTitle` or `city` is required** — an unfiltered search returns nothing from the source, so the actor refuses it up front instead of reporting a confusing empty result.

#### Example input

```json
{
  "jobTitle": "data engineer",
  "city": "austin",
  "years": ["2025", "2024"],
  "maxItems": 500
}
```

### Output

One row per disclosure:

```json
{
  "employer": "GOOGLE LLC",
  "jobTitle": "ACCESS STAFF MECHANICAL ENGINEER",
  "baseSalary": 211000,
  "baseSalaryRaw": "211,000",
  "currency": "USD",
  "location": "SAMMAMISH, WA",
  "city": "SAMMAMISH",
  "state": "WA",
  "submitDate": "05/28/2025",
  "startDate": "06/13/2025",
  "fiscalYear": "2025",
  "source": "h1bdata.info (US DOL LCA disclosures)",
  "_scrapedAt": "2026-08-26T12:41:03.220Z"
}
```

#### Field reference

| Field | Type | Description |
|---|---|---|
| `employer` | string | Employer exactly as filed. |
| `jobTitle` | string | Job title exactly as filed. |
| `baseSalary` | integer | Annual base wage in USD. `null` when the source value can't be read as a number — never silently `0`. |
| `baseSalaryRaw` | string | The original salary string, kept for auditing. |
| `location` / `city` / `state` | string | Work location, plus the split city and two-letter state. |
| `submitDate` | string | Date the application was filed (MM/DD/YYYY). |
| `startDate` | string | Employment start date on the filing (MM/DD/YYYY). |
| `fiscalYear` | string | Year bucket the row came from. |
| `_error` | string | Present only on failures (`no_filter`, `no_results`, `blocked`, `unexpected_shape`, `http_*`). |

### Known Limits

- **Base wage only.** LCA filings declare base salary. Bonus, equity and other compensation are not part of the record, so this understates total comp at companies that lean on stock.
- **Sponsored roles only.** These are H-1B filings, not a company's whole payroll. A role with no visa sponsorship will not appear.
- **A filing is an intent, not a hire.** Some applications are withdrawn or never used.
- **Matching is substring-based** on the filed text. `Amazon.com Inc` may return less than `amazon`; prefer the shorter term.
- **No "all years" sweep.** The source's own "All Years" option returns an empty document for employer queries, so it is not offered — list the years you want instead.
- **Broad queries are large.** One employer-year can exceed 20,000 rows and 10 MB. Use `maxItems` deliberately.

### Scope & Compliance

- **Public government records.** LCA disclosure data is published by the US Department of Labor. It names employers and roles, not individual workers — there is no personal identity in the output.
- **No login or credentials.** The actor makes ordinary anonymous HTTP requests.
- **Rate limits are respected.** Requests are paced between queries.
- Use the output in line with the source's terms and applicable law.

### Related Actors

| Actor | What it covers |
|---|---|
| [`glassdoor-salaries`](https://apify.com/xtracto/glassdoor-salaries) | Self-reported salary ranges by job title |
| [`ats-hiring-velocity`](https://apify.com/xtracto/ats-hiring-velocity) | Which companies are hiring, and how fast |
| [`indeed-jobs-scraper`](https://apify.com/xtracto/indeed-jobs-scraper) | Live job postings |
| [`linkedin-jobs-scraper`](https://apify.com/xtracto/linkedin-jobs-scraper) | LinkedIn job listings |

# Actor input Schema

## `employer` (type: `string`):

Company name as it appears on the filing. Matching is substring-based, so a short term works best - 'google' finds GOOGLE LLC. Leave empty to search across all employers.

## `jobTitle` (type: `string`):

Job title on the filing, e.g. 'software engineer', 'data engineer', 'registered nurse'. Matching is substring-based on the exact filed title.

## `city` (type: `string`):

Work-location city, e.g. 'austin', 'seattle'. Leave empty for all locations.

## `years` (type: `array`):

Fiscal years to sweep. Each year is a separate query. Supported: 2013 through 2025.

## `maxItems` (type: `integer`):

Maximum disclosure rows to return across all selected years. Broad filters can match tens of thousands of records.

## `proxyConfiguration` (type: `object`):

Optional. The source answers plain HTTP; a proxy is only useful if you run very large sweeps.

## Actor input object example

```json
{
  "employer": "google",
  "years": [
    "2025"
  ],
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `employer` (type: `string`):

Employer name.

## `jobTitle` (type: `string`):

Job title.

## `baseSalary` (type: `string`):

Base salary. Numeric value.

## `city` (type: `string`):

City.

## `state` (type: `string`):

State or region.

## `startDate` (type: `string`):

Start Date as reported by the source.

## `fiscalYear` (type: `string`):

Fiscal Year as reported by the source.

## `baseSalaryRaw` (type: `string`):

Base Salary Raw as reported by the source.

## `submitDate` (type: `string`):

Submit Date as reported by the source.

## `currency` (type: `string`):

ISO currency code of the price.

## `location` (type: `string`):

Location text.

## `source` (type: `string`):

Name of the source the row came from.

## `_error` (type: `string`):

Set only on diagnostic rows - why that target produced no data.

## `_query` (type: `string`):

The query parameters used for this row.

## `_scrapedAt` (type: `string`):

UTC timestamp of the scrape, ISO 8601.

## `_message` (type: `string`):

Human-readable explanation of the error.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "employer": "google",
    "years": [
        "2025"
    ],
    "maxItems": 200,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/h1b-salary-disclosures").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "employer": "google",
    "years": ["2025"],
    "maxItems": 200,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("xtracto/h1b-salary-disclosures").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "employer": "google",
  "years": [
    "2025"
  ],
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call xtracto/h1b-salary-disclosures --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/h1b-salary-disclosures"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zgDFSFc1FCcGs9luJ/builds/9tZuwLeDdBmgt2huV/openapi.json
