Compare Shipping Rates
logistics.shipengine.ratesCompare shipping rates from USPS, UPS, FedEx, and DHL by providing origin and destination ZIP codes and package weight. Returns sorted results with price, delivery time, and service type.
Instructions
Compare 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 |
|---|---|---|---|
| from_zip | Yes | Origin US ZIP code (e.g. "10001" for NYC) | |
| to_zip | Yes | Destination US ZIP code (e.g. "90210" for Beverly Hills) | |
| weight_lb | Yes | Package weight in pounds (e.g. 5) | |
| length | No | Package length in inches | |
| width | No | Package width in inches | |
| height | No | Package height in inches | |
| from_country | No | Origin country code (default US) | US |
| to_country | No | Destination country code (default US) | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |