NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server

Motor Carrier API

Look up any US motor carrier, broker, or freight forwarder by USDOT number or docket (MC) number. Returns legal and DBA name, address, operating authority, insurance filings, safety rating, out-of-service status, and crash and inspection history — built from the public Federal Motor Carrier Safety Administration (FMCSA) files, covering all 4.4 million registered entities.

Freight fraud and double-brokering are the expensive problem this data solves. After the Supreme Court's 2026 decision in Montgomery v. Caribe Transport II, brokers face state negligent-selection claims, and documented carrier vetting is the control. Every response carries a data_as_of and retrieved_at stamp so you can evidence exactly what the record showed at the moment you checked.

(4.4)

From 8,322 users

800+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
386ms419ms444ms732ms1326ms

Didn't find what you were looking for? Suggest an improvement

5 endpoints

https://api.api-ninjas.com/v1/motorcarrier

Canonical carrier profile. Provide exactly one of dot or mc.

Parameters

  • dot  optional

    USDOT number, for example 428823.

  • mc  optional

    Docket number, with or without the prefix — MC227271 or 227271. MC, MX and FF prefixes are all supported. Docket numbers were not retired by FMCSA's 2026 registration modernization.

  • checks  optional  premium

    Set to true to include a per-check evaluation against C.H. Robinson's published carrier selection criteria: authority active, safety rating acceptable, BI&PD and cargo coverage thresholds, no out-of-service order, no pending insurance cancellation, and MCS-150 currency. Returns the individual checks and their reasons, not an overall verdict.

  • min_bipd  optional  premium

    BI&PD threshold in dollars used by checks. Defaults to 1000000, the market contractual floor. The federal minimum is $750,000 under 49 CFR 387.9.

  • min_cargo  optional  premium

    Cargo coverage threshold in dollars used by checks. Defaults to 100000.

Response fields

Every key is always present, with null where a value is unavailable. Premium fields return a placeholder string below Business.

  • found

    Boolean. false when no carrier matches the identifier.

  • carrier

    Object with the carrier record, or null when found is false. Contains dot_number, legal_name, dba_name, status, entity_types, carrier_operation, business_type, registration_date, physical_address, mailing_address, dockets, authority, power_units, drivers, mcs150_date, safety_rating, safety_rating_date, out_of_service, out_of_service_date and out_of_service_reason on every plan; and phone, fax, cell_phone, email_address, company_officer_1, company_officer_2, undeliverable_address, prior_revocation, prior_revocation_dot_number, mcs150_mileage, mcs150_mileage_year, mcs150_due_date, mcs150_overdue, recordable_crash_rate, operation_classifications, cargo_classes, equipment, hazmat and dun_bradstreet_number on Business and above.

  • criteria

    Present only when checks=true. Contains criteria_source, checks, checks_passed, checks_failed and note.

  • data_as_of

    Upstream publication date per source, e.g. census, insurance, authority, inspections. Together with retrieved_at this is the point-in-time record of what FMCSA showed when you checked.

  • retrieved_at

    UTC timestamp of this response.

  • source

    Source attribution string.

  • disclaimer

    Object of notices: affiliation, accuracy, and where applicable permitted_use, no_safety_determination and coverage.

A note on safety ratings. Unrated is a normal and acceptable state: roughly 92% of active interstate carriers hold no rating, because FMCSA only assigns one after a compliance review. Conditional means FMCSA found inadequate safety management controls. Do not treat Unrated as a failure.

Sample Request Live Demo!

dot

Try our APIs in the API playground

Sign up for a free API key to get started — no credit card required.

