{"chat":{"endpoints":[{"method":"POST","path":"/v1/chat","protocol":"SSE"},{"method":"WS","path":"/v1/chat/ws","protocol":"WebSocket"}],"supports_streaming":true,"supports_threads":true,"thread_endpoints":[{"method":"GET","path":"/v1/chat/threads"},{"method":"GET","path":"/v1/chat/threads/{thread_id}"}]},"trading":{"swap":{"method":"POST","path":"/v1/swap","async":true,"supports_wait":true,"required_fields":["chain_id_in","chain_id_out","token_in","token_out","amount"],"optional_fields":["slippage_bps","stop_loss","take_profit"],"modes":["same_chain","cross_chain","evm_to_solana"]},"limit_orders":{"endpoints":[{"method":"POST","path":"/v1/limit-orders"},{"method":"GET","path":"/v1/limit-orders"},{"method":"GET","path":"/v1/limit-orders/{id}"},{"method":"DELETE","path":"/v1/limit-orders/{id}"}]},"hooks":{"method":"POST","path":"/v1/hooks","types":["stop_loss","take_profit"]}},"earn":{"endpoints":[{"method":"GET","path":"/v1/earn","description":"current APY and vault info"},{"method":"POST","path":"/v1/earn/deposit"},{"method":"POST","path":"/v1/earn/withdraw"},{"method":"GET","path":"/v1/earn/positions"}],"asset":"USDC"},"perp":{"venue_neutral":true,"open":{"method":"POST","path":"/v1/perp/open","async":true,"supports_wait":true,"required_fields":["asset","is_buy","size"],"optional_fields":["leverage","is_cross","order_type","limit_price","slippage_pct","reduce_only","tp_price","sl_price"]},"endpoints":[{"method":"GET","path":"/v1/perp/markets"},{"method":"GET","path":"/v1/perp/setup"},{"method":"POST","path":"/v1/perp/setup"},{"method":"GET","path":"/v1/perp/orders"},{"method":"POST","path":"/v1/perp/close"},{"method":"POST","path":"/v1/perp/orders/cancel"},{"method":"POST","path":"/v1/perp/fund"},{"method":"POST","path":"/v1/perp/withdraw"}],"size_unit":"contracts"},"spot_hl":{"venue_neutral":true,"buy":{"method":"POST","path":"/v1/spot_hl/buy","async":true,"supports_wait":true,"required_fields":["asset","size"],"optional_fields":["order_type","limit_price","slippage_pct","tp_price","sl_price"]},"endpoints":[{"method":"GET","path":"/v1/spot_hl/markets"},{"method":"GET","path":"/v1/spot_hl/orders"},{"method":"POST","path":"/v1/spot_hl/sell"},{"method":"POST","path":"/v1/spot_hl/tp-sl"},{"method":"POST","path":"/v1/spot_hl/orders/cancel"}],"size_unit":"base_token","quote":"USDC"},"wallets":{"endpoints":[{"method":"GET","path":"/v1/wallets"},{"method":"GET","path":"/v1/holdings"}],"auto_provisioned":true,"types":["evm","solana"]},"chains":{"endpoint":{"method":"GET","path":"/v1/chains"},"current":[{"name":"Ethereum","chain_id":1},{"name":"Base","chain_id":8453},{"name":"Arbitrum","chain_id":42161},{"name":"BNB","chain_id":56},{"name":"Solana","chain_id":7565164}]},"auth":{"method":"Ed25519 keypair + Bearer token","flow":["POST /v1/auth/register → {challenge}","POST /v1/auth/verify → {agent_id}","POST /v1/auth/token → {token}"],"header":"Authorization: Bearer <token>"},"protocols":["REST","SSE","WebSocket","MCP"]}