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.
One endpoint. Every response includes computed metrics and full AI analysis.
Net P/L, win rate, profit factor, average win/loss, largest win/loss — computed server-side, consistent every time.
Five scores from 0–100: overall, risk management, consistency, discipline, and edge clarity — plus a letter grade.
Automatic pattern detection: missing stops, insufficient sample size, asymmetric sizing, and more — each with severity.
Prioritized, specific action items so the trader (or the agent) knows exactly what to fix first.
Bearer token authentication with per-key rate limiting and monthly usage metering built in.
Structured output designed for automation. Parse scores and recommendations programmatically — no scraping, no HTML.
From payment to first response in minutes.
Subscribe below. Your API key is delivered to your email.
POST symbol, direction, entry, exit, and quantity. Up to 100 trades per request.
Metrics, scores, grade, risk flags, and recommendations come back as JSON.
Pipe the output into your agent, dashboard, bot, or trading platform.
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 }
}One plan. No tiers, no metering surprises.
Everything you need to make your first call.
Pass your key as a Bearer token on every request:
Authorization: Bearer x3k_live_YOUR_KEY
POST https://alpha.x3digitalcapital.com/api/v1/analyze
Required per trade: symbol, direction (long / short), entry, exit, qty. Optional fields like dates and notes improve the analysis.
Metrics (netPL, winRate, profitFactor, averages), AI scores across five dimensions, a letter grade, strengths, severity-ranked risk flags, and prioritized recommendations.
20 calls per minute per key. Monthly usage is metered per key and available on request.
Questions, feature requests, integration help: api@x3digitalcapital.com