https://api.api-ninjas.com/v1/motorcarrier?dot=428823

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    found:true,
    carrier:{
      dot_number:428823,
      legal_name:"KNIGHT TRANSPORTATION INC",
      dba_name:null,
      status:"Active",
      entity_types:[
        "Carrier",
        "Broker"
      ],
      carrier_operation:"Interstate",
      business_type:"CORPORATION",
      registration_date:"1990-11-21",
      physical_address:{
        street:"2002 WEST WAHALLA LANE",
        city:"PHOENIX",
        state:"AZ",
        zip:"85027",
        country:"US",
        county:"013",
        colonia:null
      },
      mailing_address:{
        street:"2002 WEST WAHALLA LANE",
        city:"PHOENIX",
        state:"AZ",
        zip:"85027",
        country:"US",
        county:"013",
        colonia:null
      },
      power_units:3200,
      drivers:3200,
      mcs150_date:"2025-11-03",
      safety_rating:"Satisfactory",
      safety_rating_date:"2010-06-15",
      dockets:[
        {
          docket:"MC227271",
          prefix:"MC",
          number:227271,
          status:"Active"
        }
      ],
      out_of_service:false,
      out_of_service_date:null,
      out_of_service_reason:null,
      phone:"6239077231",
      fax:"6022692000",
      cell_phone:null,
      email_address:"[redacted in docs; live API returns the real value]",
      company_officer_1:"[redacted in docs; live API returns the real value]",
      company_officer_2:"[redacted in docs; live API returns the real value]",
      undeliverable_address:false,
      prior_revocation:false,
      prior_revocation_dot_number:null,
      mcs150_mileage:275251700,
      mcs150_mileage_year:"2024",
      mcs150_due_date:"2026-03-01",
      mcs150_overdue:true,
      recordable_crash_rate:null,
      operation_classifications:[
        "AUTHORIZED FOR HIRE"
      ],
      cargo_classes:[
        "General Freight",
        "Fresh Produce",
        "Intermodal Containers",
        "Paper Products"
      ],
      equipment:{
        owned:{
          tract:3200,
          trail:9500
        }
      },
      hazmat:true,
      dun_bradstreet_number:"615956992",
      authority:[
        {
          docket:"MC227271",
          type:"Broker of Property (Except Household Goods)",
          status:"Active",
          bipd_required_usd:0,
          bipd_on_file_usd:5000000,
          cargo_required:false,
          cargo_on_file:false,
          bond_required:true,
          bond_on_file:true
        },
        {
          docket:"MC227271",
          type:"Motor Carrier of Property (Except Household Goods)",
          status:"Active",
          bipd_required_usd:1000000,
          bipd_on_file_usd:5000000,
          cargo_required:false,
          cargo_on_file:false,
          bond_required:false,
          bond_on_file:false
        }
      ]
    },
    data_as_of:{
      insurance:"2026-08-20",
      safety:"2026-08-13",
      authority:"2026-08-20",
      crashes:"2026-08-20",
      census:"2026-08-18",
      inspections:"2026-08-18",
      out_of_service:"2026-08-20"
    },
    retrieved_at:"2026-08-20T21:49:25Z",
    source:"Data sourced from public Federal Motor Carrier Safety Administration (FMCSA) records published at data.transportation.gov.",
    disclaimer:{
      affiliation:"API Ninjas is not affiliated with, endorsed by, or sponsored by the U.S. Department of Transportation or the Federal Motor Carrier Safety Administration. API Ninjas is a private third-party data provider, and fees are for API access only.",
      accuracy:"This data is provided as-is with no warranty of accuracy, completeness or timeliness. The authoritative record is the FMCSA SAFER Company Snapshot at https://safer.fmcsa.dot.gov. Corrections are filed through FMCSA DataQs at https://dataqs.fmcsa.dot.gov.",
      no_safety_determination:"This API does not make a safety determination about any carrier and does not endorse any carrier. Per FMCSA: readers should not draw conclusions about a carrier's overall safety condition simply based on the data displayed in this system. Unless a carrier has received an UNSATISFACTORY safety rating, it is authorized to operate.",
      permitted_use:"Not a consumer report and not provided by a consumer reporting agency as defined by the Fair Credit Reporting Act. Permitted uses are carrier vetting, freight brokerage, logistics operations, compliance monitoring and research. This data may NOT be used for consumer eligibility determinations, employment or driver-hiring decisions, credit or tenant screening, or individual insurance underwriting, and may not form the basis of any adverse action against an individual."
    }
}

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/motorcarrier?dot=428823" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/motorcarriersearch

Find carriers by name or location, or reverse-look-up a phone number or email address. At least one parameter is required.

