Complete API reference for FMCSA carrier data
http://api.safercarrier.com
List all carriers (paginated)
| Name | Type | Description |
|---|---|---|
| search | string | Search by DOT, MC, or company name |
| page | integer | Page number |
http://api.safercarrier.com/api/carriers/?search=DENEX&page=1
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"dot_number": "4548086",
"mc_number": "1805871",
"legal_name": "CHEETEX LLC",
"phone": "3478990027",
"email": "INFO@CHEETEX.COM",
"phy_city": "HAINES CITY",
"phy_state": "FL",
"operating_status": null,
"power_units": 1,
"total_drivers": 1
}
]
}
Get detailed carrier information by DOT number
http://api.safercarrier.com/api/carriers/4108577/
{
"dot_number": "4548086",
"mc_number": "1805871",
"legal_name": "CHEETEX LLC",
"dba_name": null,
"phone": "3478990027",
"email": "INFO@CHEETEX.COM",
"phy_street": "5722 SOMERSET DR",
"phy_city": "HAINES CITY",
"phy_state": "FL",
"phy_zip": "33844",
"operating_status": null,
"power_units": 1,
"total_drivers": 1
}
Get all inspections for a specific carrier from local database
http://api.safercarrier.com/api/carriers/33/inspections/
{
"results": [
{
"inspection_id": "82260304",
"inspection_date": "2024-07-25"
}
]
}
Get inspections for a carrier directly from FMCSA API
| Name | Type | Description |
|---|---|---|
| limit | integer | Number of results (default 20) |
http://api.safercarrier.com/api/carriers/33/fmcsa_inspections/?limit=20
{
"results": []
}
Get all crashes for a specific carrier from local database
http://api.safercarrier.com/api/carriers/33/crashes/
{
"results": []
}
Get crashes for a carrier directly from FMCSA API
| Name | Type | Description |
|---|---|---|
| limit | integer | Number of results (default 20) |
http://api.safercarrier.com/api/carriers/33/fmcsa_crashes/?limit=20
{
"results": []
}
Get SMS BASIC scores for a carrier from FMCSA API
http://api.safercarrier.com/api/carriers/33/sms_scores/
{
"basics": {
"unsafe_driving": {
"percentile": 50
}
}
}
Find carriers associated through shared phone/email/officers
http://api.safercarrier.com/api/carriers/33/associated_entities/
{
"results": []
}
Get insurance filing history from FMCSA InsHist dataset
http://api.safercarrier.com/api/carriers/33/insurance_history/
{
"history": []
}
Get current active insurance policies
http://api.safercarrier.com/api/carriers/33/current_insurance/
{
"policies": []
}
Verify contact by searching phone or email across all carriers
| Name | Type | Description |
|---|---|---|
| phone | string | Phone number to search |
| string | Email address to search |
http://api.safercarrier.com/api/carriers/verify_contact/?phone=3212038928
{
"results": [
{
"dot_number": "4108577",
"legal_name": "DENEX LLC"
}
]
}
Fetch carrier data directly from FMCSA API by DOT or MC
| Name | Type | Description |
|---|---|---|
| dot | string | DOT Number |
| mc | string | MC Number |
http://api.safercarrier.com/api/carriers/fmcsa_lookup/?dot=4108577
{
"dot_number": "4108577",
"legal_name": "DENEX LLC"
}
Import/update a carrier from FMCSA and save to local database
| Name | Type | Description |
|---|---|---|
| dot_number | string | DOT Number |
| mc_number | string | MC Number |
http://api.safercarrier.com/api/carriers/import_from_fmcsa/ (POST with dot_number in body)
{
"message": "Carrier imported successfully"
}
Search FMCSA database by company name
| Name | Type | Description |
|---|---|---|
| name | string | Company name to search |
http://api.safercarrier.com/api/carriers/search_fmcsa_by_name/?name=DENEX
{
"results": []
}
Universal FMCSA search - detects search type (DOT/MC/Name/Phone/Email)
| Name | Type | Description |
|---|---|---|
| q | string | Search query |
http://api.safercarrier.com/api/carriers/search_fmcsa/?q=4108577
{
"results": []
}
List all inspections (paginated)
| Name | Type | Description |
|---|---|---|
| dot_number | string | Filter by DOT number |
| page | integer | Page number |
http://api.safercarrier.com/api/inspections/?dot_number=4108577
{
"count": 10,
"results": [
{
"inspection_id": "82260304",
"carrier": "4108577",
"inspection_date": "2024-07-25",
"report_state": "TN",
"report_number": "I034BE0004",
"inspection_level": "3",
"total_violations": 0,
"total_oos": 0
}
]
}
Get detailed inspection by ID
http://api.safercarrier.com/api/inspections/82260304/
{
"inspection_id": "82260304",
"carrier": "4108577",
"inspection_date": "2024-07-25",
"violations": []
}
Get inspection details with violations from FMCSA API
| Name | Type | Description |
|---|---|---|
| inspection_id | string | Inspection ID |
http://api.safercarrier.com/api/inspections/fmcsa_details/?inspection_id=82260304
{
"inspection": {},
"violations": []
}
List all crashes (paginated)
| Name | Type | Description |
|---|---|---|
| dot_number | string | Filter by DOT number |
| page | integer | Page number |
http://api.safercarrier.com/api/crashes/?dot_number=4108577
{
"count": 5,
"results": [
{
"crash_id": "12345",
"carrier": "4108577",
"report_date": "2024-01-15",
"report_state": "FL",
"fatalities": 0,
"injuries": 1,
"tow_away": true
}
]
}
Get crash details from FMCSA API by crash_id
| Name | Type | Description |
|---|---|---|
| crash_id | string | Crash ID |
http://api.safercarrier.com/api/crashes/fmcsa_details/?crash_id=12345
{
"crash": {},
"details": {}
}
List authority history records
| Name | Type | Description |
|---|---|---|
| dot_number | string | Filter by DOT number |
http://api.safercarrier.com/api/authority-history/?dot_number=4108577
{
"results": [
{
"dot_number": "4108577",
"authority_type": "MOTOR CARRIER",
"authority_status": "ACTIVE",
"effective_date": "2023-07-26"
}
]
}
List BOC-3 process agents
| Name | Type | Description |
|---|---|---|
| dot_number | string | Filter by DOT number |
http://api.safercarrier.com/api/boc3/?dot_number=4108577
{
"results": [
{
"dot_number": "4108577",
"agent_name": "ABC Process Service",
"agent_state": "FL",
"agent_city": "Miami"
}
]
}