Trade Intelligence API

Raw trades in,
intelligence out.

POST your trade data and get back deterministic metrics, AI-generated scores, risk flags, and prioritized recommendations — in clean, structured JSON. Built for AI agents, trading tools, and developers.

What you get.

One endpoint. Every response includes computed metrics and full AI analysis.

Deterministic Metrics

Net P/L, win rate, profit factor, average win/loss, largest win/loss — computed server-side, consistent every time.

AI Scoring

Five scores from 0–100: overall, risk management, consistency, discipline, and edge clarity — plus a letter grade.

Risk Flags

Automatic pattern detection: missing stops, insufficient sample size, asymmetric sizing, and more — each with severity.

Recommendations

Prioritized, specific action items so the trader (or the agent) knows exactly what to fix first.

Simple Auth

Bearer token authentication with per-key rate limiting and monthly usage metering built in.

Agent-Ready JSON

Structured output designed for automation. Parse scores and recommendations programmatically — no scraping, no HTML.

How it works.

From payment to first response in minutes.

01

Get a key

Subscribe below. Your API key is delivered to your email.

02

Send trades

POST symbol, direction, entry, exit, and quantity. Up to 100 trades per request.

03

Get analysis

Metrics, scores, grade, risk flags, and recommendations come back as JSON.

04

Build on it

Pipe the output into your agent, dashboard, bot, or trading platform.

One request.

Here's a real call with two trades. Swap in your own key.

# Analyze trades
curl -X POST https://alpha.x3digitalcapital.com/api/v1/analyze \
  -H "Authorization: Bearer x3k_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "trades": [
      { "symbol":"XRP", "direction":"long",  "entry":0.5, "exit":1.2,  "qty":100 },
      { "symbol":"XRP", "direction":"short", "entry":0.5, "exit":0.65, "qty":50 }
    ]
  }'
# Response (truncated)
{
  "object": "trade_analysis",
  "metrics": { "netPL": 62.5, "winRate": 50, "profitFactor": 9.33, ... },
  "analysis": {
    "scores": { "overall": 38, "riskManagement": 45, ... },
    "grade": "D",
    "riskFlags": [ { "flag":"no_documented_stops", "severity":"high", ... } ],
    "recommendations": [ { "action":"Document stop-loss levels...", "priority":1 } ]
  },
  "usage": { "month":"2026-08", "callsThisMonth": 1 }
}

Simple pricing.

One plan. No tiers, no metering surprises.

Professional
$49
per month
  • 500 analyses per month
  • Up to 100 trades per request
  • Full AI analysis on every call
  • 20 calls / minute rate limit
  • Monthly usage reports
  • Email support
Subscribe Now

Getting started.

Everything you need to make your first call.

Authentication

Pass your key as a Bearer token on every request:

Authorization: Bearer x3k_live_YOUR_KEY

Endpoint

POST https://alpha.x3digitalcapital.com/api/v1/analyze

Trade format

Required per trade: symbol, direction (long / short), entry, exit, qty. Optional fields like dates and notes improve the analysis.

Response

Metrics (netPL, winRate, profitFactor, averages), AI scores across five dimensions, a letter grade, strengths, severity-ranked risk flags, and prioritized recommendations.

Rate limits

20 calls per minute per key. Monthly usage is metered per key and available on request.

Support

Questions, feature requests, integration help: api@x3digitalcapital.com

Ready to build?

Get your key and make your first call today.

Get Started