Easypost Rates
easypost_ratesGet shipping rate quotes from <from_zip> to <to_zip> for a parcel — returns multi-carrier rates (USPS, UPS, FedEx, etc.) with price, service level, and estimated delivery days. Example: easypost_rates({ from_zip: "94105", to_zip: "10001", weight_oz: 16, _apiKey: "your-key" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_zip | Yes | Destination postal/ZIP code, e.g. "10001" | |
| _apiKey | Yes | EasyPost API key (get one free at easypost.com) | |
| to_city | No | Destination city (optional), e.g. "New York" | |
| from_zip | Yes | Origin postal/ZIP code, e.g. "94105" | |
| to_state | No | Destination state/province code (optional), e.g. "NY" | |
| width_in | No | Parcel width in inches (optional) | |
| height_in | No | Parcel height in inches (optional) | |
| length_in | No | Parcel length in inches (optional) | |
| weight_oz | Yes | Parcel weight in ounces, e.g. 16 for 1 lb | |
| to_country | No | Destination ISO country code (default "US") | |
| from_country | No | Origin ISO country code (default "US") |