# FMCSA Carrier Scraper (`normdata/fmcsa-carrier-scraper`) Actor

Search 2M+ US trucking carriers from FMCSA / DOT open data by state, cargo or fleet size: contact, officers, fleet, CSA safety scores, authority + insurance history (revocations, lapses, coverage), crashes and inspections. Lead lists, a change monitor, or full safety profiles. No API key.

- **URL**: https://apify.com/normdata/fmcsa-carrier-scraper.md
- **Developed by:** [Norm Data](https://apify.com/normdata) (community)
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.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.
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

![Norm Data](https://raw.githubusercontent.com/FabriAV/normdata/refs/heads/main/assets/banner_norm2.png)

## 🚚 FMCSA Carrier Scraper

Search **US trucking carriers and brokers** from the official **FMCSA / DOT open data** with no API key. Filter 2M+ carriers by state, cargo, fleet size, operation class, safety rating and registration date, then enrich every row with **CSA / SMS BASIC safety scores, the full authority and insurance history**, crashes, roadside inspections and out-of-service orders.

Run a **lifecycle-change monitor** for daily alerts, or pull a complete **safety profile** for a list of carriers.

### 🎯 Who uses it?

#### 🚛 Freight brokers

Find new interstate carriers in your lanes, with phone, email and officer names, the day their authority is granted.

#### 🛡️ Insurance underwriters

Pull a carrier's CSA BASIC alerts, out-of-service rate, crash history and every past insurance cancellation before you quote.

#### 💰 Factoring and risk teams

Monitor for insurance lapses and authority revocations, a lapse is a carrier to call, a revocation is one to stop funding.

#### 📇 Equipment, ELD and fuel-card sales

Filter by fleet size and cargo type, keep the officers and contact details.

#### 📊 Compliance analysts

Rank a set of carriers on out-of-service rate and BASIC scores.

### ✨ What it does

- **Search**: filter the census for a lead list, by state, cargo, fleet size, operation class, safety rating and registration date.
- **Look up**: resolve exact USDOT numbers, MC/MX docket numbers, or company names. An identifier that doesn't resolve comes back as its own error row, so the output always matches your input list.
- **Monitor**: carriers with a new registration, authority revocation, reinstatement, insurance lapse, or out-of-service order since a date, each tagged with the change type.
- **Safety**: the full safety profile (CSA BASIC scores, authority and insurance history, 24-month inspection and crash detail) for the carriers you name.
- **Optional enrichment**: CSA / SMS BASIC safety scores, full authority and insurance history, and per-inspection/crash detail, each added only when that data is actually found.

Missing source values are returned as `null`, never invented.

### 🏆 Why this scraper

- **CSA / SMS BASIC safety scores.** The seven Behavior Analysis categories with their raw measures and above-threshold alert flags, plus driver and vehicle out-of-service rates.
- **Authority lifecycle, not just current status.** Every grant, involuntary revocation and reinstatement with dates, so you can see a carrier that has been revoked three times, or one reinstated last week.
- **Insurance history with coverage and lapses.** Current insurer and liability limit, plus every past filing with its cancellation date, the signal an underwriter or a factoring company actually acts on.
- **A real change monitor.** Not just new carriers, an actual lifecycle feed: revocations, lapses and out-of-service orders are the events worth a phone call.
- **Fast.** Every enrichment is one batched query per dataset, not one request per carrier.

### ⚖️ How it compares

| Capability | This actor | Other FMCSA scrapers on Apify |
|---|:--:|:--:|
| Census: identity, contact, officers, fleet, cargo | yes | yes |
| Filter by state / cargo / fleet size / registration date | yes | some |
| **CSA / SMS BASIC safety scores + alert flags** | **yes** | **no** |
| **Authority history (grants / revocations / reinstatements)** | **yes** | **current status only** |
| **Insurance history (insurer, coverage, lapses)** | **yes** | **current only, if any** |
| 24-month crash + inspection out-of-service detail | yes | counts only |
| Lifecycle-change monitor (revocations, lapses, OOS) | yes | new-carrier delta only |
| One row per look-up input, error rows for bad ids | yes | rare |

### 📦 What data you get

| Entity | Useful fields |
| --- | --- |
| Carrier identity | DOT number, MC numbers, legal and DBA name, entity type, operation class, hazmat flag, registration date. |
| Contact | Phone, cell phone, email, officer names, physical and mailing addresses. |
| Fleet & cargo | Power units, truck units, driver counts, and every commodity type carried. |
| Safety | Safety rating, CSA BASIC measures and alerts, out-of-service rates, current out-of-service order. |
| Authority & insurance | Grant/revocation/reinstatement history, current insurer, liability coverage, and every past cancellation. |
| Crash & inspection | 24-month crash counts by severity and inspection out-of-service rate. |
| Monitor | Change type (new registration, revocation, reinstatement, insurance lapse, out-of-service order). |

Every record includes `scraped_at` (UTC) and a link to the carrier's public SAFER snapshot page. Download your dataset from Apify as CSV, JSON, or Excel.

### 💡 Use cases

#### 🚛 New reefer carriers in Texas

```json
{ "mode": "search", "state": ["TX"], "operationClass": "interstate", "cargo": ["coldfood"], "minPowerUnits": 5, "maxPowerUnits": 50, "registeredAfter": "2026-06-01", "includeSafety": true, "maxItems": 500 }
```

#### 🔎 Look up a batch of carriers

```json
{ "mode": "lookup", "identifiers": ["76830", "MC386188", "SWIFT TRANSPORTATION"], "includeHistory": true }
```

#### 📡 Watch for revocations and insurance lapses

```json
{ "mode": "monitor", "since": "7 days", "events": ["revocation", "insurance_lapse", "oos_order"], "maxItems": 1000 }
```

#### 🛡️ Full safety profile

```json
{ "mode": "safety", "identifiers": ["370617", "593107"] }
```

### ⚙️ How the input is organised

| Section | What it's for |
| --- | --- |
| **Mode** | Search, Look up, Monitor, or Safety. |
| **Filters** | State, operation class, cargo, hazmat, safety rating, fleet size, registration date range, name, active-only. |
| **Look up / Safety** | DOT/MC numbers or company names to resolve. |
| **Monitor** | The date to watch changes since, and which change types to include. |
| **Enrichment (Search, Look up)** | CSA/SMS safety scores, authority and insurance history, and inspection/crash detail. Each only added when that data is found. |
| **Advanced** | An optional free DOT app token for very large runs. |

> **Apify Free plan:** every run is limited to a fixed 10-row sample. Upgrade your Apify plan to run your own settings.

### 💰 Pricing

Pay-per-event: a one-time **0.003** when the run starts, plus a price for each kind of record the run produces. You only pay for the kinds you turn on:

| Charged for | Free | Bronze | Silver | Gold+ |
| --- | --- | --- | --- | --- |
| **result** | 0.0215 | 0.0183 | 0.0154 | 0.012 |
| **Safety record** | 0.003 | 0.0026 | 0.0022 | 0.0017 |
| **History record** | 0.003 | 0.0026 | 0.0022 | 0.0017 |
| **Inspections record** | 0.003 | 0.0026 | 0.0022 | 0.0017 |

New Apify accounts start with $5 in free credit.

### 🚀 Run it

1. Create a free Apify account with $5 in credit.
2. Open the FMCSA Carrier Scraper.
3. Fill in the input (or keep the prefilled example), set the maximum number of results, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (`run-sync-get-dataset-items`) or the ApifyClient for JavaScript and Python, and schedule it with Apify's built-in Scheduler.

### 🤖 Use with AI agents (MCP)

Give an AI agent live access to the FMCSA Carrier Scraper through the Model Context Protocol:

```
claude mcp add --transport http apify "https://mcp.apify.com?tools=normdata/fmcsa-carrier-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### 🔧 Troubleshooting

**Safety rating is empty for most carriers.**
Normal: most carriers have never had a compliance review, so FMCSA has no rating for them.

**A DOT or MC number returned an `error: "not found"` row.**
Check the number, or try the company name. The output always has one row per identifier you passed.

**Monitor mode returned nothing.**
No carrier matched a change of the selected types since that date. Widen Changed since or add more change types.

**Runs are slow or rate-limited.**
FMCSA open data limits anonymous traffic. Add a free Socrata app token in the input to raise that limit.

### ❓ FAQ

| Question | Answer |
| --- | --- |
| Where does the data come from? | FMCSA / DOT public open data, updated daily. |
| What do the extra charges cover? | Safety, history and inspection records are separate rows added only when you turn those options on and data actually exists. |
| Can I build a lead list of new carriers? | Yes, Search mode with Registered on/after, plus state, cargo and fleet size. |
| Does it include contact details? | Yes, phone, email when published, address, and officers. |
| Do I need an API key? | No. A Socrata app token is optional and only raises the rate limit. |

### 🛡️ Limits & responsible use

This Actor reads only the FMCSA / DOT's own public open data. It never signs in and never accesses anything gated behind an account.

Most carriers have never had a compliance review, so a blank safety rating is normal, not missing data. An unresolved look-up identifier still writes one `error: "not found"` row rather than failing the run. The underlying data updates daily and runs roughly 24 hours behind live, it is not real-time.

### 📧 Contact

Need a scraper for a different site, or found something wrong with this one? norm.data.scrapers@gmail.com

### 🧪 Local development

```bash
bun install
bun test              # offline: normalisation + input logic
bun run src/main.ts   # reads storage/key_value_stores/default/INPUT.json
bun scripts/verify-live.mjs   # hits data.transportation.gov directly, checks every mode
```

# Changelog

This Actor's version history is a separate document: https://apify.com/normdata/fmcsa-carrier-scraper/changelog.md

# Actor input Schema

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

Caps how many carrier rows this run writes. Starts at 10 for a quick sample; raise it for a full run.

## `mode` (type: `string`):

Search filters the census for lead lists. Look up resolves exact DOT/MC numbers or names. Monitor returns carriers with a new registration, revocation, insurance lapse or out-of-service order since a date. Safety pulls the full safety profile for the carriers you name.

## `state` (type: `array`):

Two-letter physical state code(s), e.g. TX, CA. Leave empty for all states.

## `operationClass` (type: `string`):

Restrict by operation class.

## `cargo` (type: `array`):

Only carriers that haul one of these commodity types.

## `hazmatOnly` (type: `boolean`):

Only carriers flagged to transport hazardous materials.

## `safetyRating` (type: `string`):

Restrict to carriers with this FMCSA safety rating (many carriers are unrated).

## `minPowerUnits` (type: `integer`):

Only carriers with at least this many trucks/tractors.

## `maxPowerUnits` (type: `integer`):

Only carriers with at most this many power units (e.g. 5 for owner-operators).

## `registeredAfter` (type: `string`):

ISO date (2026-01-01). Only carriers whose FMCSA registration date is on or after this - a new-authority lead filter.

## `registeredBefore` (type: `string`):

ISO date. Only carriers registered on or before this.

## `keyword` (type: `string`):

Match carriers whose legal name or DBA name contains this text.

## `activeOnly` (type: `boolean`):

Exclude inactive / de-registered carriers.

## `identifiers` (type: `array`):

US DOT numbers (e.g. 76830), MC/MX docket numbers (e.g. MC386188 or 386188), or company names. Names may match several carriers.

## `since` (type: `string`):

ISO date (2026-09-01) or a window ("7 days", "2 weeks", "1 month"). Monitor returns carriers with a matching change on or after this.

## `events` (type: `array`):

Which lifecycle changes to include. Leave empty for new registrations + revocations + insurance lapses + out-of-service orders.

## `includeSafety` (type: `boolean`):

Add the CSA BASIC measures and alert flags plus an inspection and crash summary. Billed as a separate Safety record event, only when data is found.

## `includeHistory` (type: `boolean`):

Add the full authority lifecycle (grants, revocations, reinstatements) and every insurance filing (insurer, coverage, effective and cancellation dates). Billed as a separate History record event, only when data is found.

## `includeInspections` (type: `boolean`):

Add per-inspection violation and out-of-service counts and per-crash outcomes for the last 24 months. Billed as a separate Inspections record event, only when data is found.

## `socrataAppToken` (type: `string`):

A free data.transportation.gov app token raises the shared rate limit. Only needed for very large runs.

## Actor input object example

```json
{
  "maxItems": 10,
  "mode": "search",
  "state": [
    "TX"
  ],
  "operationClass": "",
  "hazmatOnly": false,
  "safetyRating": "",
  "activeOnly": true,
  "includeSafety": true,
  "includeHistory": false,
  "includeInspections": false
}
```

# Actor output Schema

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

One dataset row per carrier (or per look-up identifier), with identity, contact, fleet, cargo, safety rating, and - when enabled - CSA BASIC scores, authority and insurance history, crashes and inspections.

# 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 = {
    "maxItems": 10,
    "mode": "search",
    "state": [
        "TX"
    ],
    "operationClass": "",
    "hazmatOnly": false,
    "safetyRating": "",
    "activeOnly": true,
    "includeSafety": true,
    "includeHistory": false,
    "includeInspections": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("normdata/fmcsa-carrier-scraper").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 = {
    "maxItems": 10,
    "mode": "search",
    "state": ["TX"],
    "operationClass": "",
    "hazmatOnly": False,
    "safetyRating": "",
    "activeOnly": True,
    "includeSafety": True,
    "includeHistory": False,
    "includeInspections": False,
}

# Run the Actor and wait for it to finish
run = client.actor("normdata/fmcsa-carrier-scraper").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 '{
  "maxItems": 10,
  "mode": "search",
  "state": [
    "TX"
  ],
  "operationClass": "",
  "hazmatOnly": false,
  "safetyRating": "",
  "activeOnly": true,
  "includeSafety": true,
  "includeHistory": false,
  "includeInspections": false
}' |
apify call normdata/fmcsa-carrier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,normdata/fmcsa-carrier-scraper"
        }
    }
}
```

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/cnaUtvAeAV8ofGeei/builds/ITyNsz62rD2kDrln7/openapi.json
