Skip to main content

API Structure

Is divided into three main sections:

Market Data

Public, Read-onlyReal-time and historical market data. No authentication required.

Account Queries

Public, UnsignedQuery account state without signatures.

Trading

Authenticated, SignedState-mutating operations requiring Ed25519 signatures.

Base URLs

https://exchange-api2.bulk.trade/api/v1

Quick Start

1

Query Market Data

No authentication required - start exploring immediately.
curl https://exchange-api2.bulk.trade/api/v1/exchangeInfo
2

Check Your Account

Query your positions and orders (no signature needed).
curl -X POST https://exchange-api2.bulk.trade/api/v1/account \
  -H "Content-Type: application/json" \
  -d '{"type":"fullAccount","user":"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"}'
3

Get Testnet Funds

Request testnet funds for testing. See Request Faucet for details.
4

Place Your First Order

Sign and submit a transaction. See Transaction Signing for details.

Field Notation

Bulk uses compact field names to minimize bandwidth (critical for HFT):
ShortFull NameDescription
ssymbolMarket symbol (e.g., BTC-USD)
ccoinMarket symbol in orders
pxpricePrice level
szsizeOrder/position size
bis_buyBuy/sell direction (true=buy)
rreduce_onlyOrder only reduces position
ttypeOrder type object
oidorder_idOrder identifier
tiftime_in_forceOrder lifetime (GTC/IOC/ALO)

Order Types

TypeDescriptionUse Case
GTCGood Till CancelStandard limit order, rests on book
IOCImmediate or CancelMarket order (aggressive price)
ALOAdd Liquidity OnlyMaker-only (post-only)
TriggerStop/Take ProfitConditional order

Timestamp Format

All timestamps are in milliseconds since Unix epoch (int64) for both HTTP and WebSocket APIs.

Resources