Skip to content

Get started#

Anboto's Trading API executes orders across 14+ CEXs and perp-DEXs with algorithmic strategies (TWAP, VWAP, POV, IS, Iceberg). This guide takes you from zero to a first order.

1. Generate an API key#

Create keys in the trading app. Two types:

Type Signing Notes
System-generated HMAC-SHA256 Anboto gives you key + secret
Self-generated RSA-SHA256 You keep the private key; Anboto only gets the public key

2. Pick an environment#

Environment REST base WebSocket
Production https://api.pro.anboto.xyz wss://api.pro.anboto.xyz/api/v2/ws
Testnet https://api.testnet.anboto.xyz — simulated fills, no real trades wss://api.testnet.anboto.xyz/api/v2/ws

3. Sign requests#

Every authenticated call carries X-API-KEY, X-TIMESTAMP (ms), X-SIGN, optional X-RECV-WINDOW (default 5000 ms). String to sign: timestamp + api_key + recv_window + (queryString | jsonBody) — see Authentication for per-language code.

4. Place a first order#

Send a small TWAP on testnet: Create order — ready payloads in Request examples. Watch it fill in real time over the WebSocket.

Client examples: github.com/anbotolabs/examples