Skip to main content
GET/v2/company-info

Get Company Info

Returns the carrier name and DOT number. Use this to confirm your credentials are wired up correctly.

Authentication

Send both headers on every request.How auth works →
X-API-Provider-Key
Your provider key — identifies your platform. The same for every request.
X-API-Company-Key
The carrier's company key — scopes all returned data to that one carrier.

Responses

200OK— payload in data, wrapped in the response envelope.
FieldTypeDescription
company_namestringLegal name of the carrier
dot_numberstringUSDOT number
401Unauthorized— missing or invalid API key.
FieldTypeDescription
status_codeintegerHTTP status code (e.g. 401).
descriptionstringHuman-readable error message.
datanullAlways null on error.
Sample request
curl -X GET "https://api.huntereld.com/v2/company-info" \
  -H "X-API-Provider-Key: YOUR_PROVIDER_KEY" \
  -H "X-API-Company-Key: YOUR_COMPANY_KEY"
Example response200 OK
{
  "description": "success",
  "data": {
    "company_name": "APEX FREIGHT LLC",
    "dot_number": "4182937"
  }
}
Error response401
{
  "status_code": 401,
  "description": "Company API key is not valid",
  "data": null
}
esc