Quickstart
https://exchange.nexus.xyz/api/exchange1. Sign in
curl -X POST 'https://exchange.nexus.xyz/api/exchange/auth/login' \
-H 'Content-Type: application/json' \
-d '{
"message": "Sign in to Nexus Exchange",
"signature": "0xSIGNATURE_HEX"
}'
# → { "token": "sess_abc123...", "address": "0xYOUR_WALLET_ADDRESS" }2. Create an API key
curl -X POST 'https://exchange.nexus.xyz/api/exchange/keys' \
-H 'Authorization: Bearer sess_abc123...' \
-H 'Content-Type: application/json' \
-d '{"label": "my-bot"}'
# → { "key_id": "nx_7f3a1b...", "secret": "e4d2c8f1...long_hex..." }3. Sign requests
Header
Value
4. Fund your account
5. Browse markets
6. Place an order
7. Monitor positions
Last updated

