LLPRO Dimensional Weight API

The dimensional-weight API from LLPRO — 1 operation(s) for dimensional-weight.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/dimensional_weight Dimensional Weight and Billable Weight #
GET /api/v1/tools/dimensional_weight Dimensional Weight and Billable Weight (query string) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/llpro-ai:llpro-ai-dimensional-weight-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

llpro-ai-dimensional-weight-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Dimensional Weight API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: dimensional-weight
paths:
  /api/v1/tools/dimensional_weight:
    post:
      operationId: dimensional_weight
      summary: Dimensional Weight and Billable Weight
      description: 'Work out a parcel''s dimensional (volumetric) weight and its billable weight. Send the box length, width and height in inches or centimetres, the dimensional divisor from your carrier rate sheet or contract (cubic inches per pound for inches, cubic centimetres per kilogram for cm; for example 139 or 166 for inches, 5000 or 6000 for cm), and the actual weight if you have it. Get back the measurements after the carrier-style rounding you choose, the cubic size, the dimensional weight before and after rounding, the actual weight after rounding, the billable weight (the greater of the two) and which one bills. Optional: a cubic-size threshold below which dimensional weight is not used (some services apply it only to larger parcels). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/dimensional-weight). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.'
      tags:
      - dimensional-weight
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - length
              - width
              - height
              - unit
              - divisor
              properties:
                length:
                  description: Box length (longest side), in the unit you choose, up to 2 decimals.
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 1000
                width:
                  description: Box width, same unit.
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 1000
                height:
                  description: Box height, same unit.
                  type:
                  - number
                  - string
                  minimum: 0.01
                  maximum: 1000
                unit:
                  description: in (weights in pounds) or cm (weights in kilograms).
                  type: string
                  enum:
                  - in
                  - cm
                divisor:
                  description: 'Dimensional divisor from your carrier rate sheet or contract: cubic inches per pound when unit is in (for example 139 or 166), cubic centimetres per kilogram when unit is cm (for example 5000 or 6000).'
                  type:
                  - number
                  - string
                  minimum: 1
                  maximum: 20000
                actual_weight:
                  description: 'Optional: actual scale weight, in pounds for in or kilograms for cm.'
                  type:
                  - number
                  - string
                  minimum: 0.001
                  maximum: 100000
                dimension_rounding:
                  description: 'How each measurement is rounded before multiplying: nearest_whole (default; .5 rounds up), up_to_whole, or none.'
                  type: string
                  enum:
                  - nearest_whole
                  - up_to_whole
                  - none
                  default: nearest_whole
                weight_rounding:
                  description: 'How the dimensional and actual weights are rounded: up_to_whole (default; next whole pound or kilogram), up_to_half (next 0.5), or none.'
                  type: string
                  enum:
                  - up_to_whole
                  - up_to_half
                  - none
                  default: up_to_whole
                dim_applies_above_volume:
                  description: 'Optional: dimensional weight is used only when the cubic size (after rounding the measurements) is ABOVE this, in cubic inches or cubic centimetres (for example 1728 = one cubic foot).'
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 1000000000
                label:
                  description: Optional label for the parcel (your own text, echoed back; not a person).
                  type: string
                  maxLength: 40
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: Dimensional Weight and Billable Weight
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: dimensional_weight_get
      summary: Dimensional Weight and Billable Weight (query string)
      tags:
      - dimensional-weight
      parameters:
      - name: length
        in: query
        required: true
        schema:
          description: Box length (longest side), in the unit you choose, up to 2 decimals.
          type:
          - number
          - string
          minimum: 0.01
          maximum: 1000
      - name: width
        in: query
        required: true
        schema:
          description: Box width, same unit.
          type:
          - number
          - string
          minimum: 0.01
          maximum: 1000
      - name: height
        in: query
        required: true
        schema:
          description: Box height, same unit.
          type:
          - number
          - string
          minimum: 0.01
          maximum: 1000
      - name: unit
        in: query
        required: true
        schema:
          description: in (weights in pounds) or cm (weights in kilograms).
          type: string
          enum:
          - in
          - cm
      - name: divisor
        in: query
        required: true
        schema:
          description: 'Dimensional divisor from your carrier rate sheet or contract: cubic inches per pound when unit is in (for example 139 or 166), cubic centimetres per kilogram when unit is cm (for example 5000 or 6000).'
          type:
          - number
          - string
          minimum: 1
          maximum: 20000
      - name: actual_weight
        in: query
        required: false
        schema:
          description: 'Optional: actual scale weight, in pounds for in or kilograms for cm.'
          type:
          - number
          - string
          minimum: 0.001
          maximum: 100000
      - name: dimension_rounding
        in: query
        required: false
        schema:
          description: 'How each measurement is rounded before multiplying: nearest_whole (default; .5 rounds up), up_to_whole, or none.'
          type: string
          enum:
          - nearest_whole
          - up_to_whole
          - none
      - name: weight_rounding
        in: query
        required: false
        schema:
          description: 'How the dimensional and actual weights are rounded: up_to_whole (default; next whole pound or kilogram), up_to_half (next 0.5), or none.'
          type: string
          enum:
          - up_to_whole
          - up_to_half
          - none
      - name: dim_applies_above_volume
        in: query
        required: false
        schema:
          description: 'Optional: dimensional weight is used only when the cubic size (after rounding the measurements) is ABOVE this, in cubic inches or cubic centimetres (for example 1728 = one cubic foot).'
          type:
          - number
          - string
          minimum: 0
          maximum: 1000000000
      - name: label
        in: query
        required: false
        schema:
          description: Optional label for the parcel (your own text, echoed back; not a person).
          type: string
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'