LIVE LTL RATES
LASF$260Quote →|SFLA$264Quote →|COLLA$366Quote →|COLCHI$193Quote →|NJMIA$288Quote →|COLSF$420Quote →|SFSAC$142Quote →|LADAL$398Quote →|LASD$156Quote →|COLMIA$303Quote →|SFSEA$235Quote →|COLDAL$208Quote →|LASLC$297Quote →|LAPHX$244Quote →|LALV$260Quote →|LAORL$437Quote →|LANJ$447Quote →|HARNJ$188Quote →|LACOL$365Quote →|CHINJ$235Quote →|DALMIA$266Quote →|SFPDX$231Quote →|COLPHX$244Quote →|NJORL$304Quote →|SFSD$208Quote →|COLORL$310Quote →|CHIMIA$295Quote →|COLDEN$275Quote →|LAMIA$420Quote →|LVLA$215Quote →|SATAUS$125Quote →|LASAC$195Quote →|LADEN$310Quote →|DALLA$385Quote →|SFPHX$280Quote →|LASEA$340Quote →|NJDAL$335Quote →|ORLMIA$145Quote →|ORLTPA$130Quote →|DALHOU$155Quote →|DALSAT$165Quote →|NJATL$270Quote →|MIANJ$305Quote →|NJCHI$240Quote →|NJLA$440Quote →|ORLJAX$140Quote →|COLSLC$320Quote →|HOUNJ$345Quote →|SLCBOI$185Quote →|LAPDX$315Quote →|LASF$260Quote →|SFLA$264Quote →|COLLA$366Quote →|COLCHI$193Quote →|NJMIA$288Quote →|COLSF$420Quote →|SFSAC$142Quote →|LADAL$398Quote →|LASD$156Quote →|COLMIA$303Quote →|SFSEA$235Quote →|COLDAL$208Quote →|LASLC$297Quote →|LAPHX$244Quote →|LALV$260Quote →|LAORL$437Quote →|LANJ$447Quote →|HARNJ$188Quote →|LACOL$365Quote →|CHINJ$235Quote →|DALMIA$266Quote →|SFPDX$231Quote →|COLPHX$244Quote →|NJORL$304Quote →|SFSD$208Quote →|COLORL$310Quote →|CHIMIA$295Quote →|COLDEN$275Quote →|LAMIA$420Quote →|LVLA$215Quote →|SATAUS$125Quote →|LASAC$195Quote →|LADEN$310Quote →|DALLA$385Quote →|SFPHX$280Quote →|LASEA$340Quote →|NJDAL$335Quote →|ORLMIA$145Quote →|ORLTPA$130Quote →|DALHOU$155Quote →|DALSAT$165Quote →|NJATL$270Quote →|MIANJ$305Quote →|NJCHI$240Quote →|NJLA$440Quote →|ORLJAX$140Quote →|COLSLC$320Quote →|HOUNJ$345Quote →|SLCBOI$185Quote →|LAPDX$315Quote →|View all rates →LASF$260Quote →|SFLA$264Quote →|COLLA$366Quote →|COLCHI$193Quote →|NJMIA$288Quote →|COLSF$420Quote →|SFSAC$142Quote →|LADAL$398Quote →|LASD$156Quote →|COLMIA$303Quote →|SFSEA$235Quote →|COLDAL$208Quote →|LASLC$297Quote →|LAPHX$244Quote →|LALV$260Quote →|LAORL$437Quote →|LANJ$447Quote →|HARNJ$188Quote →|LACOL$365Quote →|CHINJ$235Quote →|DALMIA$266Quote →|SFPDX$231Quote →|COLPHX$244Quote →|NJORL$304Quote →|SFSD$208Quote →|COLORL$310Quote →|CHIMIA$295Quote →|COLDEN$275Quote →|LAMIA$420Quote →|LVLA$215Quote →|SATAUS$125Quote →|LASAC$195Quote →|LADEN$310Quote →|DALLA$385Quote →|SFPHX$280Quote →|LASEA$340Quote →|NJDAL$335Quote →|ORLMIA$145Quote →|ORLTPA$130Quote →|DALHOU$155Quote →|DALSAT$165Quote →|NJATL$270Quote →|MIANJ$305Quote →|NJCHI$240Quote →|NJLA$440Quote →|ORLJAX$140Quote →|COLSLC$320Quote →|HOUNJ$345Quote →|SLCBOI$185Quote →|LAPDX$315Quote →|LASF$260Quote →|SFLA$264Quote →|COLLA$366Quote →|COLCHI$193Quote →|NJMIA$288Quote →|COLSF$420Quote →|SFSAC$142Quote →|LADAL$398Quote →|LASD$156Quote →|COLMIA$303Quote →|SFSEA$235Quote →|COLDAL$208Quote →|LASLC$297Quote →|LAPHX$244Quote →|LALV$260Quote →|LAORL$437Quote →|LANJ$447Quote →|HARNJ$188Quote →|LACOL$365Quote →|CHINJ$235Quote →|DALMIA$266Quote →|SFPDX$231Quote →|COLPHX$244Quote →|NJORL$304Quote →|SFSD$208Quote →|COLORL$310Quote →|CHIMIA$295Quote →|COLDEN$275Quote →|LAMIA$420Quote →|LVLA$215Quote →|SATAUS$125Quote →|LASAC$195Quote →|LADEN$310Quote →|DALLA$385Quote →|SFPHX$280Quote →|LASEA$340Quote →|NJDAL$335Quote →|ORLMIA$145Quote →|ORLTPA$130Quote →|DALHOU$155Quote →|DALSAT$165Quote →|NJATL$270Quote →|MIANJ$305Quote →|NJCHI$240Quote →|NJLA$440Quote →|ORLJAX$140Quote →|COLSLC$320Quote →|HOUNJ$345Quote →|SLCBOI$185Quote →|LAPDX$315Quote →|
$50 off·applied automatically at checkout
Tools API · Free public endpoint

