Catalog/logi-dimensional-weight

Calculators

Dimensional (volumetric) weight calculator API

Compute dimensional weight = (L·W·H)/divisor (cm, default carrier divisor 5000) and the billable weight = max(dimensional, actual) — the parcel-pricing rule every carrier applies. Answers 'dimensional weight of this box','will I be billed on dim or actual weight','volumetric weight for shipping'.

Price$0.01per request
MethodPOST
Route/v1/calc/logi-dimensional-weight
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calclogisticsfreightdimensional-weightvolumetricparcelshippingcarrier
API URLhttps://x402.hexl.dev/v1/calc/logi-dimensional-weight
Integration docs
Example request
{
  "lengthCm": 40,
  "widthCm": 30,
  "heightCm": 30,
  "actualWeightKg": 5
}
Example response
{
  "formula": "DimWeight = (L·W·H) / divisor (cm, kg; default 5000) ; billable = max(dimWeight, actual)",
  "dimensionalWeightKg": 7.2,
  "actualWeightKg": 5,
  "billableWeightKg": 7.2,
  "billedOn": "dimensional",
  "volumeCm3": 36000,
  "inputs": {
    "lengthCm": 40,
    "widthCm": 30,
    "heightCm": 30,
    "actualWeightKg": 5,
    "divisor": 5000
  }
}
Input schema
{
  "type": "object",
  "required": [
    "lengthCm",
    "widthCm",
    "heightCm",
    "actualWeightKg"
  ],
  "properties": {
    "lengthCm": {
      "type": "number",
      "examples": [
        40
      ]
    },
    "widthCm": {
      "type": "number",
      "examples": [
        30
      ]
    },
    "heightCm": {
      "type": "number",
      "examples": [
        30
      ]
    },
    "actualWeightKg": {
      "type": "number",
      "examples": [
        5
      ]
    },
    "divisor": {
      "type": "number",
      "description": "volumetric divisor (default 5000)",
      "examples": [
        5000
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}