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
ParameterInTypeRequiredDescription
exchange_idquerystringfalseFilter 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

StatusMeaningDescriptionSchema
200OK (opens in a new tab)Collection of balances.Balances
490Not ApplicableExchange is unreachable.MessageReject

Copyright 2022 COINAPI LTD or its affiliates. All rights reserved.
StatusPage: