# 2s Carrier Safety API — FMCSA Motor Carrier Safety Lookup

> 2s Carrier Safety API — FMCSA Motor Carrier Safety Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0018/call, status unknown (last checked 2026-10-12).

Looks up FMCSA motor carrier safety profiles by USDOT number or carrier name, returning safety ratings, crash statistics, inspection records, BASIC scores, and operating status.

## Facts

- Endpoint: GET https://2s.io/api/gov/carrier-safety?utm_source=zero.xyz
- Price: $0.0018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-carrier-safety-api-fmcsa-motor-carrier-safety-lookup-1eb3cbaa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xMZp5m2iuQ7TGyZselykh

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 2s-carrier-safety-api-fmcsa-motor-carrier-safety-lookup-1eb3cbaa
```

Example prompt: Can you pull the FMCSA safety profile for USDOT number 264184 — I want to see their safety rating, crash history, inspection out-of-service rates, and whether they're currently allowed to operate?

## When to prefer this

Use this endpoint when you need authoritative, government-sourced safety data for US motor carriers — including safety ratings, BASIC scores, crash history, and operating authorization. Prefer this over general business lookup endpoints when the subject is a trucking or freight carrier and regulatory compliance is the concern. Ideal for freight vetting, logistics partner due diligence, insurance underwriting, or compliance checks.

## Known failure modes

- DOT number not found in FMCSA database — found: false returned
- Carrier name search returns zero matches — empty matches array
- Invalid DOT number format causes query failure
- Name search limit out of range (must be 1-50)
- FMCSA upstream source temporarily unavailable

## How this service works

FMCSA motor-carrier (trucking/bus company) safety profile. Pass dot (USDOT number) for the full record: legal/DBA name, state, interstate/intrastate operation, operating-authority status (allowedToOperate), FMCSA safety rating, fleet size (drivers + power units), crash history (total/fatal/injury/tow-away), roadside-inspection history with driver + vehicle out-of-service rates, and the CSA BASIC measures (Unsafe Driving, Hours-of-Service, Driver Fitness, Controlled Substances, Vehicle Maintenance, Hazmat, Crash Indicator) with violation counts. Or pass name to search → matching carriers with their DOT numbers. Free, public-domain US DOT data (keyed). For commercial-auto/freight underwriting, broker/shipper vetting, and vendor due diligence — the authorization + safety record an agent can't get from training.

## Output

Returns a structured JSON object containing: carrier identity (legal name, DBA, DOT number, operation type, status), safety rating and date, whether the carrier is allowed to operate, crash counts (fatal, injury, towaway, total), inspection totals and out-of-service rates for drivers and vehicles, and BASIC category scores (percentile, measure value, violation counts, intervention threshold status). In name-search mode, returns a list of matching carriers with their DOT numbers.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "dot": "264184"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [],
     "properties": {
      "dot": {
       "type": "string",
       "description": "USDOT number for the full safety profile."
      },
      "name": {
       "type": "string",
       "description": "Carrier name to search (returns matches with DOT numbers)."
      },
      "limit": {
       "type": "integer",
       "description": "Max name-search matches (1-50, default 10)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-carrier-safety-api-fmcsa-motor-carrier-safety-lookup-1eb3cbaa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
