Skip to content
Overview

TradeEasy API · v1

Build with TradeEasy

The economic calendar, breaking news, CFTC positioning, reports and TradeEasy research over HTTPS, and the same data as tools for your AI assistant. Educational research, not investment advice.

Base URL · REST
https://api.tradeeasyai.net/public/v1
MCP server · Streamable HTTP
https://api.tradeeasyai.net/public/v1/mcp
OpenAPI · public, no key
https://api.tradeeasyai.net/public/v1/openapi.json

Your first request#

Create a key in Account → API, keep it in an environment variable and send it in the X-API-Key header. Every success comes in the same envelope: read data, and quote meta.request_id if you contact support.

Values on the right are real: XAUUSD, the report of 20 Oct 2026, read 24 Oct 2026, 11:29 UTC.

import os, requests

r = requests.get(
    "https://api.tradeeasyai.net/public/v1/cot/XAUUSD",
    headers={"X-API-Key": os.environ["TRADEEASY_API_KEY"]},
    timeout=10,
)
r.raise_for_status()
data = r.json()["data"]
200 · application/json
{
  "success": true,
  "data": {
    "report_date": "2026-10-20",
    "net_speculator": 199865,
    "net_speculator_change_1w": -8014,
    "flow_label": "New shorts"
  },
  "meta": { "symbol": "XAUUSD" }
}
Claude Code · Terminal
claude mcp add --transport http tradeeasy https://api.tradeeasyai.net/public/v1/mcp

Ask your assistant

Where are large speculators positioned in gold futures?
get_cot · XAUUSD

Errors and limits#

Route errors use the envelope on the right. Authentication and validation errors come from FastAPI as {"detail": …}. Limits are per key, per minute and per day; every response carries x-ratelimit-* headers.

Rate limits and errors lists every code.

404 · application/json
{
  "success": false,
  "error": {
    "code": "NOT_AVAILABLE_FOR_ASSET",
    "message": "COT data is not available for AAPL. COT reports only cover CFTC-reported futures (FX, commodities, indices).",
    "status": 404
  }
}

What each plan includes#

PlanREST APIMCP serverLimits per key
StarterNot includedIncluded100 / min · 5,000 / day
PremiumIncludedIncluded100 / min · 5,000 / day
AnnualIncludedIncluded500 / min · 25,000 / day
LifetimeIncludedIncluded500 / min · 25,000 / day

Organization keys for partners carry their own per-minute limit and monthly quota. For business explains the programme.