# Get exchange rates \[crypto to fiat]

## Fetch deposit rates

> Fetch the deposit rates for all specified crypto to settlement or display currency pair.

```json
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://api.finrax.com","description":"Generated server url"}],"paths":{"/v1/exchange/rates/deposit":{"get":{"summary":"Fetch deposit rates","description":"Fetch the deposit rates for all specified crypto to settlement or display currency pair.","operationId":"fetch-deposit-rates","parameters":[{"name":"fromCurrency","in":"query","description":"The comma-separated base crypto currencies used to produce the currency pairs.","required":true,"explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["BCH","BNB","BTC","ETH","LINK","LTC","SOL","TRX","USDC","XLM","XRP"]}}},{"name":"toCurrency","in":"query","description":"The comma-separated quote settlement or display currencies used to produce the currency pairs.","required":true,"explode":false,"schema":{"uniqueItems":true,"type":"array","items":{"type":"string","anyOf":[{"type":"string","enum":["AED","ARS","AUD","BDT","BGN","BRL","CAD","CHF","CLP","CNY","CZK","DKK","EUR","GBP","HKD","HRK","HUF","IDR","ILS","INR","ISK","JPY","KES","KRW","MXN","MYR","NOK","NZD","PEN","PHP","PLN","QAR","RON","SEK","SGD","THB","TRY","USD","VND","ZAR"]},{"type":"string","enum":["BTC","USDC"]}]}}}],"responses":{"200":{"description":"Returns the available rates for the requested currency pairs.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}}}
```

#### Response example

{% tabs %}
{% tab title="200 <https://payments.finrax.com/api/v1/exchange/rates/deposit?fromCurrency=BTC,ETH,XRP&toCurrency=EUR,USD>" %}

```javascript
{
	"ETH": {
		"EUR": "1467.8",
		"USD": "1741.1"
	},
	"BTC": {
		"EUR": "42798",
		"USD": "50770"
	},
	"XRP": {
		"EUR": "0.40227",
		"USD": "0.4772"
	}
}
```

{% endtab %}
{% endtabs %}
