# BRAINIAC Freight Customs Shipment Weight & Volume Calculator

> BRAINIAC Freight Customs Shipment Weight & Volume Calculator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-17).

Calculates total shipment weight, volume, volumetric weight, and chargeable weight from package dimensions and counts, flagging consistency issues between stated and computed values.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/freight-customs/shipment-weight-volume-calculate?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-freight-customs-shipment-weight-volume-calculator-6499d952
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-iXwhOf2UseM49ckEQ0IE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-freight-customs-shipment-weight-volume-calculator-6499d952 -d '<json body>'
```

Example prompt: I have 3 cartons each 60×40×40 cm with a gross weight of 25 kg each and a net weight of 20 kg each — can you calculate the total volume, volumetric weight using divisor 5000, and chargeable weight, and check if it's consistent with my stated gross weight of 75 kg?

## When to prefer this

Use this endpoint when you need a quick, accountless computation of freight shipment weight and volume metrics — especially chargeable weight and volumetric weight — and want to cross-check stated shipment figures against package-level data. It is ideal for agents automating freight quoting, customs pre-checks, or logistics workflows where no account setup is acceptable and micropayment per call is preferred. It does not provide HS codes, duty rates, or customs filings.

## Known failure modes

- Missing required 'packages' array or empty array returns validation error
- Package count outside 1–100,000 range rejected
- Dimensions or weights out of allowed bounds return schema validation error
- volumetricDivisor required for volumetric weight calculation — omitting it means volumetric weight won't be computed
- Overly large arrays (>80 items) rejected
- Payment failure via x402 results in 402 response with no computation

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with per-package computed volumes, total gross weight, total net weight, total volume in m³, volumetric weight (if divisor supplied), chargeable weight, a consistency status ('consistent' or flagging discrepancies), a list of findings/discrepancies against any stated values, a timestamp, and a standard limitations disclaimer. No customs classification, duty rates, or booking is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "packages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "count"
    ],
    "properties": {
     "count": {
      "type": "integer",
      "maximum": 100000,
      "minimum": 1
     },
     "widthCm": {
      "type": "number",
      "maximum": 100000,
      "exclusiveMinimum": 0
     },
     "heightCm": {
      "type": "number",
      "maximum": 100000,
      "exclusiveMinimum": 0
     },
     "lengthCm": {
      "type": "number",
      "maximum": 100000,
      "exclusiveMinimum": 0
     },
     "description": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "netWeightKg": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "grossWeightKg": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80,
   "minItems": 1
  },
  "statedVolumeM3": {
   "type": "number",
   "maximum": 1000000,
   "minimum": 0
  },
  "statedNetWeightKg": {
   "type": "number",
   "maximum": 1000000000,
   "minimum": 0
  },
  "volumetricDivisor": {
   "type": "number",
   "maximum": 10000,
   "exclusiveMinimum": 0
  },
  "statedGrossWeightKg": {
   "type": "number",
   "maximum": 1000000000,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "consistent",
  "findings": [],
  "packages": [
   {
    "count": 2,
    "volumeM3": 0.048,
    "description": "Carton",
    "netWeightKg": 16,
    "grossWeightKg": 20
   }
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "limitations": [
   "No customs declaration was submitted and no shipment was booked.",
   "Duty rates, restrictions, sanctions status, and country-specific requirements are not invented.",
   "An HS code candidate is not a customs classification.",
   "Only the documents and shipment fields in this request are compared.",
   "Volume is calculated from supplied centimetre dimensions. Volumetric weight uses only a divisor supplied in the request."
  ],
  "totalVolumeM3": 0.048,
  "shipmentBooked": false,
  "totalNetWeightKg": 16,
  "chargeableWeightKg": 20,
  "totalGrossWeightKg": 20,
  "volumetricWeightKg": 8.016,
  "declarationSubmitted": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-freight-customs-shipment-weight-volume-calculator-6499d952/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