Parameters

  • name  optional

    Company name, minimum 3 alphanumeric characters. Matching is prefix-based against a normalized form of both the legal name and the DBA name: case, punctuation and a leading "The" are ignored, so knight transportation and The Knight Transportation, Inc. match the same records.

  • state, city, zip  optional

    Filter by the physical address on file.

  • status  optional

    One of active, inactive or pending.

  • phone, email  optional  premium

    Reverse lookup: find every carrier registered with a given phone number, email address, or email domain. A phone or domain shared across several carriers is a standard double-brokering signal.

  • limit, offset  optional

    limit defaults to 20, maximum 100. offset is capped at 10000.

Response fields

  • count

    Number of carriers returned in this page.

  • limit

    Page size used.

  • offset

    Offset used.

  • carriers

    Array of matches. Each has dot_number, legal_name, dba_name, city, state, zip, status, carrier_operation, power_units, drivers and safety_rating.

  • data_as_of

    Upstream publication date per source, e.g. census, insurance, authority, inspections. Together with retrieved_at this is the point-in-time record of what FMCSA showed when you checked.

  • retrieved_at

    UTC timestamp of this response.

  • source

    Source attribution string.

  • disclaimer

    Object of notices: affiliation, accuracy, and where applicable permitted_use, no_safety_determination and coverage.

Sample Request Live Demo!

name
state

Try our APIs in the API playground

Sign up for a free API key to get started — no credit card required.

https://api.api-ninjas.com/v1/motorcarriersearch?name=knight transportation&state=AZ

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    count:2,
    limit:20,
    offset:0,
    carriers:[
      {
        dot_number:428823,
        legal_name:"KNIGHT TRANSPORTATION INC",
        dba_name:null,
        city:"PHOENIX",
        state:"AZ",
        zip:"85027",
        status:"Active",
        carrier_operation:"Interstate",
        power_units:3200,
        drivers:3200,
        safety_rating:"Satisfactory"
      },
      {
        dot_number:2973000,
        legal_name:"KNIGHT TRANSPORTATION SERVICES INC",
        dba_name:null,
        city:"PHOENIX",
        state:"AZ",
        zip:"85043",
        status:"Active",
        carrier_operation:"Intrastate Non-Hazmat",
        power_units:0,
        drivers:null,
        safety_rating:"Unrated"
      }
    ],
    data_as_of:{
      census:"2026-08-18"
    },
    retrieved_at:"2026-08-20T21:49:27Z",
    source:"Data sourced from public Federal Motor Carrier Safety Administration (FMCSA) records published at data.transportation.gov.",
    disclaimer:{
      affiliation:"API Ninjas is not affiliated with, endorsed by, or sponsored by the U.S. Department of Transportation or the Federal Motor Carrier Safety Administration. API Ninjas is a private third-party data provider, and fees are for API access only.",
      accuracy:"This data is provided as-is with no warranty of accuracy, completeness or timeliness. The authoritative record is the FMCSA SAFER Company Snapshot at https://safer.fmcsa.dot.gov. Corrections are filed through FMCSA DataQs at https://dataqs.fmcsa.dot.gov.",
      permitted_use:"Not a consumer report and not provided by a consumer reporting agency as defined by the Fair Credit Reporting Act. Permitted uses are carrier vetting, freight brokerage, logistics operations, compliance monitoring and research. This data may NOT be used for consumer eligibility determinations, employment or driver-hiring decisions, credit or tenant screening, or individual insurance underwriting, and may not form the basis of any adverse action against an individual."
    }
}

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/motorcarriersearch?name=knight%20transportation&state=AZ" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/motorcarrierinsurance

Policy-level insurance filings for a carrier: form code, insurer, policy number, coverage amount, and effective and cancellation dates. Requires a Business or higher subscription.

Parameters

  • dot or mc  required

    USDOT number or docket number. Provide exactly one.

Catching a lapse before it happens

