# Rate Services

Our Rate Services API gives you real-time shipping quotes for your Shipwire orders.

Our rating engine automatically optimizes rates, selecting the best warehouse and packing configuration for orders and returning a list of available service options and prices.

Information available from the Rate Services API includes:

- Best shipping quotes for each available shipping service level
- Delivery date range estimates

## API Endpoints

**Sandbox:** https://api.beta.shipwire.com/exec/RateServices.php  
**Production:** https://api.shipwire.com/exec/RateServices.php

## Example Request

\[gist id=3365397 file=shipwire-rate-request-example.xml\]

## Example Response

\[gist id=3365397 file=shipwire-rate-response-example.xml\]

|     |     |
| --- | --- |
| #### Additional Resources<br>- [Frequently Asked Questions](/content/help/xml-shipping-rate-api-faq/index.html)<br>- [Example: Rate Request XML](https://gist.github.com/3365397#file_shipwire_rate_request_example.xml)<br>- [Example: Rate Response XML](https://gist.github.com/3365397#file_shipwire_rate_response_example.xml) | #### Test Form<br>- Submit a rate request [on production](https://api.shipwire.com/exec/RateServices_post.php), [on sandbox](https://api.beta.shipwire.com/exec/RateServices_post.php)<br>#### XML Documentation<br>- [DTD: RateRequest](https://gist.github.com/3373872)<br>- [DTD: RateResponse](https://gist.github.com/3373958) |
