# FMCSA Trucking & Motor Carrier Lead Scraper (USDOT/MC) (`zinjaink/fmcsa-carrier-scraper`) Actor

Extract verified US trucking & freight carrier leads from official USDOT FMCSA records. Filter by state, fleet size (trucks/drivers), cargo type, and active status. Outputs owner/officer names, emails, phones, DOT/MC numbers, safety ratings, and fleet counts.

- **URL**: https://apify.com/zinjaink/fmcsa-carrier-scraper.md
- **Developed by:** [Daniel Thairu](https://apify.com/zinjaink) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 enriched motor carrier leads

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 Trucking & Motor Carrier Lead Scraper (USDOT / MC)

Extract verified, sales-ready **US trucking, freight, and motor carrier leads** directly from official **USDOT / FMCSA Motor Carrier Census records**.

Built for **commercial truck insurance agencies, freight factoring companies, fuel-card sales teams, ELD/telematics SaaS reps, and freight brokers**. Runs on pure HTTP JSON pagination—extracting hundreds of verified carrier leads per second with **near-zero compute cost**.

***

### What Data Does Each Carrier Lead Include?

- **Decision-Maker Contacts:** `primaryOfficer` (Owner / CEO / Compliance Officer 1), `secondaryOfficer` (Officer 2), verified `email`, `phoneFormatted`, and `fax`.
- **Authority & Identity:** `dotNumber` (`USDOT #`), `mcNumber` (`MC-XXXXXX`), `legalName`, `dbaName`, `status` (`Active`), and direct `saferSnapshotUrl`.
- **Fleet Size & Equipment Breakdown:** `powerUnits` (Total Trucks), `truckUnits`, `totalDrivers`, `cdlDrivers`, `fleetSegment` (*Owner-Operator*, *Micro Fleet*, *Small Fleet*, *Mid-Size Fleet*, *Enterprise Fleet*), `annualMileage`, plus owned vs. leased trucks, tractors, and trailers.
- **Safety & Cargo Specialties:** `safetyRating` (*Satisfactory*, *Conditional*, *Unrated*), `hazmatCertified` (`true`/`false`), `mcs150FilingDate`, and `cargoTypes` (*General Freight*, *Refrigerated Food / Reefer*, *Fresh Produce*, *Motor Vehicles*, *Intermodal*, *Oilfield Equipment*, etc.).
- **Addresses:** Full `physicalAddress` and `mailingAddress` (Street, City, State, ZIP, Country).

***

### Powerful Lead Filtering Options

- **US States & City:** Target carriers in specific states (`["TX", "CA", "FL", "IL"]`) or cities (`"HOUSTON"`).
- **Fleet Size Range (`minPowerUnits` – `maxPowerUnits`):** Filter exclusively for 1-truck owner-operators, 5–25 truck small fleets, or 50+ truck commercial fleets.
- **Direct Contact Guarantees:** Enable `requireEmail: true` and `requireOfficerName: true` so 100% of your output records contain a named owner/officer and a direct email address.
- **Cargo & Hazmat Filters:** Target specific niches like Refrigerated (`crgo_coldfood`), Auto Haulers (`crgo_veh`), Construction (`crgo_construct`), Oilfield (`crgo_oilfield`), or Hazmat-certified fleets.

***

### Automate & Wire Into Clay, n8n, or Make (1-Click API)

Fetch verified USDOT trucking leads directly into **Clay, n8n, Make.com, or your CRM** via a single synchronous HTTP POST call:

```bash
curl -X POST "https://api.apify.com/v2/acts/zinjaink~fmcsa-carrier-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "states": ["TX", "FL"],
    "minPowerUnits": 5,
    "maxPowerUnits": 50,
    "activeOnly": true,
    "requireEmail": true,
    "requireOfficerName": true,
    "maxResults": 100
  }'
```

# Actor input Schema

## `states` (type: `array`):

Filter carriers by physical state (e.g., \['TX', 'CA', 'FL', 'IL']). Leave empty to search nationwide.

## `city` (type: `string`):

Optional city name (e.g., 'HOUSTON', 'DALLAS', 'ATLANTA').

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

Minimum number of trucks/power units operated by the carrier (e.g., 1 for owner-operators, 5+ for small/mid fleets).

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

Maximum number of trucks/power units (0 = no upper limit).

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

Only return carriers with an Active ('A') USDOT status.

## `requireEmail` (type: `boolean`):

Only return carriers that have a direct email address on file.

## `requireOfficerName` (type: `boolean`):

Only return carriers with at least one named company officer/owner on file.

## `cargoFilter` (type: `string`):

Optional filter for specific cargo hauled by the carrier.

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

If enabled, only returns carriers certified to haul Hazardous Materials (hm_ind = 'Y').

## `dotNumbers` (type: `array`):

If provided, looks up these exact USDOT numbers instead of using state/fleet filters.

## `companyNameSearch` (type: `string`):

Search legal name or DBA name containing this keyword (e.g., 'LOGISTICS', 'FREIGHT', 'EXPRESS').

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

Maximum number of enriched carrier leads to output.

## Actor input object example

```json
{
  "states": [
    "TX"
  ],
  "minPowerUnits": 5,
  "maxPowerUnits": 500,
  "activeOnly": true,
  "requireEmail": true,
  "requireOfficerName": true,
  "cargoFilter": "ANY",
  "hazmatOnly": false,
  "dotNumbers": [],
  "maxResults": 50
}
```

# Actor output Schema

## `carriers` (type: `string`):

No description

## `summary` (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 = {
    "states": [
        "TX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinjaink/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 = { "states": ["TX"] }

# Run the Actor and wait for it to finish
run = client.actor("zinjaink/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 '{
  "states": [
    "TX"
  ]
}' |
apify call zinjaink/fmcsa-carrier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinjaink/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/HBJN9sNt4EdHGC7z9/builds/uufgiEVhaazdPmiHg/openapi.json
