Use the UPS Rating REST API to get dimensional-weight-aware rates and determine billable weight before label purchase

domain: developer.ups.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Obtain an OAuth 2.0 Bearer token from the UPS Developer Portal
  2. POST to /api/rating/v2409/Rate; include Package.PackageWeight with actual weight and Package.Dimensions with length, width, height and 'UnitOfMeasurement' (IN or CM)
  3. The UPS Rating API calculates billable weight automatically by computing dimensional weight (length × width × height / divisor, where divisor is 139 for inches) and comparing it to actual weight; the higher value is billed
  4. Read 'RatedPackage.BillingWeight' in the response to see the billable weight used; compare it to your actual weight to understand any dimensional surcharge before committing to a label
  5. Use the response to compare service levels and their associated BillingWeight-based charges to select the most cost-effective option

Known gotchas

Related routes

Calculate dimensional weight and determine the billable weight for a shipment before purchasing a label
logistics-general · 6 steps · unrated
Retrieve UPS shipment rates for a domestic parcel using the UPS Rating REST API with OAuth 2.0
logistics/shipping · 6 steps · unrated
Obtain an OAuth 2.0 bearer token from UPS and call the Rating API to get shipping rates
developer.ups.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans