# API Reference
source: https://developer.mastercard.com/currency-conversion-calculator/documentation/api-reference/index.md

## Environment Domains {#environment-domains}

* Sandbox
* Production

```Sandbox
http://sandbox.api.mastercard.com/settlement/currencyrate
```

```Production
http://api.mastercard.com/settlement/currencyrate
```

## APIs {#apis}

Use the **Execute** buttons (in the expandable sections above) to send requests directly from your browser to the Sandbox, without needing to create a Mastercard Developers project and keys. This functionality will send the shown Request parameters, which you can alter, and the response will appear in a **Server Response** tab.

You can also make API calls to the Sandbox server from an API tool or your application code, which involves creating a Mastercard Developers project (see [**Getting Started**](https://developer.mastercard.com/currency-conversion-calculator/documentation/)) and using the Sandbox keys to generate the required OAuth 1.0a Authorization Header.

The Sandbox server returns simulated, static responses.
Note: In the expandable **Conversion-conversion-rate-details** section, please change the `rate_date` to the current date (a valid date) before clicking **Execute**.
API Specification: `https://static.developer.mastercard.com/content/currency-conversion-calculator/swagger/currency-conversion-calculator.yaml`

