Skip to main content
POST
Quote up to 100 shipments in one request. The body and response are both a JSON array. Each item uses the same fields as Quote cost. Requires scope: orders:write Sum prices client-side for a total. Use index to match each result to the request item. Failed rows include an error string instead of price fields.

Headers

string
required
Bearer API key (Bearer <api_key>).
string
required
Must be application/json.

Body

Each array item supports:
string
required
Full pickup address (≥ 3 chars). Same fields per item as Quote cost.
string
required
Full drop-off address (≥ 3 chars).
number
required
Billable weight in kg (≥ 0.1).
string
Same as Quote cost: bike, bus_van, or truck.
string
From Rate cards. Required for bus/van and truck.
number
Optional pickup latitude.
number
Optional pickup longitude.
number
Optional drop-off latitude.
number
Optional drop-off longitude. If all four lat/lng are set, geocode is skipped.

Response

number
Zero-based index matching the request item.
number
Quoted price (omitted when the row failed).
number
Estimated distance in km.
string
Currency code (for example NGN).
string
Present on failed rows instead of price fields.