# USCIS Processing Times by Form & Office + Visa Bulletin (`talcoe/uscis-processing-times`) Actor

Pull USCIS case processing times by form, office and category plus monthly visa bulletin cutoff dates, filtered by form, office, preference and country, priced per result.

- **URL**: https://apify.com/talcoe/uscis-processing-times.md
- **Developed by:** [M Usama](https://apify.com/talcoe) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does USCIS Processing Times by Form & Office + Visa Bulletin do?

It returns how long USCIS is taking right now, form by form and office by office, plus the monthly visa bulletin cutoff dates. Each processing time row has the form, office, category, the lower and upper wait in months, and the receipt date USCIS says it is working on. Each visa bulletin row has the month, table, preference category, country column and cutoff. Filters keep runs small, and pricing is per result.

### Data source

The Actor reads the open JSON files published by ImmigrationTimes.org, a mirror of USCIS processing times and the State Department visa bulletin, refreshed when USCIS updates its numbers. Data is licensed CC BY 4.0: credit USCIS and ImmigrationTimes.org. Every record carries an `attribution` field.

### Why use it?

- Immigration law firms and HR teams: tell clients how long an I-485, I-765 or N-400 is taking at their office, without opening the USCIS page for each form.
- Track a wait over time: schedule the Actor and send changes to Slack or Google Sheets.
- Visa bulletin watchers: pull EB and family cutoff dates for India, China, Mexico, the Philippines and everyone else in one table.
- Replaces copying numbers by hand into a spreadsheet.

### How to use it

1. Open the Actor and pick the forms, offices and bulletin categories you care about.
2. Click Start. Download results as JSON, CSV or Excel, or read them through the API.
3. Add a Schedule and an Integration (Slack, Google Sheets, webhook) to get new records automatically.

### Input

| Field | Description |
|---|---|
| `dataType` | `processingTimes`, `visaBulletin` or `both`. |
| `forms` | USCIS form numbers such as `I-485`. Empty means every form. |
| `officeCodes` | Optional USCIS office codes such as `NBC`, `TSC`, `NYC`. |
| `preferences` | Visa bulletin categories such as `EB-1`, `EB-2`, `F2A`. Empty means all. |
| `countries` | `all`, `china`, `india`, `mexico`, `philippines`. Empty means all. |
| `tableTypes` | `final_action`, `filing_date`. Empty means both. |
| `latestBulletins` | How many of the newest monthly bulletins to return. |
| `maxResults` | Hard stop for the run. You are billed per result, so this caps the cost. |
| `proxyConfiguration` | Apify proxy is optional. The source needs no proxy. |

Example input:

```json
{
    "dataType": "both",
    "forms": ["I-485", "N-400"],
    "preferences": ["EB-2", "EB-3"],
    "countries": ["all", "india"],
    "tableTypes": ["final_action"],
    "latestBulletins": 1,
    "maxResults": 200
}
```

### Output

Every record has a `recordType` of `processingTime` or `visaBulletin`. A processing time record:

```json
{
    "id": "pt:n-400:SEA:160A",
    "recordType": "processingTime",
    "form": "N-400",
    "formDescription": "Application for Naturalization",
    "officeCode": "SEA",
    "officeName": "Seattle, WA",
    "category": "160A",
    "lowerMonths": 13.5,
    "upperMonths": 15.5,
    "receiptDateBeingProcessed": "2025-07-24",
    "publicationDate": "2026-10-19",
    "formAverageLowerMonths": 12.3,
    "formAverageUpperMonths": 16
}
```

A visa bulletin record:

```json
{
    "id": "vb:2026-07-01:final_action:EB-1:all",
    "recordType": "visaBulletin",
    "bulletinMonth": "2026-07-01",
    "tableType": "final_action",
    "preference": "EB-1",
    "country": "all",
    "cutoffDate": null,
    "cutoffStatus": "current"
}
```

| Field | Meaning |
|---|---|
| `id` | Stable key, safe for deduplication between runs |
| `lowerMonths`, `upperMonths` | Processing time range in months |
| `receiptDateBeingProcessed` | Receipt date USCIS is currently working on |
| `cutoffDate` | Visa bulletin cutoff as an ISO date, or null |
| `cutoffStatus` | `date`, `current` or `unavailable` |
| `attribution` | Credit line required by the CC BY 4.0 license |

### Pricing

Pay per event: a small fee when a run starts, then a fixed price per result returned. You only pay for records that pass your filters. Set `maxResults` to cap any run.

### Limitations

- Numbers are only as fresh as the last USCIS update, so expect a refresh about every few weeks.
- Visa bulletin history starts in May 2023.
- Some offices publish a range only for certain categories, so fields can be null.

### FAQ

**Is this legal?** The Actor reads open data that the source publishes for any visitor without a login. You are responsible for how you use it, and for crediting USCIS and ImmigrationTimes.org.

**Something is missing or broken?** Open an issue in the Issues tab; response time is usually under a day.

# Actor input Schema

## `dataType` (type: `string`):

Processing times by form and office, the monthly visa bulletin, or both.

## `forms` (type: `array`):

USCIS form numbers such as I-485, I-765, N-400. Leave empty for every form.

## `officeCodes` (type: `array`):

Optional filter on USCIS office codes such as NBC, TSC, NYC, LIN. Leave empty for all offices.

## `preferences` (type: `array`):

Optional filter such as EB-1, EB-2, EB-3, F1, F2A. Leave empty for all categories.

## `countries` (type: `array`):

Optional filter: all, china, india, mexico, philippines. Leave empty for every column.

## `tableTypes` (type: `array`):

Optional filter: final_action, filing_date. Leave empty for both tables.

## `latestBulletins` (type: `integer`):

How many of the most recent monthly bulletins to return.

## `maxResults` (type: `integer`):

Hard stop for the run. You are billed per result, so this caps the cost.

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

Apify proxy is recommended for larger runs.

## Actor input object example

```json
{
  "dataType": "both",
  "forms": [
    "I-485",
    "I-765",
    "N-400"
  ],
  "preferences": [
    "EB-1",
    "EB-2",
    "EB-3",
    "F2A"
  ],
  "countries": [
    "all",
    "india",
    "china"
  ],
  "tableTypes": [
    "final_action"
  ],
  "latestBulletins": 1,
  "maxResults": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "forms": [
        "I-485",
        "I-765",
        "N-400"
    ],
    "preferences": [
        "EB-1",
        "EB-2",
        "EB-3",
        "F2A"
    ],
    "countries": [
        "all",
        "india",
        "china"
    ],
    "tableTypes": [
        "final_action"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("talcoe/uscis-processing-times").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 = {
    "forms": [
        "I-485",
        "I-765",
        "N-400",
    ],
    "preferences": [
        "EB-1",
        "EB-2",
        "EB-3",
        "F2A",
    ],
    "countries": [
        "all",
        "india",
        "china",
    ],
    "tableTypes": ["final_action"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("talcoe/uscis-processing-times").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 '{
  "forms": [
    "I-485",
    "I-765",
    "N-400"
  ],
  "preferences": [
    "EB-1",
    "EB-2",
    "EB-3",
    "F2A"
  ],
  "countries": [
    "all",
    "india",
    "china"
  ],
  "tableTypes": [
    "final_action"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call talcoe/uscis-processing-times --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,talcoe/uscis-processing-times"
        }
    }
}
```

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/YZeprUPMd2yhZcpDh/builds/yk33NdxweiZnfEdXz/openapi.json