Insurers must give FMCSA 30 days' written notice on Form BMC-35 before cancelling a policy (49 CFR 387.313(d)). That creates a window in which a carrier still shows insurance on file while counting down to no coverage at all. The summary object exposes it directly:

  • cancellation_pending — a filing is scheduled to cancel within 30 days
  • days_until_cancellation — how many days remain, where 0 means today
  • bond_below_threshold — a broker bond under the $75,000 floor in 49 CFR 387.307
  • insurer_count — distinct insurers on file; frequent churn signals financial instability

Response fields

  • found

    Boolean.

  • dot_number

    The resolved USDOT number.

  • summary

    Rolled-up view: bipd_coverage, cargo_coverage, bond_coverage, active_filings, cancellation_pending, days_until_cancellation, bond_below_threshold, bond_threshold and insurer_count.

  • filings

    Array of active filings. Each has form_code, insurance_type, insurer_name, policy_number, coverage_amount, coverage_currency, underlying_limit, effective_date, cancellation_date, days_until_cancellation, cancellation_pending and docket.

  • cancellation_notices

    BMC-35 filings, listed separately because they are cancellation notices rather than coverage.

  • note

    Explains the dollar normalization and the BMC-35 split.

  • data_as_of

    Upstream publication date per source, e.g. census, insurance, authority, inspections. Together with retrieved_at this is the point-in-time record of what FMCSA showed when you checked.

  • retrieved_at

    UTC timestamp of this response.

  • source

    Source attribution string.

  • disclaimer

    Object of notices: affiliation, accuracy, and where applicable permitted_use, no_safety_determination and coverage.

Two things worth knowing about this data. All coverage_amount values are in US dollars. FMCSA's legacy files state coverage in thousands while the current system states it in dollars, and we normalize both to dollars on ingest. Separately, BMC-35 filings are cancellation notices, not coverage, so they are returned under cancellation_notices and excluded from filings and from every coverage total.

Sample Request Live Demo!

dot

Try our APIs in the API playground

Sign up for a free API key to get started — no credit card required.

https://api.api-ninjas.com/v1/motorcarrierinsurance?dot=428823

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    found:true,
    dot_number:428823,
    summary:{
      bipd_coverage:4000000,
      cargo_coverage:5000,
      bond_coverage:75000,
      active_filings:4,
      cancellation_pending:false,
      days_until_cancellation:null,
      bond_below_threshold:false,
      bond_threshold:75000,
      insurer_count:4
    },
    filings:[
      {
        form_code:"BMC-91X",
        insurance_type:"BIPD",
        insurer_name:"Ace American Insurance Company",
        policy_number:"XSA H25546179",
        coverage_amount:4000000,
        coverage_currency:"USD",
        underlying_limit:1000000,
        effective_date:"2021-03-01",
        cancellation_date:null,
        days_until_cancellation:null,
        cancellation_pending:false,
        docket:"MC227271"
      },
      {
        form_code:"BMC-91X",
        insurance_type:"BIPD",
        insurer_name:"RED ROCK RISK RETENTION GROUP",
        policy_number:"RRG428823",
        coverage_amount:1000000,
        coverage_currency:"USD",
        underlying_limit:0,
        effective_date:"2018-03-01",
        cancellation_date:null,
        days_until_cancellation:null,
        cancellation_pending:false,
        docket:"MC227271"
      },
      {
        form_code:"BMC-84",
        insurance_type:"SURETY",
        insurer_name:"Travelers Casualty and Surety Company of America",
        policy_number:"106495181",
        coverage_amount:75000,
        coverage_currency:"USD",
        underlying_limit:0,
        effective_date:"2016-04-05",
        cancellation_date:null,
        days_until_cancellation:null,
        cancellation_pending:false,
        docket:"MC227271"
      },
      {
        form_code:"BMC-34",
        insurance_type:"CARGO",
        insurer_name:"LEXINGTON INSURANCE COMPANY",
        policy_number:"66095698",
        coverage_amount:5000,
        coverage_currency:"USD",
        underlying_limit:0,
        effective_date:"2011-02-01",
        cancellation_date:null,
        days_until_cancellation:null,
        cancellation_pending:false,
        docket:"MC227271"
      }
    ],
    cancellation_notices:[],
    note:"Coverage amounts are in US dollars. BMC-35 filings are cancellation notices, not coverage, and are listed separately under cancellation_notices.",
    data_as_of:{
      insurance:"2026-08-20"
    },
    retrieved_at:"2026-08-20T21:49:29Z",
    source:"Data sourced from public Federal Motor Carrier Safety Administration (FMCSA) records published at data.transportation.gov.",
    disclaimer:{
      affiliation:"API Ninjas is not affiliated with, endorsed by, or sponsored by the U.S. Department of Transportation or the Federal Motor Carrier Safety Administration. API Ninjas is a private third-party data provider, and fees are for API access only.",
      accuracy:"This data is provided as-is with no warranty of accuracy, completeness or timeliness. The authoritative record is the FMCSA SAFER Company Snapshot at https://safer.fmcsa.dot.gov. Corrections are filed through FMCSA DataQs at https://dataqs.fmcsa.dot.gov.",
      no_safety_determination:"This API does not make a safety determination about any carrier and does not endorse any carrier. Per FMCSA: readers should not draw conclusions about a carrier's overall safety condition simply based on the data displayed in this system. Unless a carrier has received an UNSATISFACTORY safety rating, it is authorized to operate.",
      permitted_use:"Not a consumer report and not provided by a consumer reporting agency as defined by the Fair Credit Reporting Act. Permitted uses are carrier vetting, freight brokerage, logistics operations, compliance monitoring and research. This data may NOT be used for consumer eligibility determinations, employment or driver-hiring decisions, credit or tenant screening, or individual insurance underwriting, and may not form the basis of any adverse action against an individual."
    }
}

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/motorcarrierinsurance?dot=428823" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/motorcarriersafety