Truck Payload API

Given cargo weight and a vehicle type, returns remaining payload capacity and weight utilization. Optionally includes volume and pallet-count utilization. JSON in, JSON out. CORS open. Free for 60 requests per hour without a key.

POST/api/v1/tools/truck-payload
60/hrfree, no key required
CORS openbrowser, mobile, server

30-second start

POST your inputs. Get back the answer in JSON. No signup. No key required for the first 60 calls per hour per IP.

curl

curl -X POST https://www.wearewarp.com/api/v1/tools/truck-payload \
  -H "Content-Type: application/json" \
  -d '{"cargo_weight":4500,"vehicle":"box_truck_26","cargo_volume":1100,"cargo_pallets":8}'

Or use GET with query params for one-liners:

curl GET

curl "https://www.wearewarp.com/api/v1/tools/truck-payload?cargo_weight=4500&vehicle=box_truck_26&cargo_volume=1100&cargo_pallets=8"

Request

POST /api/v1/tools/truck-payload

Field
Type
Required
Notes
cargo_weight
number
yes
Cargo weight in pounds
vehicle
string
no
cargo_van | sprinter_van | box_truck_16 | box_truck_26 | dry_van_53. Defaults to dry_van_53.
cargo_volume
number
no
Cargo volume in cubic feet. Adds volume utilization to the response.
cargo_pallets
number
no
Number of pallets. Adds pallet utilization to the response.

Cargo van (3,000 lb max) — over-capacity example:

curl

curl -X POST https://www.wearewarp.com/api/v1/tools/truck-payload \
  -H "Content-Type: application/json" \
  -d '{"cargo_weight":3400,"vehicle":"cargo_van"}'

Response

Every response has a data envelope (the computed result) and a meta envelope (rate limits, docs, upgrade path, attribution).

200 OK

