Developers
Open app
Trading

API wallet balance

GEThttps://www.slay.money/api/trade/balance
Requires an API key: Authorization: Bearer spk_…

Cash on each venue and open positions in your API wallet. ?paper=1: the paper account.

Request

curl -X GET 'https://www.slay.money/api/trade/balance' \
  -H 'Authorization: Bearer $SLAY_TOKEN'

Parameters

paperstring · query
1 for the paper account.

Responses

200Cash and positions.
cashobject
positionsobject[]
200 response
{
  "cash": {},
  "positions": [
    {}
  ]
}