Crash counts by severity, inspection and out-of-service rates measured against the national average, and public BASIC results from FMCSA's Safety Measurement System.

Parameters

  • dot or mc  required

    USDOT number or docket number. Provide exactly one.

Response fields

  • found

    Boolean.

  • dot_number

    The resolved USDOT number.

  • carrier_class

    property or passenger. Determines whether percentiles exist.

  • window_months

    Measurement window, 24 months.

  • crashes

    total, fatal, injury, tow_away. A crash can be both fatal and injury, so the parts do not sum to the total.

  • inspections

    Keyed by vehicle and driver, each with inspections, out_of_service, out_of_service_pct and national_average_pct (Business+).

  • basics

    Array of BASIC results with basic, code, measure, inspections_with_violation, acute_critical_violation, percentile, alert, trend (Business+), and availability on the two withheld BASICs.

  • percentile_availability

    passenger_carriers_only or available.

  • percentile_note

    Why percentiles are null for property carriers.

  • not_public

    BASICs FMCSA withholds: Crash Indicator and HazMat Compliance.

  • coverage_note

    Scope limits, including the absence of Canadian data.

  • data_as_of

    Upstream publication date per source, e.g. census, insurance, authority, inspections. Together with retrieved_at this is the point-in-time record of what FMCSA showed when you checked.

  • retrieved_at

    UTC timestamp of this response.

  • source

    Source attribution string.

  • disclaimer

    Object of notices: affiliation, accuracy, and where applicable permitted_use, no_safety_determination and coverage.

Why percentile is usually null. FMCSA does not publish BASIC percentiles for property carriers. Section 5223 of the FAST Act removed public display in 2015, and the replacement methodology adopted at 89 FR 91874 has not launched. Percentiles and alert flags are published only for passenger carriers, so percentile and alert are null for everyone else and percentile_availability says so explicitly. Absolute measures are available for all carriers. Any property-carrier percentile you see elsewhere is a modelled estimate, not an FMCSA figure.

Crash Indicator and HazMat Compliance are returned with availability: "not_public", mirroring FMCSA's own display. Coverage is United States only: Canadian inspections and crashes are not published in the FMCSA bulk files.

Sample Request Live Demo!

dot

Try our APIs in the API playground

Sign up for a free API key to get started — no credit card required.

