Skip to content
Developer

REST API Reference

Pull your TradingWizard data programmatically: account, portfolio, trades, bots, signals, and market state. Every endpoint below lives under /api/v1/.

Base URL

https://www.tradingwizard.ai

All paths in this reference are relative to the base URL. HTTPS only.

Authentication

Open Settings → AI and API to copy your API key, then send it as a Bearer token on every request:

Authorization: Bearer <your_api_key>
  • Missing or malformed header → 401 UNAUTHORIZED.
  • Unknown token → 403 FORBIDDEN.
  • Plan-gated endpoint without the right tier → 403 PLAN_REQUIRED.
  • Over daily quota → 429 RATE_LIMIT_EXCEEDED plus Retry-After and X-RateLimit-* headers.

The same token drives TradingView webhooks. Keep it secret and rotate from Settings if it leaks.

Rate limits

Quotas are per-token, per-day (UTC). Counters reset at 00:00 UTC.

Pro
5,000
requests a day
Ultimate (members)
50,000
requests a day

Response shape

Every endpoint returns the same envelope: ok: true with a data object on success, ok: false with a coded error on failure.

Success
{
  "ok": true,
  "data": { ... }
}
Error
{
  "ok": false,
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "..."
  }
}

Quick start

cURL
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://www.tradingwizard.ai/api/v1/account

Endpoints

Public widgets data

The embeddable widgets under /widgets/* pull from one public, CORS-wide endpoint. No auth required, and a shared cache may serve the same answer for 30 seconds.

GET/api/widgets/data
Public

widget (required) selects the dataset: price, watchlist, leaderboard, and more.

Example: /api/widgets/data?widget=price&symbol=BTCUSDT

Next: Webhooks

Send TradingView alerts straight into TradingWizard using the same API token.

Webhooks

Every bot is a Demo bot with demo money. Nothing here places a real order.

Start 7-day trial