Skip to content

Calculate Price

POST
/api/calculate/price

Calculates shipping price based on package information

Parameters

Header Parameters

Authorization*

API key

Typestring
Required
Example"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30"

Request Body

application/json
JSON
{
"organizationId": 0,
"countryId": 3,
"city": "NEW YORK",
"zipCode": "10001",
"packages": [
{
"length": 10,
"size": 10,
"height": 10,
"weight": 10,
"piece": 3
}
]
}

Responses

Price Calculated Successfully

application/json
JSON
{
"freightPrice": 94.87,
"remoteAreaPrice": 35,
"packages": [
{
"length": 10,
"size": 10,
"height": 10,
"weight": 10,
"perimeter": 50,
"desi": 10
}
],
"totalAdditionalFee": 0,
"totalDesi": 30,
"total": 144.87,
"peakPrice": 15
}

Playground

Headers
Body

Samples

cURL
JavaScript
PHP
Python