Quotes
A quote gives you an upfront price and estimated delivery time before you commit to creating a delivery. Quotes are valid for 15 minutes from creation.
Create a quote
/v1/quotesRequest a delivery quote with upfront pricing and ETA.
Parameters
pickup_addressstringrequiredFull street address for the pickup location.
dropoff_addressstringrequiredFull street address for the dropoff location.
package_sizestringoptionalOne of small, medium, or large. Defaults to small. Affects pricing and vehicle selection.
vehiclestringoptionalPreferred vehicle type: bike, car, or truck. If omitted, Zippex selects the best option based on package size and distance.
scheduled_atstringoptionalISO 8601 timestamp to schedule the pickup. If omitted, the delivery is dispatched immediately. Must be at least 30 minutes in the future.
curl -X POST https:"color:#6a9955">//api.zippex.com/v1/quotes \
-H "Authorization: Bearer zx_test_abc123def456" \
-H "Content-Type: application/json" \
-d '{
"pickup_address": "350 W Georgia St, Vancouver, BC V6B 6B1",
"dropoff_address": "2085 Main St, Vancouver, BC V5T 3C3",
"package_size": "medium",
"vehicle": "car"
}'{
"id": "qt_r4s5t6u7",
"fee": 1249,
"currency": "cad",
"eta_minutes": 35,
"distance_km": 4.2,
"vehicle": "car",
"package_size": "medium",
"pickup_address": "350 W Georgia St, Vancouver, BC V6B 6B1",
"dropoff_address": "2085 Main St, Vancouver, BC V5T 3C3",
"scheduled_at": null,
"expires_at": "2026-03-10T14:15:00Z",
"created_at": "2026-03-10T14:00:00Z"
}Retrieve a quote
/v1/quotes/:quoteIdRetrieve a previously created quote to check its status and expiry.
Returns a previously created quote. Useful for checking whether a quote is still valid before creating a delivery.
quoteIdstringrequiredThe quote ID (path parameter).
curl https:"color:#6a9955">//api.zippex.com/v1/quotes/qt_r4s5t6u7 \
-H "Authorization: Bearer zx_test_abc123def456"{
"id": "qt_r4s5t6u7",
"fee": 1249,
"currency": "cad",
"eta_minutes": 35,
"distance_km": 4.2,
"vehicle": "car",
"package_size": "medium",
"pickup_address": "350 W Georgia St, Vancouver, BC V6B 6B1",
"dropoff_address": "2085 Main St, Vancouver, BC V5T 3C3",
"scheduled_at": null,
"expires_at": "2026-03-10T14:15:00Z",
"created_at": "2026-03-10T14:00:00Z"
}Quote expiry
Quotes expire 15 minutes after creation. Attempting to create a delivery with an expired quote returns a 410 Gone error:
{
"error": {
"type": "invalid_request_error",
"code": "quote_expired",
"message": "Quote qt_r4s5t6u7 has expired. Please request a new quote.",
"param": "quote_id"
}
}Tip
expires_at timestamp before using a quote. If it is close to expiring, request a fresh quote to avoid errors.Scheduled deliveries
Pass scheduled_at to get a quote for a future pickup time. The timestamp must be at least 30 minutes in the future and no more than 7 days ahead.
curl -X POST https:"color:#6a9955">//api.zippex.com/v1/quotes \
-H "Authorization: Bearer zx_test_abc123def456" \
-H "Content-Type: application/json" \
-d '{
"pickup_address": "350 W Georgia St, Vancouver, BC V6B 6B1",
"dropoff_address": "2085 Main St, Vancouver, BC V5T 3C3",
"scheduled_at": "2026-03-11T09:00:00Z"
}'Pricing details
Delivery fees are calculated based on distance, duration, and vehicle type. The quote gives you the exact price upfront — see Pricing for a full breakdown.