# FMCSA Carrier Census Lookup by USDOT Number

> FMCSA Carrier Census Lookup by USDOT Number is a paid API for AI agents from api.companyrecords-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Retrieves FMCSA carrier census record (legal name, address, power units, drivers, status, registration dates) for a given USDOT number from the public FMCSA Company Census File.

## Facts

- Endpoint: GET https://api.companyrecords-api.workers.dev/api/gov/fmcsa-carrier-safety?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fmcsa-carrier-census-lookup-by-usdot-number-b544fc93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3OkPfZibUaG0a8bU5zAE6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fmcsa-carrier-census-lookup-by-usdot-number-b544fc93
```

Example prompt: Can you pull up the FMCSA carrier census record for USDOT number 295043 — I need the legal name, address, number of power units, and whether they're currently active?

## When to prefer this

Use this endpoint when you need structured census-level data about a US motor carrier — legal name, address, fleet size, driver count, and registration status — given a USDOT number. It is ideal for carrier vetting, compliance enrichment, and database backfill. Note: this endpoint serves census file data only, not real-time inspection history, safety ratings, or crash data; for those, use FMCSA Safety Measurement System (SMS) endpoints instead.

## Known failure modes

- Invalid or non-existent USDOT number returns an empty carriers array
- Non-digit characters in the DOT number field cause a validation error
- USDOT numbers longer than 8 digits are rejected
- Upstream data.transportation.gov outage may cause timeout or error response
- Census file data may lag behind live FMCSA records for recently updated carriers

## How this service works

Pay-per-call company registry, government, legal and B2B data tools for AI agents, from official registers and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

Returns a JSON object with the data source URL, a checkedAt timestamp, and an array of carrier records each containing: DOT number, legal name, city, state, add date, MCS-150 date, power units count, total drivers, status code (e.g. 'I' for inactive, 'A' for active), and carrier operation type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "dot"
     ],
     "properties": {
      "dot": {
       "type": "string",
       "description": "USDOT number, digits only, 1 to 8 digits"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "https://data.transportation.gov/resource/az4n-8mr2.json",
  "carriers": [
   {
    "city": "WISCONSIN RAPIDS",
    "state": "WI",
    "addDate": "19870610",
    "dotNumber": "295043",
    "legalName": "HAROLD DAVIS TRUCKING INC",
    "mcs150Date": "20020318",
    "powerUnits": 14,
    "statusCode": "I",
    "totalDrivers": 13,
    "carrierOperation": "A"
   }
  ],
  "checkedAt": "2026-10-23T09:37:04.365Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fmcsa-carrier-census-lookup-by-usdot-number-b544fc93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.companyrecords-api.workers.dev](https://www.zero.xyz/host/api.companyrecords-api.workers.dev/llms.txt)
