Get fare estimate

Returns fare quotes and ETA for a pickup/drop pair. - Omit `serviceType` to receive **both** `scooty` and `cab` quotes. - Pass `serviceType: "scooty"` or `"cab"` to filter. - Distance and duration are calculated server-side.

Authentication

x-api-keystring
API key provided by Fery for DMRC integration.

Request

This endpoint expects an object.
pickupLocationobjectRequired
dropLocationobjectRequired
serviceTypeenum or list of enumsOptional
Omit to receive both scooty and cab quotes.

Response

Fare calculated successfully
statusCodeintegerOptional
successbooleanOptional
messagestringOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error