latestOpenAPI 3.0.32026-07-26170311887.2 KB

71d737a5fcbf

Rates

Request Rates

Request a list of shipping quotes for a prospective shipment.

Required authorization scope: public.rate:read

Compare couriers to see the cheapest, fastest and best value for money, or a combination of speed, price and reliability.

Input city and state

If you are shipping to or within the United States, Canada, Mexico or Australia, we recommend that you always input the origin and destination city and state. This information is required by certain couriers to return accurate rates.

Calculate dimensions and total weight

You can calculate dimensions and total weight of your shipment in three ways:

  • Provide total_actual_weight and box objects for the shipment.
  • Specify actual_weight and dimensions for each item of the items object: in this case, total weight and box size will be calculated automatically.
  • Specify sku for each item of the items object: in this case, actual weight and dimensions for calculations will be taken as set for the product.

Note: This endpoint requires an advanced scope. You can enable advanced scopes when creating or editing your API connection.

Calls to this endpoint count towards your API usage allowance. You can monitor your current usage in the Subscription section of your account.

post/2024-09/rates

Request body

set_as_residentialSetAsResidential — unresolved $ref
incotermsIncoterms — unresolved $ref
insuranceInsurance — unresolved $ref
returnReturn — unresolved $ref
calculate_tax_and_dutiesboolean

Whether to calculate taxes and duties for international shipments. Must be true when using DDP Incoterms. When set to true, the response will include estimated import tax and duty charges. When set to false, tax and duty calculations will be skipped.

Response

rates without taxes and duties when calculate_tax_and_duties is false