https://api.api-ninjas.com/v1/motorcarriersafety?dot=428823

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON
{
    found:true,
    dot_number:428823,
    carrier_class:"property",
    window_months:24,
    crashes:{
      total:193,
      fatal:8,
      injury:58,
      tow_away:187
    },
    inspections:{
      driver:{
        inspections:6814,
        out_of_service:66,
        out_of_service_pct:0.97,
        national_average_pct:6.17
      },
      vehicle:{
        inspections:4297,
        out_of_service:806,
        out_of_service_pct:18.76,
        national_average_pct:22.78
      }
    },
    basics:[
      {
        basic:"Controlled Substances/Alcohol",
        code:"controlled_substances",
        measure:0,
        inspections_with_violation:1,
        acute_critical_violation:false,
        percentile:null,
        alert:null,
        trend:null
      },
      {
        basic:"Driver Fitness",
        code:"driver_fitness",
        measure:0.04,
        inspections_with_violation:41,
        acute_critical_violation:false,
        percentile:null,
        alert:null,
        trend:null
      },
      {
        basic:"Hours-of-Service Compliance",
        code:"hours_of_service",
        measure:0.28,
        inspections_with_violation:463,
        acute_critical_violation:false,
        percentile:null,
        alert:null,
        trend:null
      },
      {
        basic:"Unsafe Driving",
        code:"unsafe_driving",
        measure:1.28,
        inspections_with_violation:439,
        acute_critical_violation:false,
        percentile:null,
        alert:null,
        trend:null
      },
      {
        basic:"Vehicle Maintenance",
        code:"vehicle_maintenance",
        measure:2.97,
        inspections_with_violation:1533,
        acute_critical_violation:false,
        percentile:null,
        alert:null,
        trend:null
      },
      {
        basic:"Crash Indicator",
        code:null,
        measure:null,
        inspections_with_violation:null,
        acute_critical_violation:null,
        percentile:null,
        alert:null,
        trend:null,
        availability:"not_public"
      },
      {
        basic:"HazMat Compliance",
        code:null,
        measure:null,
        inspections_with_violation:null,
        acute_critical_violation:null,
        percentile:null,
        alert:null,
        trend:null,
        availability:"not_public"
      }
    ],
    percentile_availability:"passenger_carriers_only",
    percentile_note:"FMCSA does not publish BASIC percentiles or alert flags for property carriers. Public display was removed by section 5223 of the FAST Act (2015); the replacement methodology adopted at 89 FR 91874 (November 2024) has not launched. Percentiles are published only for passenger carriers. Any percentile presented elsewhere for a property carrier is a modelled estimate, not an FMCSA figure.",
    not_public:[
      "Crash Indicator",
      "HazMat Compliance"
    ],
    coverage_note:"United States only. Canadian inspection and crash data are not published in the FMCSA bulk files. Hazmat inspection counts are not reproducible from the public file and are omitted.",
    data_as_of:{
      safety:"2026-08-13",
      crashes:"2026-08-20",
      inspections:"2026-08-18"
    },
    retrieved_at:"2026-08-20T21:49:30Z",
    source:"Data sourced from public Federal Motor Carrier Safety Administration (FMCSA) records published at data.transportation.gov.",
    disclaimer:{
      affiliation:"API Ninjas is not affiliated with, endorsed by, or sponsored by the U.S. Department of Transportation or the Federal Motor Carrier Safety Administration. API Ninjas is a private third-party data provider, and fees are for API access only.",
      accuracy:"This data is provided as-is with no warranty of accuracy, completeness or timeliness. The authoritative record is the FMCSA SAFER Company Snapshot at https://safer.fmcsa.dot.gov. Corrections are filed through FMCSA DataQs at https://dataqs.fmcsa.dot.gov.",
      no_safety_determination:"This API does not make a safety determination about any carrier and does not endorse any carrier. Per FMCSA: readers should not draw conclusions about a carrier's overall safety condition simply based on the data displayed in this system. Unless a carrier has received an UNSATISFACTORY safety rating, it is authorized to operate.",
      coverage:"United States only. Canadian inspection and crash data are not published in the FMCSA bulk files and are not included.",
      permitted_use:"Not a consumer report and not provided by a consumer reporting agency as defined by the Fair Credit Reporting Act. Permitted uses are carrier vetting, freight brokerage, logistics operations, compliance monitoring and research. This data may NOT be used for consumer eligibility determinations, employment or driver-hiring decisions, credit or tenant screening, or individual insurance underwriting, and may not form the basis of any adverse action against an individual."
    }
}

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/motorcarriersafety?dot=428823" \ -H "X-Api-Key: YOUR_API_KEY"

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the Motor Carrier API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • Query any US motor carrier, broker, or freight forwarder by USDOT number (dot) or docket number (mc). The /v1/motorcarrier endpoint returns legal and DBA name, physical and mailing address, entity type, operating authority, power units, driver count, MCS-150 filing date, safety rating, and out-of-service status. Companion endpoints cover insurance filings, crash and inspection history, and carriers sharing an address or phone. For vehicle-level data see the VIN Lookup API.
  • All data comes from public Federal Motor Carrier Safety Administration (FMCSA) files published at data.transportation.gov. Operating authority, insurance filings, out-of-service orders, crashes, and inspections refresh daily; SMS/BASIC results are published monthly by FMCSA. Every response carries a data_as_of object with per-source freshness and a retrieved_at timestamp, so you can evidence exactly what the record showed at the moment you checked. API Ninjas is not affiliated with or endorsed by FMCSA or the US Department of Transportation.
  • Because FMCSA does not publish it. Section 5223 of the FAST Act removed public display of BASIC percentiles for property carriers in 2015, and the replacement methodology adopted at 89 FR 91874 has not launched. Percentiles and alert flags are published only for passenger carriers, so percentile and alert are null for everyone else and the response explains why in percentile_note. Absolute BASIC measures are available for all carriers. Any property-carrier percentile you see elsewhere is a modelled estimate, not an FMCSA figure.
  • Insurers must give FMCSA 30 days' written notice on Form BMC-35 before cancelling a policy (49 CFR 387.313(d)). That creates a window where a carrier still shows insurance on file while counting down to no coverage. The insurance endpoint surfaces cancellation_pending and days_until_cancellation so you can catch it before tendering a load.
  • Identity, address, operating authority, power units, drivers, safety rating, and out-of-service status are available on all plans. The contact block (phone, email_address, company officers), fleet composition, cargo classes, derived flags such as mcs150_overdue, the criteria checks, and the insurance and entity-graph endpoints require a Business or higher subscription.
  • No. This API is not a consumer report and API Ninjas is not a consumer reporting agency under the Fair Credit Reporting Act. It is intended for carrier vetting, freight brokerage, logistics operations, compliance monitoring, and research. It may not be used for employment or driver-hiring decisions, credit or tenant screening, individual insurance underwriting, or any adverse action against an individual. No driver-level data is included.
