# FMCSA SAFER Carrier Lookup by USDOT Number (`dataforge_api/usdot-fmcsa-safer-carriers-ppe`) Actor

Look up US motor carriers on FMCSA SAFER by USDOT number or scan a number range. Returns legal name, DBA, status, operating authority, addresses, phone, MC number, power units, drivers and MCS-150 date. Only active carriers are billed.

- **URL**: https://apify.com/dataforge_api/usdot-fmcsa-safer-carriers-ppe.md
- **Developed by:** [DataForge Lab](https://apify.com/dataforge_api) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.50 / 1,000 us carrier or broker records

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

## FMCSA SAFER Carrier Lookup

Fetches the public SAFER Company Snapshot of the US Department of Transportation / FMCSA for each USDOT number and returns it as structured records. No login.

### Who it is for and why

1. **Freight brokers and 3PLs.** Enrich a list of carriers you already work with (or candidates) with legal name, operating authority status, fleet size and contact address and phone.
2. **Carrier onboarding and vendor checks.** Confirm a USDOT number is active, see the MC/MX/FF numbers on file and the date of the last MCS-150 update.
3. **Truck, trailer, fuel and telematics sales.** Segment carriers by power units and drivers to find fleets of the size you sell to.
4. **Industry analytics.** Sample USDOT ranges to study fleet-size distribution, entity types and authority status.

### Example input

```json
{
  "queries": ["3005921", "1234567"],
  "concurrency": 3
}
```

Or scan a range: leave `queries` empty and set `start_dot` and `count`. Only active carriers with a record are saved and billed; unknown or inactive numbers cost nothing.

### Example output

```json
{
  "dot_number": "3005921",
  "legal_name": "EXAMPLE TRUCKING LLC",
  "entity_type": "CARRIER",
  "usdot_status": "ACTIVE",
  "operating_authority_status": "AUTHORIZED FOR Property",
  "physical_address": "100 EXAMPLE RD, DALLAS, TX 75201",
  "phone": "(214) 555-0100",
  "mc_mx_ff_numbers": "MC-123456",
  "power_units": 12,
  "drivers": 14,
  "mcs_150_date": "06/15/2025",
  "source_url": "https://safer.fmcsa.dot.gov/..."
}
```

Illustrative values; real records use the same fields. Also possible: `dba_name`, `mailing_address`, `mcs_150_mileage`.

### Limitations

- SAFER is looked up number by number; there is no search by company name, state or fleet size. Scanning a range works but most numbers in a range are empty.
- In the audit sample, DBA name was filled for about a fifth of carriers and MC/MX/FF numbers for under half, because many carriers simply do not have them.
- No email addresses. No safety ratings, crash or inspection data, and no insurance filings are returned.
- Inactive and unknown USDOT numbers return nothing and are not billed.
- A scan is as fast as the source allows; keep `concurrency` modest.

### Pricing

Pay per event `carrier-snapshot-record`: $0.0045 per saved record (about $4.50 per 1,000). Empty searches are not charged.

# Actor input Schema

## `queries` (type: `array`):

Specific USDOT numbers to look up (digits only). If empty, the actor scans a range starting at 'start_dot'.

## `start_dot` (type: `integer`):

Used when no USDOT numbers are listed above.

## `count` (type: `integer`):

Only active carriers with a record are saved and billed; unknown or inactive numbers cost nothing.

## `concurrency` (type: `integer`):

Number of SAFER lookups run in parallel.

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

Apify Proxy settings. A fresh IP is used for each lookup.

## Actor input object example

```json
{
  "queries": [],
  "start_dot": 3005919,
  "count": 20,
  "concurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `dataset` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dataforge_api/usdot-fmcsa-safer-carriers-ppe").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dataforge_api/usdot-fmcsa-safer-carriers-ppe").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 '{}' |
apify call dataforge_api/usdot-fmcsa-safer-carriers-ppe --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataforge_api/usdot-fmcsa-safer-carriers-ppe"
        }
    }
}
```

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/QfyqnDnQ0r6hIroT8/builds/VptWz80PsceoehgLU/openapi.json
