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.

Note: 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

  • Base URL
    https://public-api.easyship.com
  • URL
    https://public-api.easyship.com/2024-09/rates
  • Auth
    HTTP bearer

Query parameters

pageinteger

Page number to fetch, default: 1

per_pageinteger

Number of records per page to fetch, default: 20

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

Changes

    • breaking

      the request property ///// became not nullable

    • breaking

      the request property ///// became not nullable

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      the request property ///// became nullable

    • info

      the request property ///// became nullable

    • info

      added the optional property /// to the response with the status