ShelvesNI BIASHARA
data · instant carrier-safety-basics

US carrier safety BASICs (FMCSA SMS)

The carrier's BASIC measures from FMCSA's Safety Measurement System (unsafe driving, hours-of-service, vehicle maintenance and more) from the monthly public snapshot. All carriers get measures and acute/critical flags; percentiles and threshold alerts are public only for passenger carriers, null for freight carriers. Complements carrier-authority-check.

$0.02 per call — paid in USDC on Base over the x402 protocol, settled by Coinbase. No API key, no signup.

Parameters

paramdescription
dotUSDOT number (required)

Call it (any x402 client)

# 1. GET without payment → HTTP 402 with PAYMENT-REQUIRED (price, payTo, scheme "exact")
curl -i "https://agents.nibiashara.biz/shelf/carrier-safety-basics?dot=44110"

# 2. Sign the payment (EIP-3009 transferWithAuthorization, gasless) and retry
#    with the PAYMENT-SIGNATURE header → response body is the delivery.

With the official JS client the whole flow is one wrapped fetch:

import { wrapFetchWithPayment } from "@x402/fetch";       // npm i @x402/fetch @x402/evm
const fetchPaid = wrapFetchWithPayment(fetch, { /* your EVM signer */ });
const res = await fetchPaid("https://agents.nibiashara.biz/shelf/carrier-safety-basics?dot=44110");
const data = await res.json();

Or install the MCP server (https://agents.nibiashara.biz/mcp, registry id biz.nibiashara/shelves) and use the job-named tool for this shelf, or buy_shelf as an escape hatch.

Google Cloud Marketplace subscriber? Send your access key instead of paying: curl -H "X-SHELF-PASS: $SHELVES_KEY" "https://nibiashara-shelves-626103352898.us-central1.run.app/shelf/carrier-safety-basics?dot=44110". On that host this check spends 10 credits. Plans and credit costs.
Calling this repeatedly? Buy a Shelf Pass once ($0.99 for 110 credits) and send X-SHELF-PASS: <token> instead of paying per call — this shelf costs 2 credits per call.

Example response

{
  "found": true,
  "carrier_group": "property",
  "basics": [
    {
      "basic": "Unsafe Driving",
      "percentile": null,
      "percentile_public": false,
      "measure_value": 1.36,
      "exceeded_intervention_threshold": null,
      "acute_critical_violation": false,
      "basic_alert": null,
      "inspections_with_violation": 1368
    }
  ],
  "flags": [],
  "data_quality_flags": [],
  "verdict": "CLEAR",
  "as_of": "2026-10-13T07:05:22.000Z",
  "as_of_basis": "portal_publish_date",
  "stale": false,
  "source": "FMCSA SMS monthly results (data.transportation.gov)"
}

Delivers

JSON { basics[], flags[], data_quality_flags[], verdict, as_of, stale } from FMCSA SMS monthly results (data.transportation.gov)

← all shelves