H-1B Employer Approvals API

H-1B petition counts by employer from the USCIS Employer Data Hub, fiscal years 2009 to 2023: initial and continuing approvals and denials, NAICS industry code, state, city and ZIP.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from uscis.gov/tools/reports-and-studies/h-1b-employer-data-hub/h-1b-employer-data-hub-files

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Fiscal yearoptional
Fiscal year, 2009 to 2023 (default 2023).
Example: 2023
Employeroptional
Words in the employer name; every word must appear (optional).
Example: flowers
Stateoptional
Two-letter US state code (optional).
Example: NY

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/us-h1b-employer-approvals/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/us-h1b-employer-approvals/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"fiscal_year":2023},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

fiscal_yearnumber
Fiscal year, 2009 to 2023 (default 2023).
example: 2023
employertext
Words in the employer name; every word must appear (optional).
example: flowers
statetext
Two-letter US state code (optional).
example: NY

What's in each record

12 fields: 11 here, 1 technical one under Technical details.

Basics

  • Employer

    Employer name as USCIS publishes it.

    Example ADELPHI UNIVERSITY

  • Initial approval

    Approved petitions for new employment or new employer.

    Example 2

  • Initial denial

    Denied petitions for new employment or new employer.

    Example 0

  • Continuing approval

    Approved petitions for continuing employment (extensions, amendments).

    Example 0

  • Continuing denial

    Denied petitions for continuing employment.

    Example 0

  • Naics

    Two-digit NAICS industry code of the employer.

    Example 61

  • Tax ID last 4

    Last four digits of the employer tax ID as published.

    Example 0741

Location

  • Employer state

    Example NY

  • Employer city

    Example GARDEN CITY

  • Employer ZIP code

    Example 11530

Dates

  • Fiscal year

    US government fiscal year of the petitions.

    Example 2023

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idFiscal year and row number in the USCIS file.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
fiscal_yearnumberFiscal year3 of 3
employertextEmployer3 of 3
initial_approvalnumberInitial approval3 of 3
initial_denialnumberInitial denial3 of 3
continuing_approvalnumberContinuing approval3 of 3
continuing_denialnumberContinuing denial3 of 3
naicstextNaics3 of 3
tax_id_last4textTax ID last 43 of 3
statetextEmployer state3 of 3
citytextEmployer city3 of 3
ziptextEmployer ZIP code3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordEmployerInitial approvalInitial denialContinuing approvalContinuing denialNaicsTax ID last 4Employer stateEmployer cityEmployer ZIP codeFiscal year
1ADELPHI UNIVERSITY2000610741NYGARDEN CITY115302023
2ALFRED UNIVERSITY0010613900NYALFRED148022023
3CLARKSON UNIVERSITY2110613659NYPOTSDAM136992023

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Each run downloads one whole fiscal-year file from USCIS (2 to 6 MB) and filters it, so a run takes several seconds whatever the filters.
  • Fiscal years 2009 to 2023 only: the newest public file is FY2023 (USCIS has not published later years), and the data is not updated.
  • USCIS counts petitions by employer, city and ZIP, so one employer appears on several rows when it files from several places; rows are not merged.
  • Rows where USCIS withheld the employer name are left out; tax_id_last4 is the last four digits of the employer's tax ID as published, and is empty for many older rows.
  • Counts are petitions approved or denied in that fiscal year, not the number of workers, and they do not say how many visas an employer holds.
  • Public US government data (USCIS H-1B Employer Data Hub); credit USCIS. Record ids are the fiscal year and the row number in USCIS's file.
  • USCIS sometimes refuses a download with HTTP 403; the run then stops with no records and can be repeated later.

Version history

A run uses the live version unless the request names another one with version.