Skip to main content
POST
/
account
curl --request POST \
  --url https://exchange-api2.bulk.trade/api/v1/account \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "fullAccount",
  "user": "FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"
}
'
[
  {
    "fullAccount": {
      "positions": [
        {
          "coin": "<string>",
          "size": 123,
          "price": 123,
          "realizedPnl": 123,
          "leverage": 123
        }
      ],
      "openOrders": [
        {
          "coin": "<string>",
          "orderId": "<string>",
          "orderType": "<string>",
          "price": 123,
          "origSz": 123,
          "reduceOnly": true,
          "isBuy": true,
          "size": 123,
          "filledSz": 123,
          "status": "<string>",
          "timestamp": 123
        }
      ],
      "marginSummary": {
        "positions": [
          {
            "coin": "<string>",
            "size": 123
          }
        ]
      },
      "settings": {
        "maxLeverage": [
          [
            "BTC-USD",
            5
          ]
        ]
      }
    }
  }
]
Query account information without requiring a signature. This is a read-only operation that returns:
  • fullAccount: Complete state (positions + orders + margin)
  • openOrders: Only resting orders
  • fills: Trade history (last 5000 fills)
No signature required - anyone can query any account’s public data. For real-time account updates, use the WebSocket account stream.

Body

application/json

Account query parameters (no signature needed)

type
enum<string>
required

Type of account data to retrieve

Available options:
fullAccount,
openOrders,
fills
user
string
required

User public key (base58)

Example:

"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"

Response

Successful response

fullAccount
object

Complete account state