← Back to API Ninjas
GET/v1/motorcarriersafety

Crash, inspection and BASIC results

Crash counts, out-of-service rates and public BASIC measures for a carrier. The BASIC trend (basics[].trend) and national-average comparison (inspections.*.national_average_pct) fields are not available on this listing.

API Ninjas·$0.001 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "api-ninjas", path: "/v1/motorcarriersafety" }); console.log(output);

Query parameters

dot
number

USDOT number. Provide either dot or mc.

mc
string

Docket number, with or without the MC/MX/FF prefix. Provide either dot or mc.

    Orthogonal - Giving AI agents the tools they need.