{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/shipments/get-rates","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/shipments/get-rates","default":false,"active":false,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/shipments/get-rates","default":false,"active":true,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml","oas-apis/@shipstation-v1/openapi.yaml":"oas-apis/@shipstation-v1/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["openapi-code-sample","replay-openapi"]},"type":"markdown"},"seo":{"title":"Get 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":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"get-rates","__idx":0},"children":["Get Rates"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves shipping rates for the specified shipping details. Use this endpoint to compare rates across different carriers and services before creating a shipping label."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request requires origin and destination information, along with package weight. Dimensions and other options can be provided for more accurate rate calculations."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NOTE:"]}," For UPS rates, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["toState"]}," field is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["required"]}," in the destination address."]}]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-apis/@shipstation-v1/openapi.yaml","operationId":"get_rates","parameters":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/@shipstation-v1/openapi.yaml","operationId":"get_rates","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-resources","__idx":1},"children":["Related Resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/address"},"children":["Address Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/weight"},"children":["Weight Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/dimensions"},"children":["Dimensions Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/shipments/create-label"},"children":["Create Shipment Label"]}]}]}]},"headings":[{"value":"Get Rates","id":"get-rates","depth":1},{"value":"Related Resources","id":"related-resources","depth":2}],"frontmatter":{"seo":{"title":"Get Rates"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipstation-v1/docs/shipments/get-rates","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}