Compare Shipping Rates
logistics.shipengine.ratesCompare shipping rates across multiple carriers (USPS, UPS, FedEx, DHL) for a package. Provide origin/destination ZIP codes, weight in pounds, and optional dimensions. Returns sorted rates with price, delivery time, and service type. Up to 84% off retail rates (ShipEngine)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Package width in inches | |
| height | No | Package height in inches | |
| length | No | Package length in inches | |
| to_zip | Yes | Destination US ZIP code (e.g. "90210" for Beverly Hills) | |
| from_zip | Yes | Origin US ZIP code (e.g. "10001" for NYC) | |
| weight_lb | Yes | Package weight in pounds (e.g. 5) | |
| to_country | No | Destination country code (default US) | US |
| from_country | No | Origin country code (default US) | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |