API documentation for LTL Operations
LTL API (1.0.0)
Languages
Servers
Sandbox Server
https://apitest.drayeasy.com/
Production Server
https://api.drayeasy.com/
Bodyapplication/jsonrequired
when home delivery is selected, pickup_address_type must be business
Enum"business""residential""limitedAccess"
Example: "business"
when home delivery is selected, pickup_accessorials must be empty
Enum"inside""liftgate"
when home delivery is selected, destination_address_type must be residential
Enum"business""residential""limitedAccess"
Example: "business"
when home delivery is selected, destination_accessorials can only contain homeDelivery
Enum"inside""liftgate""appointment""homeDelivery"
Timeout in seconds to wait for the quote to be processed. Default value is 30 seconds.
Example: 30
The cargo value will be used in the calculation of the insurance premium.
Example: 2000
Whether elevator is available. Only available when home delivery is selected.
Example: true
Whether it is a military address. Only available when home delivery is selected.
Example: true
Array of items to be shipped
Required when home delivery is not selected. Optional when home delivery is selected.
Example: 1
Enum"Bag""Bale""Box""Bucket""Bundle""Can""Carton""Case""Coil""Crate"
Example: "Pallet"
- Sandbox Serverhttps://apitest.drayeasy.com/api/ltl/quotes
- Production Serverhttps://api.drayeasy.com/api/ltl/quotes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://apitest.drayeasy.com/api/ltl/quotes \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pickup_zipcode": "91730",
"pickup_city": "RANCHO CUCAMONGA",
"pickup_state": "CA",
"pickup_country": "US",
"pickup_address_type": "business",
"pickup_accessorials": [
"inside"
],
"destination_zipcode": "08086",
"destination_city": "LEONARDS",
"destination_state": "NJ",
"destination_country": "US",
"destination_address_type": "business",
"destination_accessorials": [
"inside"
],
"pickup_date": "2024-12-07",
"timeout": 30,
"cargo_value": 2000,
"floor": 12,
"is_elevator": true,
"is_military": true,
"items": [
{
"weight_unit": "lbs",
"dimension_unit": "in",
"height": 72,
"length": 48,
"width": 40,
"total_weight": 1200,
"units": 1,
"pieces": 1,
"package_type": "Pallet",
"description": "general goods"
}
]
}'Response
application/json
{ "data": { "rates": [ … ], "premium": 1221, "quote_number": "unique-quote-number" } }