v1

latestOpenAPI 3.0.12026-08-061158187.8 KB
Tariff API

Get price estimate

Returns an estimated standard delivery fee for an order based on the provided weight, service_level, from and to locations, excluding any surcharge and discount.

Note: This endpoint doesn't require authentication but is rate-limited to 20 calls per minute.

post/{countryCode}/1.0/public/price

Path parameters

countryCode'ID' required

Country code. Only ID is supported.

Request body

weightnumber double

Weight of the parcel, in kilograms (k.g.). If a value is not provided or zero is provided, the price will be estimated based on 1 kg instead.

service_level'Standard' | 'Express' | 'Sameday' | 'Nextday' required

Shipment service level.

Response

Obtained a price estimate successfully.

Example response

{
  "data": {
    "total_fee": 90000
  }
}