{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/rates/get-shipment-rates","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/rates/get-shipment-rates","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/rates/get-shipment-rates","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Retrieve Shipment Rates","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"retrieve-shipment-rates","__idx":0},"children":["Retrieve Shipment Rates"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/rates/multiple-shipments"},"children":["rate multiple shipments"]},", ShipStation API returns a list of rates with information about each one, such as the costs and the estimated delivery date. Each of these rates is specific to the shipment information provided in the rate request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ShipStation API stores this shipment information as a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipment"]}," object and each rate is associated with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipment_id"]},". You can then retrieve the rates later using this ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipment_id"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-request--response","__idx":1},"children":["Example Request & Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GET /v1/shipments/:shipment_id/rates"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This example retrieves the rates for \"shipment_id\": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["se-2102034"]}," (see line 3 of the example response)."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/shipments/se-2102034/rates HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __YOUR_API_KEY_HERE__\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example Response"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response includes a list of rates for \"shipment_id\": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["se-2102034"]},". Each rate includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rate_id"]}," that you can use to ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/labels/create-from-rate"},"children":["create a label"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Due to the length of the response, we have truncated this example to only show a single rate."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"[\n  {\n    \"shipment_id\": \"se-2102034\",\n    \"status\": \"completed\",\n    \"created_at\": \"2019-07-25T15:24:46.657Z\",\n    \"rates\": [\n      {\n        \"rate_id\": \"se-11744390\",\n        \"rate_type\": \"shipment\",\n        \"carrier_id\": \"se-123890\",\n        \"shipping_amount\": {\n          \"currency\": \"usd\",\n          \"amount\": 9.37\n        },\n        \"insurance_amount\": {\n          \"currency\": \"usd\",\n          \"amount\": 0.00\n        },\n        \"confirmation_amount\": {\n          \"currency\": \"usd\",\n          \"amount\": 0.00\n        },\n        \"other_amount\": {\n          \"currency\": \"usd\",\n          \"amount\": 0.00\n        },\n        \"rate_details\": [\n          {\n            \"rate_detail_type\": \"shipping\",\n            \"carrier_description\": null,\n            \"carrier_billing_code\": \"Base Rate\",\n            \"carrier_memo\": null,\n            \"amount\": {\n              \"currency\": \"usd\",\n              \"amount\": 9.37\n            },\n            \"billing_source\": \"Carrier\"\n          }\n        ],\n        \"delivery_days\": 3,\n        \"guaranteed_service\": false,\n        \"delivery_date\": \"2019-07-25T05:00:00.000Z\",\n        \"carrier_delivery_days\": \"Friday by 11:00 PM\",\n        \"ship_date\": \"2019-07-25T05:00:00.000ZPlus3$\",\n        \"negotiated_rate\": false,\n        \"service_type\": \"UPS® Ground\",\n        \"service_code\": \"ups_ground\",\n        \"trackable\": true,\n        \"validation_status\": \"valid\",\n        \"warning_messages\": [],\n        \"error_messages\": [],\n        \"carrier_code\": \"ups\",\n        \"carrier_nickname\": \"UPS-28A1R9\",\n        \"carrier_friendly_name\": \"UPS\"\n      }\n    ],\n    \"invalid_rates\": [],\n    \"errors\": null\n  }\n]\n","lang":"json"},"children":[]}]},"headings":[{"value":"Retrieve Shipment Rates","id":"retrieve-shipment-rates","depth":1},{"value":"Example Request & Response","id":"example-request--response","depth":2}],"frontmatter":{"seo":{"title":"Retrieve Shipment Rates"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/rates/get-shipment-rates","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}