Catalog›Price quote
Price quote
Live fare for a vehicle and route. Same place fields as create. TrustCold owns the number.
curl -X POST https://trustcoldeg.com/api/v1/b2b/quote \
-H "Authorization: Bearer CLIENT_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"vehicle_type":"reefer_tank","from_governorate":"القاهرة","from_area":"مدينة نصر","from_address":"Nasr City, Cairo","to_governorate":"الإسكندرية","to_area":"سموحة"}'{
"data": {
"status": "priced",
"price": 7400,
"currency": "EGP",
"from": "القاهرة / مدينة نصر",
"to": "الإسكندرية / سموحة",
"vehicle_type": "reefer_tank",
"message": "To الإسكندرية / سموحة with Refrigerated tank truck — 234 km. Formula: base 1,000 EGP + (234 km × 22.00 EGP/km) = 7,400 EGP."
}
}Validation failed
{
"message": "Send a drop-off the same way as the booking form to quote a price.",
"errors": {
"to_address": ["Send a drop-off the same way as the booking form to quote a price."]
}
}Key points
- When to call — After pickup, drop-off, extra stop, or vehicle type changes.
- Place fields — Governorate+area, or from_address / to_address (text or Maps URL), or both.
- Display — Show price as whole EGP. Status priced means you can show it; otherwise still allow create.
Returns the live fare for a vehicle type and route. Send governorate and area, or a typed address / Google Maps URL, or both. A list selection is not required when an address or Maps URL is present. Call it again when pickup, drop-off, or vehicle type changes. message explains the price in the request language. Show price as a whole EGP amount — TrustCold already locks it to closed hundreds.
HTTP 200 with data.status of priced includes price and currency (EGP). If status is not priced, you can still create the trip; TrustCold sets the fare later.