{
  "data": {
    "vehicle": {
      "slug": "box_truck_26",
      "name": "Box Truck (26 ft)",
      "max_lbs": 10000,
      "cu_ft": 1600,
      "pallet_capacity": 12
    },
    "cargo_weight_lb": 4500,
    "remaining_weight_lb": 5500,
    "weight_util_pct": 45,
    "status": "within_capacity",
    "cargo_volume_cu_ft": 1100,
    "remaining_volume_cu_ft": 500,
    "volume_util_pct": 68.8,
    "cargo_pallets": 8,
    "remaining_pallets": 4
  },
  "meta": {
    "request_id": "req_lzgk2zo_a1b2c3d4",
    "tier": "anon",
    "rate_limit": { "limit": 60, "remaining": 59, "reset_at": "2026-05-15T19:00:00.000Z" },
    "docs": "https://www.wearewarp.com/developers/tools-api/truck-payload",
    "attribution": "Powered by Warp — https://www.wearewarp.com"
  }
}

Code samples

JavaScript (fetch)

const res = await fetch('https://www.wearewarp.com/api/v1/tools/truck-payload', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({"cargo_weight":4500,"vehicle":"box_truck_26","cargo_volume":1100,"cargo_pallets":8}),
});
const { data, meta } = await res.json();
console.log(data.cargo_weight);

Python (requests)

import requests

res = requests.post(
    "https://www.wearewarp.com/api/v1/tools/truck-payload",
    json={"cargo_weight":4500,"vehicle":"box_truck_26","cargo_volume":1100,"cargo_pallets":8},
)
data = res.json()["data"]
print(data["cargo_weight"])

curl with sandbox key

curl -X POST https://www.wearewarp.com/api/v1/tools/truck-payload \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer wak_test_YOUR_KEY" \
  -d '{"cargo_weight":4500,"vehicle":"box_truck_26","cargo_volume":1100,"cargo_pallets":8}'

Rate limits and tiers

No tier blocks access. Hit the limit and the response includes an upgradeURL with the next tier's signup flow.

Tier
Key prefix
Limit (per hour)
How to get one
Anonymous
60
No signup. IP-based rate limit. Attribution requested via response meta.
Sandbox
wak_test_*
1,000
Free self-serve at /agents/account. No card required.
Live
wak_live_*
10,000
Self-serve. Adds a card so you can also book real freight at /agents/account.

Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. The meta.rate_limit object mirrors the same values in JSON.

Rate-limited response:

429 Too Many Requests

{
  "error": "Anonymous rate limit reached (60/hr). Get a free sandbox key for 1000/hr at https://www.wearewarp.com/agents/account.",
  "code": "RATE_LIMITED",
  "meta": { "tier": "anon", "rate_limit": { "limit": 60, "remaining": 0 }, "upgrade": "..." }
}

Errors

Status
Code
When
400
BAD_INPUT
Missing or invalid required field. JSON parse error.
429
RATE_LIMITED
You hit the per-hour limit for your tier. Wait or upgrade.

Bad input example:

400 Bad Request

{
  "error": "Unknown vehicle \"semi\". Valid: cargo_van, sprinter_van, box_truck_16, box_truck_26, dry_van_53.",
  "code": "BAD_INPUT",
  "meta": { "request_id": "req_...", "docs": "https://www.wearewarp.com/developers/tools-api/truck-payload" }
}

Attribution

The free tier carries an attribution request: link back to wearewarp.com from any surface that displays results from this API. A “Powered by Warp” link in your footer is enough. Live keys remove the attribution request.

Every API response includes meta.attribution so you can render the link programmatically.

How truck payload is calculated

  1. Vehicle specs lookup. Each vehicle slug maps to published max payload (lb), interior volume (cu ft), and pallet capacity. Specs are industry standards for standard-size US equipment.
  2. Remaining weight. max_lbs − cargo_weight. Negative result means over capacity; status flips to over_capacity.
  3. Weight utilization %. cargo_weight ÷ max_lbs × 100.
  4. Optional volume + pallet utilization. Same formula applied to cu_ft (if cargo_volume passed) and pallet_capacity (if cargo_pallets passed).

Vehicle specs reflect typical interior cargo dimensions, not gross vehicle weight or external trailer length. Over-the-road regulations (axle weight, bridge laws, state-specific limits) may impose lower effective maxes on a specific lane.

Related

Get a free sandbox key

Sandbox keys take 30 seconds. No card. 1,000 calls per hour across every Warp tool API.