# FMCSA USDOT Trucking & Carrier Leads Scraper — Email & Phone (`haketa/fmcsa-carrier-scraper`) Actor

Extract US motor carrier, trucking company, and freight broker leads from official FMCSA USDOT census records. Get company names, owners/officers, direct emails, phone numbers, USDOT & MC numbers, truck and driver fleet counts, cargo types, hazmat status, and addresses.

- **URL**: https://apify.com/haketa/fmcsa-carrier-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## FMCSA USDOT Trucking & Motor Carrier Leads Scraper — Email & Phone

[![Apify Actor](https://img.shields.io/badge/Apify%20Actor-Ready-orange?logo=apify)](https://apify.com/haketa/fmcsa-carrier-scraper)
[![Maintenance](https://img.shields.io/badge/Maintained-Active-brightgreen.svg)](https://apify.com/haketa/fmcsa-carrier-scraper)
[![Data Format](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-blue.svg)](https://apify.com/haketa/fmcsa-carrier-scraper)
[![Coverage](https://img.shields.io/badge/Records-2.1M%2B%20Carriers%20%26%20Brokers-success.svg)](https://apify.com/haketa/fmcsa-carrier-scraper)
[![Contacts](https://img.shields.io/badge/Contacts-Direct%20Email%20%2B%20Phone%20%2B%20Officers-purple.svg)](https://apify.com/haketa/fmcsa-carrier-scraper)

**Extract verified US motor carrier, trucking company, freight broker, and shipper leads from official FMCSA USDOT census filings.** Pull company legal and DBA names, owners and corporate officers, direct email addresses, formatted phone numbers, USDOT & MC numbers, truck and driver fleet counts, cargo specializations, hazmat flags, and physical/mailing addresses into **JSON, CSV, Excel, or your CRM**.

Built for commercial truck insurance agencies, freight brokers, factoring companies, fuel card providers, ELD/telematics SaaS teams, and heavy-equipment sales organizations that need clean, structured fleet lead lists on demand.

***

### ⚡ At a glance

| Specification | Details |
|---|---|
| **Coverage Universe** | 2,100,000+ active & historical US / North American USDOT motor carriers, freight brokers, shippers & forwarders |
| **Decision-Maker Contacts** | Direct company email, telephone, mobile/cell phone, fax, Company Officer 1 & Company Officer 2 |
| **Fleet & Authority Metrics** | USDOT #, MC/FF/MX Docket #, Power Units, Straight Trucks, Owned Tractors/Trailers, Total & CDL Drivers, Annual Mileage |
| **Targeting Filters** | US State / Canadian Province, Entity Role, Cargo Type (Reefer, Flatbed, Auto, Intermodal, Tanker), Fleet Size Range, Registration Date, Hazmat |
| **Contact Fill Guarantee** | `hasEmailOnly: true` and `hasPhoneOnly: true` enabled by default for immediate outbound readiness |
| **Pagination & Speed** | High-throughput batch retrieval (50–500+ leads in seconds; `maxItems: 0` unlocks full-catalog pagination) |
| **Export Destinations** | Apify Dataset (CSV, Excel, JSON, Parquet), Key-Value Store (`OUTPUT`), REST API, Clay, HubSpot, Make, Zapier |

***

### 🎯 High-ROI B2B Trucking & Logistics Use Cases

#### 1. Commercial Truck Insurance Prospecting

Target newly registered USDOT authorities (`registeredAfter: "2026-01-01"`) or expanding mid-sized fleets (`minPowerUnits: 5`, `maxPowerUnits: 50`) before policy binding or annual renewal windows. Reach company owners (`officer1`) directly via filed phone and email.

#### 2. New USDOT Authority & Dispatch Outreach

Run daily or weekly scheduled jobs sorted by **Newest Registered First** (`sortBy: "add_date DESC"`) to capture 1-to-10 truck owner-operators the moment their USDOT registration goes active—ideal for dispatch services, BOC-3/compliance agencies, and drug & alcohol consortiums.

#### 3. Freight Brokerage Carrier Sourcing & Capacity Building

Build lane-specific carrier books filtered by **State**, **Interstate Operation (`A`)**, and **Cargo Specialization**—such as Refrigerated Food (Reefer), Fresh Produce, Building Materials (Flatbed), Motor Vehicles (Auto Haulers), or Intermodal Drayage—complete with MC numbers and SAFER snapshot links.

#### 4. Freight Factoring, Fuel Cards & Working Capital Sales

Identify active for-hire interstate motor carriers with `3–25` power units and verified CDL drivers. Segment owner-operators vs. multi-truck corporations (`businessOrg`) to tailor factoring advance rates and fleet fuel card rebates.

#### 5. ELD, Dashcam, Telematics & Fleet Maintenance SaaS Outbound

Segment regional and enterprise fleets (`minPowerUnits: 20`, `sortBy: "power_units::number DESC"`) with high reported MCS-150 annual mileage. Enrich Clay, Apollo, HubSpot, or Salesforce pipelines with exact tractor counts, trailer counts, and executive officer names.

***

### ✨ Key Capabilities

- **100% Email & Phone Lead Filtering**: Keep `hasEmailOnly` and `hasPhoneOnly` enabled to ensure every exported row has an actionable email address and telephone number on file.
- **Granular Fleet Sizing**: Filter by minimum and maximum `powerUnits` as well as `minDrivers` to separate single-truck owner-operators from 10–100+ truck commercial fleets.
- **25+ Cargo & Trailer Specializations**: Zero in on Reefer (`crgo_coldfood`), Produce (`crgo_produce`), Auto Haulers (`crgo_motoveh`), Intermodal (`crgo_intermodal`), Oilfield (`crgo_oilfield`), Heavy Machinery (`crgo_machlrg`), Dry Bulk, Tanker Liquids/Gases, and Hazmat (`hazmatOnly: true`).
- **Direct USDOT, MC & Keyword Lookup**: Pass USDOT numbers (`"295966"`), MC docket numbers (`"MC-184827"`), city names, officer names, or company keywords (`"EXPRESS"`, `"COLD STORAGE"`) in `searchTerms`.
- **Normalized & Deduplicated Output**: Automatically formats 10-digit North American phone numbers (`+1 (806) 622-8400`), lowercases emails, converts `YYYYMMDD` filing dates into ISO `YYYY-MM-DD`, maps entity/operation/safety codes to human-readable labels, and deduplicates across multi-term runs by `dotNumber`.

***

### 📥 Input Parameters

All input fields are optional. Running with empty input `{}` returns 100 newly registered active carriers nationwide with verified email and phone contacts.

| Parameter | Type | Default | Prefill | Description |
|---|---|---|---|---|
| `states` | Array | `[]` (All) | `["TX"]` | Two-letter US state or Canadian province codes (e.g. `["TX", "CA", "FL", "IL"]`). Empty = nationwide. |
| `entityRole` | Select | `""` (All) | `"C"` | Operating role: `""` All, `"C"` Motor Carrier, `"B"` Freight Broker, `"S"` Shipper, `"F"` Freight Forwarder. |
| `carrierOperation` | Select | `""` (All) | `""` | Operating scope: `"A"` Interstate, `"B"` Intrastate Hazmat, `"C"` Intrastate Non-Hazmat. |
| `cargoType` | Select | `""` (Any) | `""` | Filter by hauled commodity (e.g. `crgo_coldfood`, `crgo_genfreight`, `crgo_motoveh`, `crgo_intermodal`). |
| `activeOnly` | Boolean | `true` | `true` | Retain only active USDOT registrations (`statusCode = "A"`). |
| `hasEmailOnly` | Boolean | `true` | `true` | Require a valid email address on file (`100%` email fill rate when enabled). |
| `hasPhoneOnly` | Boolean | `true` | `true` | Require a valid telephone number on file (`100%` phone fill rate when enabled). |
| `hazmatOnly` | Boolean | `false` | `false` | Retain only Hazardous Materials (`hm_ind = "Y"`) carriers. |
| `minPowerUnits` | Integer | `null` | `5` | Minimum total power units (trucks, tractors, buses). |
| `maxPowerUnits` | Integer | `null` | `null` | Maximum total power units (e.g. `10` to cap at small fleets). |
| `minDrivers` | Integer | `null` | `null` | Minimum total drivers employed or leased. |
| `registeredAfter` | String | `""` | `""` | Filter carriers registered on or after `YYYY-MM-DD` (e.g. `"2026-06-01"`). |
| `searchTerms` | Array | `[]` | `[]` | Company/DBA keywords, cities, officer names, USDOT numbers, or `MC-xxxxxx` numbers. |
| `sortBy` | Select | `"add_date DESC"` | `"add_date DESC"` | Sort by Newest Registered, Largest Fleet (`power_units::number DESC`), Recent MCS-150, or Most Drivers. |
| `maxItems` | Integer | `100` | `50` | Maximum carrier records to return (`0` = unlimited pagination). |
| `proxyConfiguration` | Object | `{"useApifyProxy": true}` | `{"useApifyProxy": true}` | Apify Proxy configuration (datacenter proxy works reliably). |

***

### 📤 Output Data Fields

Each dataset item represents a unique USDOT entity normalized for immediate CRM import or spreadsheet analysis.

#### 🏢 Company & Authority Identity

| Field | Type | Coverage | Description |
|---|---|---|---|
| `dotNumber` | String | 🟢 High (100%) | Unique USDOT census registration number |
| `mcNumber` | String | 🟡 Conditional | Primary operating authority docket (`MC-xxxxxx`, `FF-xxxxxx`, or `MX-xxxxxx` when assigned) |
| `dunsNumber` | String | 🟡 Conditional | Dun & Bradstreet number when filed |
| `legalName` | String | 🟢 High (100%) | Registered corporate or individual legal name |
| `dbaName` | String | 🟡 Conditional | Doing-Business-As trade name when registered |
| `statusCode` | String | 🟢 High (100%) | Raw USDOT status (`A` = Active, `I` = Inactive) |
| `isActive` | Boolean | 🟢 High (100%) | Boolean active indicator (`true` when `statusCode === "A"`) |
| `entityType` | String | 🟢 High (99%+) | Normalized role (`Carrier`, `Broker`, `Shipper`, `Carrier & Broker`, etc.) |
| `carrierOperation` | String | 🟢 High (96%+) | `Interstate`, `Intrastate Hazmat`, or `Intrastate Non-Hazmat` |
| `classification` | String | 🟢 High (95%+) | Service classification (e.g. `AUTHORIZED FOR HIRE`, `PRIVATE PROPERTY`) |
| `businessOrg` | String | 🟡 Conditional | Corporate structure (`LIMITED LIABILITY COMPANY`, `CORPORATION`, `INDIVIDUAL`) |

#### 📞 Direct Contacts & Decision-Makers

| Field | Type | Coverage | Description |
|---|---|---|---|
| `email` | String | 🟢 High (100%\*) | Lowercased direct email address (*100% when `hasEmailOnly: true`) |
| `phone` | String | 🟢 High (100%*) | Clean 10-digit telephone string (*100% when `hasPhoneOnly: true`) |
| `phoneFormatted` | String | 🟢 High (100%*) | E.164/North American display format (e.g. `+1 (713) 555-0192`) |
| `cellPhone` | String | 🟡 Conditional | Formatted mobile/cell phone number when separately filed |
| `fax` | String | 🟡 Conditional | Formatted company fax number when filed |
| `officer1` | String | 🟢 High (~99%) | Primary company officer, owner, president, or managing member |
| `officer2` | String | 🟡 Conditional | Secondary company officer, co-owner, or vice president |

#### 🚚 Fleet Size, Drivers & Safety

| Field | Type | Coverage | Description |
|---|---|---|---|
| `powerUnits` | Number | 🟢 High (100%) | Total fleet power units (tractors + straight trucks + buses) |
| `truckUnits` | Number | 🟢 High (100%) | Total straight trucks and road tractors |
| `busUnits` | Number | 🟢 High (100%) | Total passenger bus/coach units |
| `ownedTractors` | Number | 🟢 High (100%) | Count of company-owned road tractors |
| `ownedTrucks` | Number | 🟢 High (100%) | Count of company-owned straight trucks |
| `ownedTrailers` | Number | 🟢 High (100%) | Count of company-owned semi-trailers |
| `totalDrivers` | Number | 🟢 High (100%) | Combined interstate and intrastate driver count |
| `cdlDrivers` | Number | 🟢 High (100%) | Count of Commercial Driver's License (CDL) holders |
| `annualMileage` | Number | 🟢 High (100%) | Reported annual fleet mileage from MCS-150 filing |
| `mileageYear` | String | 🟡 Conditional | Calendar year corresponding to `annualMileage` |
| `hazmat` | Boolean | 🟢 High (100%) | `true` if registered as a Hazardous Materials carrier |
| `safetyRating` | String | 🟡 Conditional | Official safety rating (`Satisfactory`, `Conditional`, `Unsatisfactory`, or empty if unrated) |
| `safetyRatingDate` | String | 🟡 Conditional | Date of safety evaluation (`YYYY-MM-DD`) |
| `cargoTypes` | Array | 🟢 High (95%+) | Standardized list of hauled cargo categories (e.g. `["General Freight", "Refrigerated Food"]`) |

#### 📍 Addresses, Dates & Verification Links

| Field | Type | Coverage | Description |
|---|---|---|---|
| `physicalAddress` | String | 🟢 High (100%) | Physical street address of carrier headquarters/terminal |
| `physicalCity` | String | 🟢 High (100%) | Physical city |
| `physicalState` | String | 🟢 High (100%) | Physical 2-letter US state or Canadian province code |
| `physicalZip` | String | 🟢 High (100%) | Physical ZIP / postal code |
| `physicalCountry` | String | 🟢 High (100%) | Physical country code (`US`, `CA`, `MX`) |
| `mailingAddress` | String | 🟢 High (99%+) | Mailing street or PO Box address |
| `mailingCity` | String | 🟢 High (99%+) | Mailing city |
| `mailingState` | String | 🟢 High (99%+) | Mailing state or province code |
| `mailingZip` | String | 🟢 High (99%+) | Mailing ZIP / postal code |
| `registrationDate` | String | 🟢 High (100%) | Initial USDOT census add date (`YYYY-MM-DD`) |
| `mcs150Date` | String | 🟡 Conditional | Most recent MCS-150 biennial update date (`YYYY-MM-DD`) |
| `saferUrl` | String | 🟢 High (100%) | Direct link to the official FMCSA SAFER Company Snapshot page |
| `scrapedAt` | String | 🟢 High (100%) | ISO 8601 extraction timestamp |

***

### 💻 Sample Output (JSON)

```json
{
  "dotNumber": "3948215",
  "mcNumber": "MC-1482910",
  "dunsNumber": "",
  "legalName": "LONE STAR COLD CHAIN LOGISTICS LLC",
  "dbaName": "LONE STAR REEFER EXPRESS",
  "statusCode": "A",
  "isActive": true,
  "entityType": "Carrier",
  "carrierOperation": "Interstate",
  "classification": "AUTHORIZED FOR HIRE",
  "businessOrg": "LIMITED LIABILITY COMPANY",
  "email": "dispatch@lonestarcoldchain.com",
  "phone": "2145550184",
  "phoneFormatted": "+1 (214) 555-0184",
  "cellPhone": "+1 (214) 555-0199",
  "fax": "",
  "officer1": "CARLOS MENDOZA",
  "officer2": "MARIA MENDOZA",
  "powerUnits": 18,
  "truckUnits": 18,
  "busUnits": 0,
  "ownedTractors": 16,
  "ownedTrucks": 2,
  "ownedTrailers": 22,
  "totalDrivers": 20,
  "cdlDrivers": 20,
  "annualMileage": 1850000,
  "mileageYear": "2025",
  "hazmat": false,
  "safetyRating": "Satisfactory",
  "safetyRatingDate": "2025-04-14",
  "cargoTypes": [
    "General Freight",
    "Fresh Produce",
    "Refrigerated Food"
  ],
  "physicalAddress": "4820 LANGDON RD SUITE 104",
  "physicalCity": "DALLAS",
  "physicalState": "TX",
  "physicalZip": "75241",
  "physicalCountry": "US",
  "mailingAddress": "4820 LANGDON RD SUITE 104",
  "mailingCity": "DALLAS",
  "mailingState": "TX",
  "mailingZip": "75241",
  "registrationDate": "2024-09-12",
  "mcs150Date": "2026-08-03",
  "saferUrl": "https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=3948215",
  "scrapedAt": "2026-11-13T11:30:00.000Z"
}
```

***

### 🧪 Ready-to-Use Input Recipes

<details>
<summary><strong>1. Newly Registered Trucking Authorities (1–10 Trucks, Insurance & Factoring Leads)</strong></summary>

```json
{
  "entityRole": "C",
  "carrierOperation": "A",
  "activeOnly": true,
  "hasEmailOnly": true,
  "hasPhoneOnly": true,
  "minPowerUnits": 1,
  "maxPowerUnits": 10,
  "registeredAfter": "2026-09-01",
  "sortBy": "add_date DESC",
  "maxItems": 500
}
```

</details>

<details>
<summary><strong>2. Mid-Market & Enterprise Fleets (20+ Trucks in TX, CA, FL, IL, GA)</strong></summary>

```json
{
  "states": ["TX", "CA", "FL", "IL", "GA"],
  "entityRole": "C",
  "activeOnly": true,
  "hasEmailOnly": true,
  "hasPhoneOnly": true,
  "minPowerUnits": 20,
  "sortBy": "power_units::number DESC",
  "maxItems": 1000
}
```

</details>

<details>
<summary><strong>3. Refrigerated (Reefer) & Hazmat Specialized Interstate Carriers</strong></summary>

```json
{
  "carrierOperation": "A",
  "cargoType": "crgo_coldfood",
  "hazmatOnly": true,
  "activeOnly": true,
  "hasEmailOnly": true,
  "minPowerUnits": 5,
  "sortBy": "mcs150_date DESC",
  "maxItems": 300
}
```

</details>

<details>
<summary><strong>4. Direct USDOT, MC Number & Company Keyword Batch Lookup</strong></summary>

```json
{
  "searchTerms": ["295966", "MC-184827", "INTERMODAL EXPRESS"],
  "activeOnly": false,
  "hasEmailOnly": false,
  "hasPhoneOnly": false,
  "maxItems": 100
}
```

</details>

***

### 🚀 How to Run & Integrate

#### Run via Apify REST API (cURL)

```bash
curl --request POST \
  --url "https://api.apify.com/v2/acts/haketa~fmcsa-carrier-scraper/runs?token=YOUR_APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
    "states": ["TX", "CA"],
    "entityRole": "C",
    "minPowerUnits": 5,
    "hasEmailOnly": true,
    "maxItems": 250
  }'
```

#### Run via Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("haketa/fmcsa-carrier-scraper").call(run_input={
    "states": ["TX", "OH", "PA"],
    "entityRole": "C",
    "carrierOperation": "A",
    "minPowerUnits": 10,
    "hasEmailOnly": True,
    "sortBy": "power_units::number DESC",
    "maxItems": 500,
})

for carrier in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(carrier["dotNumber"], carrier["legalName"], carrier["email"], carrier["phoneFormatted"])
```

#### Run via Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('haketa/fmcsa-carrier-scraper').call({
    registeredAfter: '2026-10-01',
    entityRole: 'C',
    minPowerUnits: 2,
    hasEmailOnly: true,
    maxItems: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.table(items, ['dotNumber', 'mcNumber', 'legalName', 'officer1', 'email', 'powerUnits']);
```

#### CRM & Outbound Automation Workflows

- **Clay / Apollo / Smartlead / Instantly**: Schedule daily runs filtering by `registeredAfter` and push fresh carrier leads via Webhook directly into automated cold-email and calling sequences.
- **HubSpot & Salesforce**: Connect through Make or Zapier ("Actor Run Succeeded" trigger) to create or enrich Account and Contact records keyed by `dotNumber`.
- **Google Sheets & BI**: Export clean CSV/Excel tables or sync via Apify's Google Sheets integration for territory planning by `physicalState` and `powerUnits`.

***

### 💡 Pro Tips for Outbound Conversion

- **Segment Owner-Operators vs. Fleet Directors**: Set `minPowerUnits: 1` and `maxPowerUnits: 3` when pitching dispatch, load boards, or BOC-3 compliance; set `minPowerUnits: 15` and `sortBy: "power_units::number DESC"` when selling enterprise ELD, dashcams, or fleet maintenance platforms.
- **Automate Daily New-Authority Feeds**: Schedule a daily run with `registeredAfter` set to the current week and deduplicate downstream on `dotNumber` so your sales reps call newly registered trucking owners before inbox saturation sets in.
- **Match Equipment to Freight Lanes**: Combine `states` (e.g. `["CA", "AZ", "FL", "TX"]`) with `cargoType: "crgo_produce"` or `"crgo_coldfood"` to build seasonal produce and cold-chain carrier rosters in seconds.
- **Cross-Verify Compliance Instantly**: Every output record includes a pre-built `saferUrl` pointing directly to the carrier's official FMCSA SAFER Company Snapshot for one-click underwriting review.

***

### ⚠️ Known Limitations & Field Notes

- **MC Docket Numbers (`mcNumber`)**: Intrastate carriers and private-property fleets operate solely under a USDOT number and do not hold interstate MC operating authority; `mcNumber` is populated whenever an `MC`, `FF`, or `MX` docket is registered on the carrier's census record.
- **Safety Ratings (`safetyRating`)**: Most small and recently registered motor carriers have not yet undergone a full compliance review audit, so `safetyRating` is only populated for formally audited fleets (`Satisfactory`, `Conditional`, or `Unsatisfactory`).
- **Self-Reported Census Figures**: Fleet counts (`powerUnits`, `totalDrivers`, `annualMileage`) and contact details reflect the carrier's latest MCS-150 / USDOT registration filing. Uncheck `hasEmailOnly` or `activeOnly` when performing exact USDOT/MC compliance lookups on older or inactive entities.
- **KVS `OUTPUT` Preview Cap**: All extracted records are saved in full to the default Apify Dataset; the Key-Value Store `OUTPUT` key mirrors up to 2,000 records for lightweight synchronous API integrations.

***

### ❓ Frequently Asked Questions

#### How fresh are the newly registered USDOT carrier records?

Official USDOT census additions and MCS-150 updates are refreshed continuously. Sorting by `Newest Registered First` (`add_date DESC`) surfaces newly issued USDOT registrations within 24–48 hours of filing.

#### Can I extract Freight Brokers instead of Motor Carriers?

Yes. Set `entityRole` to `"B"` (**Freight Broker**) or `"F"` (**Freight Forwarder**). If you are targeting brokers that do not own trucks, leave `minPowerUnits` blank or set it to `0`.

#### How do I pull unlimited leads across an entire state or cargo vertical?

Set `maxItems` to `0`. The actor automatically paginates through all matching census records in 500-record batches with deterministic ordering and zero duplicates.

#### Why did a specific USDOT number lookup return 0 results?

By default, `activeOnly`, `hasEmailOnly`, and `hasPhoneOnly` are enabled for outbound lead generation. When looking up a specific USDOT or MC number that may be inactive or missing an email on file, set `activeOnly: false`, `hasEmailOnly: false`, and `hasPhoneOnly: false`.

***

### 📋 Changelog

#### v0.1 (2026-11)

- Initial release of **FMCSA USDOT Trucking & Motor Carrier Leads Scraper**.
- Added multi-state filtering across all US states and Canadian provinces, entity role selection (Carrier, Broker, Shipper, Forwarder), 25+ cargo specialization filters, fleet size & driver bounds, registration date filtering, and multi-term USDOT/MC/keyword search.
- Implemented E.164/North American phone formatting, email normalization, deterministic numeric fleet sorting, batch dataset pushes, and KVS `OUTPUT` mirroring.

# Actor input Schema

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

Filter carriers by physical state or province (e.g. TX, CA, FL, IL, GA, OH, PA, ON). Leave empty to search nationwide across all states.

## `entityRole` (type: `string`):

Filter by operating role registered with USDOT.

## `carrierOperation` (type: `string`):

Filter by interstate or intrastate operating scope.

## `cargoType` (type: `string`):

Optional filter for carriers hauling a specific commodity or trailer category (e.g. Refrigerated Food, General Freight, Motor Vehicles, Intermodal, Flatbed Building Materials).

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

Return only active USDOT registrations (status code A). Uncheck to include inactive records.

## `hasEmailOnly` (type: `boolean`):

Only return carriers with a direct email address on file (delivers 100% email fill rate for outbound sales).

## `hasPhoneOnly` (type: `boolean`):

Only return carriers with a verified telephone number on file.

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

Return only carriers flagged as Hazardous Materials (HM) haulers.

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

Minimum fleet size in total power units (e.g. 1 for owner-operators, 5 for small fleets, 25+ for mid-market fleets).

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

Maximum fleet size in total power units (e.g. set minPowerUnits=1 and maxPowerUnits=3 to target owner-operators).

## `minDrivers` (type: `integer`):

Minimum total drivers employed or leased by the carrier.

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

Filter for newly registered USDOT authorities added on or after this date (e.g. 2026-01-01). Ideal for commercial truck insurance, factoring, ELD, and dispatch outreach.

## `searchTerms` (type: `array`):

Optional company/DBA keywords (e.g. "LOGISTICS", "EXPRESS"), city names, officer names, USDOT numbers (e.g. "295966"), or MC numbers (e.g. "MC-184827"). Leave empty to browse all matching fleets.

## `sortBy` (type: `string`):

How to order matching motor carrier records.

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

Maximum number of carrier leads to extract. Set to 0 for unlimited pagination across all matching records.

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

Apify Proxy settings. Datacenter proxies are fast and economical.

## Actor input object example

```json
{
  "states": [
    "TX"
  ],
  "entityRole": "C",
  "carrierOperation": "",
  "cargoType": "",
  "activeOnly": true,
  "hasEmailOnly": true,
  "hasPhoneOnly": true,
  "hazmatOnly": false,
  "minPowerUnits": 5,
  "sortBy": "add_date DESC",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dotNumber` (type: `string`):

Unique USDOT registration number

## `mcNumber` (type: `string`):

Primary MC / FF / MX operating authority docket number

## `dunsNumber` (type: `string`):

Dun & Bradstreet identifier when filed

## `legalName` (type: `string`):

Registered corporate or individual legal name

## `dbaName` (type: `string`):

Doing-Business-As trade name

## `statusCode` (type: `string`):

USDOT status code (A = Active, I = Inactive)

## `isActive` (type: `string`):

Whether USDOT status is active

## `entityType` (type: `string`):

Normalized role (Carrier, Broker, Shipper)

## `carrierOperation` (type: `string`):

Interstate, Intrastate Hazmat, or Intrastate Non-Hazmat

## `classification` (type: `string`):

Authorized For Hire, Private Property, Exempt, etc.

## `businessOrg` (type: `string`):

LLC, Corporation, Partnership, or Individual

## `email` (type: `string`):

Direct company email address

## `phone` (type: `string`):

Normalized telephone digits

## `phoneFormatted` (type: `string`):

Formatted North American phone number

## `cellPhone` (type: `string`):

Mobile/cell phone number when filed

## `fax` (type: `string`):

Fax number when filed

## `officer1` (type: `string`):

Primary owner, president, CEO, or managing member

## `officer2` (type: `string`):

Secondary company officer or partner

## `powerUnits` (type: `string`):

Total power units (trucks, tractors, buses)

## `truckUnits` (type: `string`):

Total straight trucks and road tractors

## `busUnits` (type: `string`):

Total passenger buses/coaches

## `ownedTractors` (type: `string`):

Company-owned road tractors

## `ownedTrucks` (type: `string`):

Company-owned straight trucks

## `ownedTrailers` (type: `string`):

Company-owned trailers

## `totalDrivers` (type: `string`):

Total interstate and intrastate drivers

## `cdlDrivers` (type: `string`):

Drivers holding a Commercial Driver's License (CDL)

## `annualMileage` (type: `string`):

Reported MCS-150 annual fleet mileage

## `mileageYear` (type: `string`):

Calendar year of reported MCS-150 mileage

## `hazmat` (type: `string`):

Whether carrier transports hazardous materials

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

Satisfactory, Conditional, or Unsatisfactory

## `safetyRatingDate` (type: `string`):

Date of most recent safety rating (YYYY-MM-DD)

## `cargoTypes` (type: `string`):

List of hauled commodities and freight categories

## `physicalAddress` (type: `string`):

Physical street address

## `physicalCity` (type: `string`):

Physical city

## `physicalState` (type: `string`):

Physical two-letter state/province code

## `physicalZip` (type: `string`):

Physical postal/ZIP code

## `physicalCountry` (type: `string`):

Physical country code (US, CA, MX)

## `mailingAddress` (type: `string`):

Mailing street address

## `mailingCity` (type: `string`):

Mailing city

## `mailingState` (type: `string`):

Mailing state/province code

## `mailingZip` (type: `string`):

Mailing postal/ZIP code

## `registrationDate` (type: `string`):

USDOT registration date (YYYY-MM-DD)

## `mcs150Date` (type: `string`):

Latest MCS-150 biennial update date (YYYY-MM-DD)

## `saferUrl` (type: `string`):

Direct link to official FMCSA SAFER Company Snapshot

## `scrapedAt` (type: `string`):

ISO 8601 extraction timestamp

# 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"
    ],
    "entityRole": "C",
    "activeOnly": true,
    "hasEmailOnly": true,
    "hasPhoneOnly": true,
    "minPowerUnits": 5,
    "sortBy": "add_date DESC",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/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"],
    "entityRole": "C",
    "activeOnly": True,
    "hasEmailOnly": True,
    "hasPhoneOnly": True,
    "minPowerUnits": 5,
    "sortBy": "add_date DESC",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/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"
  ],
  "entityRole": "C",
  "activeOnly": true,
  "hasEmailOnly": true,
  "hasPhoneOnly": true,
  "minPowerUnits": 5,
  "sortBy": "add_date DESC",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/fmcsa-carrier-scraper --silent --output-dataset

```

## MCP server setup

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