Billable weight (greater of actual & dim)
API · /dimweight-api
Dimensional Weight API
Shipping dimensional-weight maths as an API. Carriers bill the greater of a parcel's actual weight and its dimensional (volumetric) weight — the volume divided by a carrier "dim divisor" — so a big, light box can cost far more than the scales suggest. The dimweight endpoint computes the dimensional weight in both pounds and kilograms from the length, width and height (in inches or centimetres) and a dim divisor, which you can give directly or pick by carrier (UPS, FedEx, USPS, DHL, IATA). The billable endpoint takes the actual weight as well and returns the billable weight — the greater of actual and dimensional — telling you which one you will be charged on. The girth endpoint computes the girth (twice the width plus height of the two smaller sides), the length-plus-girth and the longest side, and flags whether the parcel is oversize against length limits (defaulting to typical US ground values). Everything is computed locally and deterministically, so it is instant and private. Ideal for e-commerce checkout and shipping estimators, fulfilment and warehouse tools, freight and logistics software, and packaging optimisation. Pure local computation — no key, no third-party service, instant. Live, nothing stored. Divisors and limits are typical published values — confirm with your carrier and service. 3 endpoints. This is dimensional-weight maths; for live shipping rates use a carrier's own API, and for plain unit conversion use a unit-conversion API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 79 ms
- Server probes · 24h
- Subscribers
- 3,013
- active
- Total calls
- 76
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 9,435 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 9,435 calls/month
- 2 req/sec
- Dim weight + billable + girth
- No credit card
Starter
€10.95 /month
- 19,050 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 19.05k calls/month
- 8 req/sec
- Carrier presets (UPS/FedEx/…)
- Email support
Pro
€30.85 /month
- 240,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 240.5k calls/month
- 20 req/sec
- E-commerce / fulfilment pipelines
- Priority support
Mega
€68.85 /month
- 1,245,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.245M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Incoterms API
The ICC Incoterms — the international commercial terms used in every contract of international sale — as an API. For each of the 11 three-letter terms (EXW, FCA, FAS, FOB, CFR, CIF, CPT, CIP, DAP, DPU, DDP): its full name, a plain-language description of what the seller and the buyer are each responsible for, the official Incoterms group (E departure, F main-carriage-unpaid, C main-carriage-paid, D arrival) and the mode of transport it applies to (any mode, or sea and inland waterway only). Look a term up, list the terms in a group, filter by transport mode, or list them all. The reference an e-commerce checkout, ERP, freight-forwarding or trade-finance system needs to interpret a delivery term. Served from memory — always fast.
api.oanor.com/incoterms-api
Shipping Container Codes API
The ISO 6346 size-and-type codes used to identify intermodal freight containers as an API — the reference a container booking system, EDI integration or terminal operating system needs. Every shipping container is described by a 4-character code (for example 22G1 = a 20-foot general-cargo container, 45R1 = a 40-foot high-cube reefer). For each of 700+ codes the API returns a human-readable description, the container length in feet, the height in feet and the ISO group code it belongs to. Look a code up, list every code in a group, search by description (reefer, tank, open top, flat rack…), or list the whole set. Served from memory — always fast.
api.oanor.com/containercodes-api
UN/LOCODE API
The UN/LOCODE registry (United Nations Code for Trade and Transport Locations) as an API — 116,000+ ports, airports, rail and road terminals and trade points across 249 countries. Resolve any 5-character code (e.g. USNYC → New York; DEHAM → Hamburg; NLRTM → Rotterdam) to its name, country, subdivision, transport functions (port, rail, road, airport, postal, …), IATA code and coordinates; search locations by name with country and function filters; or list every location in a country. UN/LOCODE is the standard used in shipping, logistics, customs and EDI. Ideal for supply-chain, freight, trade-compliance and logistics software.
api.oanor.com/locode-api
Seaports API
The NGA World Port Index (WPI / Pub 150) as an API — 3,800+ maritime ports across 195 countries. Look up any port by its WPI number (e.g. 31140 → Rotterdam) or UN/LOCODE (e.g. NLRTM); search by name, country, harbor size or water body; or find every port within a radius of any coordinate (great-circle distance). Each record carries the UN/LOCODE, country, coordinates, harbor size and type, channel/anchorage/pier depths, maximum vessel length and draft, plus facility flags (container, oil/LNG terminal, ro-ro, dry dock, …). Ideal for shipping, logistics, maritime and supply-chain tools.
api.oanor.com/seaports-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Dimensional Weight API?
What's the rate limit for Dimensional Weight API?
How much does Dimensional Weight API cost?
Can I cancel my subscription anytime?
Is Dimensional Weight API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/dimweight-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/dimweight-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/dimweight-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/dimweight-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.