GET
List Available Currencies
Lists all available currencies (crypto and fiat) for price queries.
Active fiats come first, then each active crypto symbol once (even when the token runs on several networks), sorted by symbol. For cryptos, name repeats the symbol. An unexpected failure answers 500 internal_error.
GET
https://bridge.bifrostcrypto.com/v1/get-currenciesRequired scope:
prices:read(a new key with no list is read-only)Headers
| Key | Value | Description |
|---|---|---|
X-Bifrost-Invoke | {{api_key}} | Private API key |
cURL Example
bash
curl -X GET "https://bridge.bifrostcrypto.com/v1/get-currencies" \
-H "X-Bifrost-Invoke: YOUR_API_KEY"Response Example
json
{
"success": true,
"data": {
"currencies": [
{
"currency": "USD",
"name": "US Dollar",
"type": "fiat"
},
{
"currency": "BTC",
"name": "BTC",
"type": "crypto"
},
{
"currency": "USDT",
"name": "USDT",
"type": "crypto"
}
],
"total": 20
}
}Errors
Every error has the shape error.code, error.message and, when useful, error.details. Authentication, scope and rate-limit errors (401, 403, 429) apply to every endpoint and are described under Authentication.
| Status | Code | When | What to do |
|---|---|---|---|
| 500 | internal_error | Unexpected failure. | Nothing was changed. Retry later. |