Balances
Get balances GET
Code samples
curl --request GET \
--url https://ems-gateway-aws-eu-central-1-dev.coinapi.io/v1/balances \
--header 'Accept: application/json'
GET /v1/balances
Get current currency balance from all or single exchange.
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
exchange_id | query | string | false | Filter the balances to the specific exchange. |
Example responses
200 Response
[
{
"exchange_id": "KRAKEN",
"data": [
{
"asset_id_exchange": "XBT",
"asset_id_coinapi": "BTC",
"balance": 0.00134444,
"available": 0.00134444,
"locked": 0,
"last_updated_by": "EXCHANGE",
"rate_usd": 1355.12,
"traded": 0.007
}
]
}
]
490 Response
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK (opens in a new tab) | Collection of balances. | Balances |
490 | Not Applicable | Exchange is unreachable. | MessageReject |
Was this section helpful?