API Documentation

Complete reference for TheCarrierInfo API endpoints and usage

Authentication

All API endpoints require authentication using API keys generated from your dashboard.

Note: You must generate an API key from your dashboard to use the API.

How it works:

  1. Login to your dashboard
  2. Generate a new API key from the API Keys section
  3. Include the API key as a query parameter in your requests
  4. The API validates your key and tracks usage automatically

API Key Usage:

  • Query Parameter: ?key=YOUR_API_KEY
  • Header: X-API-Key: YOUR_API_KEY

cURL Example:

curl "https://api.thecarrierinfo.com/api/search/legal_name?q=HAMILTON&key=YOUR_API_KEY"

JavaScript Example:

fetch('https://api.thecarrierinfo.com/api/search/legal_name?q=HAMILTON&key=YOUR_API_KEY')
  .then(res => res.json())
  .then(data => console.log(data));

Search API

Powerful search functionality across all column names with pagination and API usage statistics.

Endpoint:

GET /api/search/:column?q=query&key=YOUR_API_KEY

Parameters:

  • :column - Column name to search in (optional)
  • q - Search query (required)
  • page - Page number (default: 1)
  • limit - Results per page (default: 20, max: 20)
  • key - Your API key (required)

Valid Column Names:

Mc, usdot, legal_name, dba_name, phone, email, city, state, zip_code

Response Format:

{
  "success": true,
  "data": [
    {
      "Mc": 3,
      "legal_name": "HAMILTON REESE AND ASSOCIATES",
      "dba_name": "HAMILTON REESE AND ASSOCIATES",
      "phone": "(313) 712-9500",
      "email": "[email protected]",
      "city": "DETROIT",
      "state": "MI",
      ...
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 3,
    "total_pages": 1
  },
  "usage": {
    "monthly_requests": 1,
    "monthly_limit": 10000,
    "remaining": 9999
  }
}

MC Endpoints

Direct access to MC (Motor Carrier) information from our comprehensive database.

Search by MC ID

Search for MC information using the database ID.

GET /mc/:id?key=YOUR_API_KEY
Example:/mc/12345?key=abc123def456

Search by MC Number

Search using the actual MC number.

GET /mc/number/:mc?key=YOUR_API_KEY
Example:/mc/number/1234567?key=abc123

Rate Limiting

To ensure fair usage, we implement rate limiting on all endpoints.

General API

10,000

requests per 15 minutes

Search Operations

1,000

requests per 15 minutes

Rate Limit Headers:

X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 9950
X-RateLimit-Reset: 1640995200

Error Handling

All API responses follow a consistent error format.

Error Response Format:

{
  "success": false,
  "error": "Error message description"
}

HTTP Status Codes:

StatusDescriptionCommon Causes
200SuccessRequest completed successfully
400Bad RequestMissing parameters or invalid format
401UnauthorizedInvalid or missing API key
404Not FoundRequested resource not found
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer-side error

USDOT Endpoints

Access USDOT (U.S. Department of Transportation) information for carriers.

Endpoint:

GET /api/usdot/:usdot?key=YOUR_API_KEY

Example Request:

curl "https://api.thecarrierinfo.com/api/usdot/2952744?key=YOUR_API_KEY"

Company Endpoints

Comprehensive company information including history, inspections, accidents, and more.

Company Details

GET /api/company/:id?key=YOUR_API_KEY

Company History

GET /api/company/:id/history?key=YOUR_API_KEY

Inspections

GET /api/company/:id/inspections?key=YOUR_API_KEY

Accidents

GET /api/company/:id/accidents?key=YOUR_API_KEY

Violations

GET /api/company/:id/violations?key=YOUR_API_KEY

Financial

GET /api/company/:id/financial?key=YOUR_API_KEY

Health Check

Check the status and health of the API service.

GET /api/health

Example Response:

{
  "success": true,
  "status": "healthy",
  "timestamp": "2024-01-20T10:30:00Z",
  "version": "1.0.0"
}

Need Help?

Contact our technical team for personalized assistance.

CarrierInfo LogoThe Carrier Info

Your comprehensive platform for trucking company information, carrier validation, and industry insights. Connect with legitimate carriers and grow your logistics business.

Company Network & Locations

US EntityOperating Entity

Denzik LLC

117 South Lexington St, Ste 100
Harrisonville, MO 64701

🇺🇸 United States

Global NetworkParent Company

DENZIK INT (SMC-PVT) LTD

International Portfolio Network

🌍 Global Operations

About Our Network: The Carrier Info is operated by Denzik LLC, a US-based entity, as part of the DENZIK INT (SMC-PVT) LTD global portfolio. We combine local expertise with international resources to deliver comprehensive trucking industry solutions.

📋 Data Source & Disclaimer

All carrier information displayed on The Carrier Info is sourced from publicly available datasets provided by:

  • U.S. Department of Transportation (USDOT) - Federal Motor Carrier Safety Administration (FMCSA)
  • FMCSA SAFER Database - Safety and Fitness Electronic Records System
  • FMCSA Snapshot Data - Public carrier records and safety information

Disclaimer: The information provided is for informational purposes only and is obtained from public government records. While we strive to maintain accuracy, we do not guarantee the completeness, accuracy, or timeliness of the information. Users should verify critical information directly with the carrier or official government sources. The Carrier Info is not affiliated with or endorsed by the U.S. Department of Transportation or FMCSA.

Data Removal Requests: If you believe any information is incorrect or would like to request removal of your data, please contact us at [email protected] or visit our Data Removal Request page.

Advertising Disclosure: This website uses Google AdSense and other third-party advertising networks to display advertisements. These advertisers may use cookies and similar technologies to collect information about your browsing activities to provide personalized ads. We may earn revenue from clicks or impressions on advertisements. For more information, see our Privacy Policy.

© 2024 The Carrier Info. All rights reserved.

Content © 2024 DENZIK INT (SMC-PVT) LTD. Carrier data is from public USDOT/FMCSA records.