USCIS API guide

The USCIS API, explained: access, limits and a sample case status call.

USCIS runs an official API program called Torch at developer.uscis.gov. Its Case Status API gives approved developers the same status a person sees on the USCIS website. Here is how access works, what a request looks like, and when it's simpler to let CaseTracker run it for you.

  • Official USCIS API program: Torch, at developer.uscis.gov
  • Sandbox first, production keys after a live demo
  • OAuth 2.0 client credentials; tokens last 30 minutes
  • Or skip the build: CaseTracker checks every receipt daily
Start free trial

14 days · up to 20 cases · no card needed

Status changes · today
Team alerted
IOE0912345678I-485
Case Was ReceivedInterview Was Scheduled
EAC2490118822I-129
Case Was ReceivedRequest for Additional Evidence Was Sent
MSC2190456123N-400
Case Is Being Actively Reviewed By USCISCase Was Approved
What the USCIS API is

One official API. One receipt number per request.

The USCIS case status API is real, documented and open to applications. It is also built for developers who will write and maintain their own software around it.

Who can apply

USCIS says its APIs are for software development organizations incorporated in the United States. Its FAQ adds that a U.S.-based individual may qualify for production access.

What it returns

The Case Status API takes one receipt number and returns the form type, key dates, the current status in English and Spanish, and the case's status history. USCIS says its APIs only support individual submissions, not batches.

What you may look up

USCIS says third-party vendors may not submit receipt numbers for people who aren't users of their application, or without their express consent. Looking up "neighbor" receipt numbers violates the DHS Rules of Behavior.

How it works

What CaseTracker runs on top of the USCIS API for you

  1. 01

    Import your receipts

    Upload an Excel or CSV file with receipt numbers, client names and form types. Hundreds of cases import in one go.

  2. 02

    We check USCIS daily

    Every active receipt is checked each day. Temporary USCIS errors are retried automatically, and an outage never counts as a status change.

  3. 03

    Changes reach your team

    When a status really changes, the people who asked for that kind of update get it by WhatsApp or email, and the case rises to the top of the dashboard.

What you get

Everything you would otherwise have to build

Scheduling and retries

Daily checks across your whole caseload, with automatic retries when USCIS is slow or returns an error.

Change detection

We store each case's previous status, so only real movement triggers alerts, not the first lookup after import.

Per-person alert rules

Each team member chooses which events they want, such as RFEs, appointments, approvals or denials, and on which channel.

History and audit trail

Every status a case has had, with dates, plus an Activity page showing what changed and who was told.

Exports

Download your cases and their status history as CSV for reporting or your own systems.

Team access

Owners, admins and members share one caseload, with no keys or credentials to hand around.

Side by side

Building on the USCIS API vs using CaseTracker

Build it yourselfCaseTracker
Getting accessDeveloper account, sandbox testing, signed affidavit and a live demo before production keysSign up and import cases the same day
Daily checksWrite and host a scheduler that stays inside your quotaIncluded
Access tokensRequest and refresh a token every 30 minutesNothing to manage
USCIS errors and outagesYour code has to handle every responseRetried automatically; outages don't create false alerts
Knowing what changedStore and compare every statusBuilt in, with full history
Telling the teamBuild email and WhatsApp sendingWhatsApp and email, chosen per person
Ongoing costDeveloper time and hostingFrom $100 a month
Guide

The USCIS API, step by step

What is the USCIS API?

"USCIS API" usually means the Torch API program on the USCIS Developer Portal, developer.uscis.gov. It currently lists two APIs: the Case Status API, which returns the status of a case by receipt number, and the FOIA/PA Request and Status API, for filing and tracking Freedom of Information Act and Privacy Act requests for A-file records.

There is no open, keyless USCIS endpoint. Every call needs an access token issued to an app USCIS has approved, and production data is only available after you pass a demo.

Who gets access

USCIS's FAQ says its APIs are for software development organizations incorporated within the United States, and that a U.S.-based individual may also qualify for production access. Accounts are organized into developer teams, and USCIS says sharing your login or API keys violates its Terms of Use.

Before production access you print and sign the Developer Portal Affidavit with a wet signature. The portal doesn't list any fee for API access (checked November 2026).

Sandbox vs production

The sandbox is a staging environment for integration testing with test data. Its OAuth token URL is https://api-int.uscis.gov/oauth/accesstoken, and USCIS's documentation uses EAC9999103402 as the example receipt number for sandbox calls.

Production holds real case data and is granted only when you pass the demo. USCIS then sends a letter on official letterhead with your production keys, the production API endpoints and the production token URL, and creates a new developer app holding your production client credentials. Production quotas are shared at that point; USCIS doesn't publish them.

How to apply for USCIS API access

1. Sign up for a USCIS Torch API developer account on developer.uscis.gov. 2. Create a developer team, or join one, and create API keys for a developer app. 3. Complete sandbox testing. 4. Request production access: USCIS sends you a 4-digit demo ID to add to your API request headers, the affidavit, a scheduler link and its USCIS API Demo Checklist. 5. Pass the demo and go live with production keys.

In the demo you operate your own interface, show that the elements the API documentation requires appear on your screens, explain your architecture, and answer questions on data flow, error handling and integration points. USCIS allows code built with AI assistance, but says you must still be able to explain how it works. As of late November 2026 the portal says demo appointments are fully booked through March 2027, so plan for a wait.

