Unified REST APIStrategy

Get Strategy Balances

Query available balances for multiple accounts on a trading pair. Useful for checking account balances before submitting a strategy.

Account Format: exchange:account_id:marketType (comma-separated for multiple accounts, marketType is optional)

Example: https://api.hypereth.io/v2/all/strategy/balances?symbol=MON&accounts=kuru:acc_A:spot,kuru:acc_B:spot

GET
/strategy/balances

Authorization

ApiKeyAuth
X-API-KEY<token>

In: header

Query Parameters

symbol*stringrequired

Unified market symbol (e.g., "MON")

accounts*stringrequired

Comma-separated list of "exchange:account_id:marketType" entries (marketType is optional)

Response Body

application/json

application/json

curl -X GET "https://api.hypereth.io/v2/all/strategy/balances?symbol=MON&accounts=kuru%3Aacc_A%3Aspot%2Ckuru%3Aacc_B%3Aspot"
{
  "symbol": "MON",
  "accounts": [
    {
      "exchange": "kuru",
      "accountId": "acc_A",
      "account": "0x1234567890abcdef1234567890abcdef12345678",
      "marketType": "spot",
      "references": "MON/AUSD",
      "baseAvailable": "10000.5",
      "quoteAvailable": "5000.0"
    },
    {
      "exchange": "kuru",
      "accountId": "acc_B",
      "account": "0xabcdef1234567890abcdef1234567890abcdef12",
      "marketType": "spot",
      "references": "MON/AUSD",
      "baseAvailable": "8000.0",
      "quoteAvailable": "12000.0"
    }
  ],
  "timestamp": 1710000000000,
  "requestId": "req_123456789"
}
{
  "code": "invalid_parameters",
  "message": "string",
  "retriable": true
}
Empty