Data source and permitted use

All data comes from public Federal Motor Carrier Safety Administration records published at data.transportation.gov. Operating authority, insurance, out-of-service orders, crashes and inspections refresh daily; SMS and BASIC results are published monthly by FMCSA.

API Ninjas is not affiliated with, endorsed by, or sponsored by the U.S. Department of Transportation or the Federal Motor Carrier Safety Administration. API Ninjas is a private third-party data provider, and fees are for API access only, not for any government service. The authoritative record is the FMCSA SAFER Company Snapshot at safer.fmcsa.dot.gov, and corrections are filed through FMCSA DataQs.

This data is provided as-is with no warranty of accuracy, completeness or timeliness. This API does not make a safety determination about any carrier and does not endorse any carrier. Per FMCSA, readers should not draw conclusions about a carrier's overall safety condition simply based on the data displayed in this system; unless a carrier has received an UNSATISFACTORY safety rating, it is authorized to operate.

Not a consumer report. API Ninjas is not a consumer reporting agency as defined by the Fair Credit Reporting Act. Permitted uses are carrier vetting, freight brokerage, logistics operations, compliance monitoring and research. This data may not be used for consumer eligibility determinations, employment or driver-hiring decisions, credit or tenant screening, or individual insurance underwriting, and may not form the basis of any adverse action against an individual. No driver-level data is included. Contact information returned by this API may not be used for marketing or resold as a lead list.

Coverage is United States only. Canadian inspection and crash data are not published in the FMCSA bulk files and are not included.