Authentication: OAuth 2.0 client credentials

The USCIS API uses the OAuth 2.0 client credentials grant. Your app posts its client ID and client secret to the token URL and gets back a bearer token. USCIS says tokens expire every 30 minutes (expires_in is 1799 seconds), so cache the token and request a new one shortly before it runs out instead of fetching one for every call.

Get an access token (sandbox)
curl -X POST https://api-int.uscis.gov/oauth/accesstoken \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET>"
Token response (main fields)
{
  "access_token": "<ACCESS_TOKEN>",
  "token_type": "Bearer",
  "expires_in": "1799",
  "issued_at": "<milliseconds since epoch>",
  "status": "approved"
}

Sample case status request and response

A case status call is a GET request to /case-status/ followed by the receipt number, with the token in the Authorization header. The response below shows the fields our own production integration receives. Values in angle brackets are placeholders, not real data, and hist_case_status can be empty or null for a new case.

Request (sandbox)
curl https://api-int.uscis.gov/case-status/EAC9999103402 \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Accept: application/json"
Response (shape)
{
  "case_status": {
    "receiptNumber": "EAC9999103402",
    "formType": "<form, e.g. I-130>",
    "submittedDate": "<date USCIS received the case>",
    "modifiedDate": "<date of the last update>",
    "current_case_status_text_en": "<status title, e.g. Case Was Received>",
    "current_case_status_desc_en": "<the full status paragraph>",
    "current_case_status_text_es": "<status title in Spanish>",
    "current_case_status_desc_es": "<status paragraph in Spanish>",
    "hist_case_status": [
      { "date": "<date>", "completed_text_en": "<earlier status>" }
    ]
  },
  "message": "<message>"
}

USCIS API rate limits

In the sandbox, the Case Status API allows 1,000 requests a day and 5 transactions per second (one request every 200 milliseconds). The FOIA/PA API allows 3,500 a day at the same rate. USCIS shares production quotas and throughput only when it grants production access.

Because the API takes one receipt per request, those limits decide how often you can refresh a caseload. At 5 requests a second, 500 receipts take at least 100 seconds per round, and every round counts against the daily quota.

Common errors and how to handle them

USCIS errors come back as an errors array based on RFC 9457 (Problem Details for HTTP APIs), with a code, message, category, documentation reference, HTTP status and trace ID. USCIS requires your app to handle every response its APIs return and to display error.message somewhere in your front or back end.

The portal doesn't publish a full list of error codes. In our experience the cases to plan for are: an expired token (get a new one and retry once), going over the rate limit (back off and retry later), a receipt USCIS can't find yet (often a brand-new or mistyped number), and USCIS being slow or down. A script that treats any of these as a status change will send your team false alarms.

Error format
{
  "errors": [{
    "code": "ERROR_UNIQUE_CODE",
    "message": "ERROR_MESSAGE",
    "category": "SHORT_DESCRIPTION/ERROR_CATEGORY",
    "reference": "API_DOCUMENTATION_LINK",
    "status": "HTTP_STATUS_CODE",
    "traceId": "UUID"
  }]
}

What a firm still has to build

The API answers "what is the status now". It doesn't push updates, remember yesterday's status or tell anyone. Firms need four things on top of the raw lookup: a schedule that checks every open case within the quota, a record of each case's last known status, rules for who should hear about which kind of change, and a reliable way to send those messages. Each one is a small project, and together they're a product to maintain.

When building makes sense

If you have in-house developers and want status data inside your own case management system, the API is a good fit, and the wait for a demo slot is worth starting early. If you just want your team to know when a case moves, it's usually faster and cheaper to use a tool that already does it. CaseTracker checks every receipt daily and sends the changes to the right people, with no developer account, keys or servers on your side.

FAQ

Questions firms ask us

Does USCIS have an API?+

Yes. USCIS runs the Torch API program at developer.uscis.gov. It lists a Case Status API and a FOIA/PA Request and Status API. You need a developer account, sandbox testing and a passed demo before you get production keys.

Is the USCIS case status API free?+

The developer portal doesn't list any fee for API access (checked November 2026). The cost is the work: building the app, passing the demo, and running your own scheduling, storage and alerts.

What are the USCIS API rate limits?+

In the sandbox, the Case Status API allows 1,000 requests a day and 5 per second. USCIS shares production limits only when it grants production access.

How long does a USCIS API access token last?+

30 minutes. The token response gives expires_in as 1799 seconds, so request a new token shortly before the old one expires.

Can I check many receipt numbers in one USCIS API call?+

No. USCIS says its APIs only support individual submissions, so each receipt number is its own request.

Can I look up any receipt number with the USCIS API?+

No. USCIS says vendors may only submit receipt numbers for their own users, with their express consent. Looking up other people's "neighbor" receipts violates the DHS Rules of Behavior.

Do I need my own USCIS API key to use CaseTracker?+

No. You add receipt numbers and CaseTracker handles the checks. There are no keys, servers or code on your side.

How often are cases checked?+

Every active case is checked against USCIS once a day, with automatic retries if USCIS returns an error.

Can we try it before paying?+

Yes. Every account starts with a 14-day free trial for up to 20 cases, no credit card needed. Plans after that are $100 a month for up to 120 active cases and $150 a month for up to 400, with custom pricing above that.

Skip the build. Keep the alerts.

Import your receipt numbers today and see your first daily check tomorrow morning.