Skip to main content
POST
Get sms safety records

Request contract

  • Method and path: POST /apis/v1/safer-fmcsa-dot-gov/carriers/get-sms-safety-records
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/safer-fmcsa-dot-gov/carriers/get-sms-safety-records
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
usdot_number
string
required

USDOT number (digits) or an SMS /SMS/Carrier/{dot}/ URL.

basic
string

Restrict the export to one BASIC (the site's Download focus). Default all. crash_indicator exports crashes only.

Provider reference: allowed values ["all", "unsafe_driving", "hos_compliance", "driver_fitness", "drugs_alcohol", "vehicle_maintenance", "hm_compliance", "crash_indicator"].

continuation
string

Opaque cursor from a previous call's meta.page.next_cursor (the record offset); omit for the first page.

Response

SMS per-carrier export (ai.fmcsa.dot.gov/SMS/Carrier/{dot}/Download.aspx, XML): every roadside inspection of the 24-month record with its vehicles and violations, every reportable crash with its vehicle, and serious violations, optionally restricted to one BASIC. The site exports everything at once (several MB for large fleets); this function pages the records client-side, 50 per call, inspections first, then crashes, then serious violations, with totals of each and the export's snapshot date.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.