# API reference

Central Command's backend functions accept JSON bodies and return JSON responses. Most endpoints require a valid session JWT or an x402 agent key.

## Auth

Include a Bearer JWT from your session, or an `X-Api-Key` for agent access. The anon key grants public read access.

## Key endpoints

- `/functions/v1/openclaw-chat`: AI agent chat with market context.
- `/functions/v1/central-signal`: signal bot webhook receiver.
- `/functions/v1/blofin-proxy`: authenticated BloFin API proxy.
- `/functions/v1/blofin-oauth/authorize`: one-click connect initiation.
- `/functions/v1/mcp`: remote MCP server (Streamable HTTP).
- `/functions/v1/x402-gateway`: x402 micropayment gateway for agent tools.
- `/functions/v1/strategy-backtest`: backtest engine.
- `/functions/v1/agent-strategy`: agent task creation and management.

## Rate limits

Endpoints are rate-limited per IP and per user. AI chat endpoints have a cooldown between requests.

## Start free

Central Command is free when you connect your BloFin account in one click, or open one through our referral link, for as long as you trade through us. Or take the 10-day free trial: no card, no wallet, nothing renews.

1. Create an account at https://centralcommand.io/signup.
2. Choose **Free with BloFin** and connect BloFin in one click (no BloFin account yet? open one at https://partner.blofin.com/d/centralcommand), or choose the **10-day free trial**.
3. Trade from the terminal at https://centralcommand.io/dataterminal, or describe a strategy in plain English at https://centralcommand.io/agents/new: backtest it, run it on paper, and go live when you choose.

BloFin's normal trading fees still apply. Central Command trades BloFin perpetual futures only.
