Retrieve all available indicative exchange rates for a given base currency. This endpoint returns exchange rates from the specified base asset to all other supported assets. The rates are calculated using mid-market/ticker data and provide estimates for conversion purposes.
curl --request GET \
--url https://api.staging.layer1.com/trade/v1/rates/indicative/{from}/ \
--header 'Authorization: Bearer <token>'[
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "EUR",
"amount": "0.9185"
},
"rate": "0.9185"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "GBP",
"amount": "0.7840"
},
"rate": "0.7840"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "BTC",
"amount": "0.0000235"
},
"rate": "0.0000235"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "ETH",
"amount": "0.000352"
},
"rate": "0.000352"
}
]Documentation Index
Fetch the complete documentation index at: https://exness-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Base asset code to get exchange rates from (e.g., BTC, ETH, USD, EUR)
1 - 32curl --request GET \
--url https://api.staging.layer1.com/trade/v1/rates/indicative/{from}/ \
--header 'Authorization: Bearer <token>'[
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "EUR",
"amount": "0.9185"
},
"rate": "0.9185"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "GBP",
"amount": "0.7840"
},
"rate": "0.7840"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "BTC",
"amount": "0.0000235"
},
"rate": "0.0000235"
},
{
"from": {
"asset": "USD",
"amount": "1.0"
},
"to": {
"asset": "ETH",
"amount": "0.000352"
},
"rate": "0.000352"
}
]