⏺️Get Conversion Quotes (server-to-server)
Our Payment Gateway API provides a GET method to retrieve real-time conversion quotes for cryptocurrency prices.
This endpoint is crucial for payment server-to-server flow.
Below you will find the details on how to use this endpoint.
Get Quotes
GET https://sandbox.coinbar.io/coinbar/api/v2/pay/gateway/quotes
This endpoint returns up-to-date conversion rates between specified cryptocurrencies and fiat currencies. By utilizing this API, payment systems can ensure that users receive the most current exchange rate information for their cryptocurrency transactions.
Query Parameters
conversion_fiat
String
EUR,GBP Default (EUR)
Headers
CBPAY-API-KEY*
String
{{SERVICE_CLIENT_ID}}
Content-Type
String
application/json
{
"result": true,
"data": [
{
"code": "BTC",
"name": "Bitcoin",
"conversion_fiat": "EUR",
"conversion_rate": 52372.33459748911
},
{
"code": "ETH",
"name": "Ethereum",
"conversion_fiat": "EUR",
"conversion_rate": 2367.6994724246447
},
{
"code": "USDT",
"name": "Tether USD",
"conversion_fiat": "EUR",
"conversion_rate": 0.9173165543511799
},
{
"code": "XDB",
"name": "XDB Chain",
"conversion_fiat": "EUR",
"conversion_rate": 0.0005691800447701324
},
{
"code": "XRP",
"name": "Ripple",
"conversion_fiat": "EUR",
"conversion_rate": 0.5123986479693387
}
]
}{
"result": false,
"error": "Bad Request"
}{
"result": false,
"error": "Api RATE exceeded"
}Warning
Each SERVICE_CLIENT_ID has a default API RATE limit of 1000 calls each day.
Contact Coinbar Team to extend your limit.
Last updated