Endpoint
POST https://api.gospeedlog.com/rates/quote
Required Headers
x-gsl-token
string
required
Your API authentication token
x-gsl-secret
string
required
Your API secret key
Content-Type
string
required
Must be set to
application/jsonRequest Body Parameters
addresses array required
Array of 2 or more valid postal addresses (pickup and dropoff locations)
service_type string
Delivery service type. Available options:
same_day
fast_track
scheduled
vehicle_type string
Preferred vehicle type. Available options:
car
cargo_van
box_truck
Request Example (cURL)
curl --request POST \
--url https://api.gospeedlog.com/rates/quote \
--header 'x-gsl-token: ' \
--header 'x-gsl-secret: ' \
--header 'Content-Type: application/json' \
--data '{
"addresses": [
"5280 Dixie Rd, Mississauga, L4W 1E3, Canada",
"178 Meadowlands Dr W, Nepean, K2G 2S6, Canada"
],
"service_type": "same_day",
"vehicle_type": "cargo_van"
}'
Replace <your_api_token>
and <your_api_secret>
with your actual credentials.
Response
200 OK
The request was successful. Returns pricing and time estimates.
Response Body
{
"estimated_price": 42.50,
"currency": "CAD",
"estimated_time": "2h 15m",
"service_type": "same_day",
"vehicle_type": "cargo_van"
}
400 Bad Request
The request was malformed or missing required parameters.
Response Body
{
"error": "Invalid Address",
"message": "Could not geocode the provided addresses"
}
401 Unauthorized
Your API key is missing or invalid. Make sure authentication headers are included in the request.