Auxite Intelligence API
One API for the exchange accounts you already connected. We never hold funds: your key places orders on your own account, within your safety limit. Start on paper (simulated fills at live prices), switch to live when you're ready.
Authentication
Create a key on the Developers page. Send it as a bearer token, or as two headers. Keys have scopes (read, trade), an optional IP allowlist and a mode (paper or live). The secret is shown once.
Authorization: Bearer ak_xxxxxxxxxxxxxxxx.sk_…
# or
X-Auxite-Key-Id: ak_xxxxxxxxxxxxxxxx
X-Auxite-Secret: sk_…
Base URL: https://api.auxite.ai/v1 (also https://auxite.ai/api/v1)Paper and live
Paper keys (the default) simulate fills against live venue prices, with a virtual 10,000 USDT per exchange (reset with POST /paper/reset). Live keys send real orders through the same engine as the web app: they need accepted terms and an active subscription, and every order counts against your per-order safety limit.
Quickstart
# 1) your connected accounts
curl https://api.auxite.ai/v1/accounts \
-H "Authorization: Bearer $AUXITE_KEY"
# 2) a paper market buy (venue works on paper keys; live keys need account_id)
curl -X POST https://api.auxite.ai/v1/orders \
-H "Authorization: Bearer $AUXITE_KEY" -H "Content-Type: application/json" \
-d '{"venue":"binance","symbol":"btc_usdt","side":"buy","type":"market","qty":0.001,"client_order_id":"demo-1"}'
# 3) a bracket: entry at market, take-profit and stop-loss held until it fills
curl -X POST https://api.auxite.ai/v1/orders \
-H "Authorization: Bearer $AUXITE_KEY" -H "Content-Type: application/json" \
-d '{"venue":"binance","symbol":"btc_usdt","side":"buy","type":"market","qty":0.001,
"order_class":"bracket","take_profit":{"limit_price":120000},"stop_loss":{"stop_price":90000}}'const key = process.env.AUXITE_KEY; // "ak_….sk_…"
const r = await fetch("https://api.auxite.ai/v1/orders", {
method: "POST",
headers: { Authorization: `Bearer ${key}`, "Content-Type": "application/json" },
body: JSON.stringify({ account_id: "<from /accounts>", symbol: "btc_usdt", side: "sell",
type: "stop", stop_price: 90000, qty: 0.001, client_order_id: crypto.randomUUID() }),
});
console.log(r.status, await r.json());import os, requests
H = {"Authorization": f"Bearer {os.environ['AUXITE_KEY']}"}
draft = requests.post("https://api.auxite.ai/v1/intents", headers=H,
json={"account_id": "<id>", "text": "sell 0.01 btc if it drops 5% from its high"}).json()
print(draft["reply"], draft["drafts"])
# nothing is placed until you confirm:
order = requests.post("https://api.auxite.ai/v1/orders", headers=H,
json={"intent_id": draft["id"], "draft_index": 0}).json()Endpoints
| GET | /account | The calling key: mode, scopes, per-order limit |
| GET | /venues | Supported exchanges and whether each is live |
| GET | /accounts | Your connected exchange accounts |
| GET | /accounts/{id}/balances | Balances (virtual on paper keys) |
| GET | /market/{venue}/{symbol} | Last price |
| POST | /orders | Place an order |
| GET | /orders | List orders |
| GET | /orders/{id} | Get an order |
| DELETE | /orders/{id} | Cancel an order (and its legs) |
| GET | /strategies | Live conditional strategies (live keys) |
| POST | /strategies | Create a strategy in the worker's native shape (live keys) |
| DELETE | /strategies/{id} | Cancel a strategy |
| GET | /positions | Open futures positions (live keys) |
| POST | /intents | Sentence → draft orders. Nothing executes until POST /orders with intent_id + draft_index. |
| POST | /paper/reset | Reset a paper balance to 10,000 USDT |
Orders
Types: market, limit, stop, stop_limit, trailing_stop. Classes: simple, bracket, oco, oto. Paper supports all of them. Live currently supports: simple market/limit, stop sell (stop-loss), stop buy (breakout), trailing_stop sell, and oco sell; other combinations return 422 not_supported_live. On supported exchanges a live stop-loss is placed on the exchange itself. Send client_order_id to make retries safe.
Intents (plain language)
POST /intents turns a sentence into draft orders and executes nothing. Place a draft with POST /orders {intent_id, draft_index}. This keeps the rule that nothing runs without an explicit confirmation.
Webhooks
Set one HTTPS endpoint on the Developers page. Events: order.filled, order.canceled, order.rejected, position.opened, position.closed. Verify the X-Auxite-Signature header: t=<ms>,v1=HMAC-SHA256(secret, t + '.' + body). A WebSocket stream is planned next; until then use webhooks or poll GET /orders.
import { createHmac, timingSafeEqual } from "node:crypto";
function verify(header, body, secret) {
const { t, v1 } = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const mac = createHmac("sha256", secret).update(`${t}.${body}`).digest("hex");
return Math.abs(Date.now() - Number(t)) < 300_000 && timingSafeEqual(Buffer.from(mac), Buffer.from(v1));
}Errors and limits
Errors are JSON {code, message}. Per key: 120 read and 30 trade requests per minute (429 rate_limited). Intents: 40 per hour per user.
401 unauthorized · 403 forbidden_scope | ip_not_allowed | terms_required | subscription_required | plan_upgrade_required
404 not_found | account_not_found | intent_not_found · 409 duplicate_in_flight
422 over_user_limit | not_supported_live · 429 rate_limited · 502 price_unavailable | venue_error | upstream_unavailableMCP server for AI agents
Give an agent your paper key first. On a live key, place_order is a real order: the agent should show it to the user and get a yes.
{
"mcpServers": {
"auxite": {
"command": "npx",
"args": ["-y", "@auxite/mcp"],
"env": { "AUXITE_API_KEY": "ak_….sk_…" }
}
}
}Tools: get_accounts, get_balances, get_quote, place_order, cancel_order, list_orders, draft_order.
Pricing
API access is included in the plans: partner exchanges $14.95/month, all exchanges $29.90/month. Paper is free.