MarketIntell

Alpha Signals API

Discover alpha signals, run scans, and backtest performance

Alpha Signals API

Access machine-generated alpha signals, trigger market scans, and evaluate historical signal performance.


GET /v1/alpha

List recent alpha signals.

Query Parameters

ParameterTypeRequiredDescription
limitnumberNoNumber of results (default: 20, min: 1, max: 100)

Request

curl "https://api.marketintell.ai/v1/alpha?limit=5" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "count": 2,
    "signals": [
      {
        "id": "sig_001",
        "headline": "Whale accumulation detected: 5,200 BTC moved to cold storage",
        "analysis": "Multiple large wallets transferred BTC off exchanges in the past 4 hours, reducing exchange reserves to a 3-year low.",
        "sentiment": "BULLISH",
        "impact": "HIGH",
        "category": "whale",
        "tokens_affected": ["BTC"],
        "invalidation": "If BTC drops below $40,000 within 24h",
        "timestamp": "2025-01-15T13:00:00.000Z",
        "sources": ["on-chain", "exchange-flow"]
      },
      {
        "id": "sig_002",
        "headline": "ETH whale sells 15,000 ETH on Binance",
        "analysis": "A top-100 ETH holder deposited 15,000 ETH to Binance. Historically, this wallet sells within 24 hours of deposit.",
        "sentiment": "BEARISH",
        "impact": "MEDIUM",
        "category": "whale",
        "tokens_affected": ["ETH"],
        "timestamp": "2025-01-15T12:30:00.000Z",
        "sources": ["on-chain"]
      }
    ]
  }
}

Signal fields match the AlphaSignalSchema: sentiment is one of "BULLISH" | "BEARISH" | "NEUTRAL", and impact is one of "LOW" | "MEDIUM" | "HIGH" | "CRITICAL".


POST /v1/alpha/scan

Trigger a fresh market scan to discover new alpha signals. This endpoint takes no request body — it runs the full signal generation pipeline.

Required scopes: admin or alpha

Request

curl -X POST https://api.marketintell.ai/v1/alpha/scan \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "count": 3,
    "signals": [
      {
        "id": "sig_003",
        "headline": "SOL momentum breakout on 4H chart",
        "analysis": "SOL broke above descending trendline with 2.5x average volume.",
        "sentiment": "BULLISH",
        "impact": "MEDIUM",
        "category": "momentum",
        "tokens_affected": ["SOL"],
        "timestamp": "2025-01-15T14:00:00.000Z",
        "sources": ["technical"]
      }
    ]
  }
}

GET /v1/alpha/performance

View historical performance statistics for alpha signals. Returns tracker stats merged with inline outcome stats.

Request

curl "https://api.marketintell.ai/v1/alpha/performance" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "total_signals": 142,
    "accuracy": 0.68,
    "avg_return": 4.2,
    "best_signal": {
      "id": "sig_089",
      "headline": "AVAX whale accumulation before ecosystem announcement",
      "return_percent": 32.5
    },
    "inline_outcomes": {
      "checked_24h": 120,
      "checked_7d": 95,
      "avg_price_change_24h": 2.1,
      "avg_price_change_7d": 5.4
    }
  }
}

This endpoint takes no query parameters. It aggregates data from both the performance tracker and the outcome checker.


GET /v1/alpha/backtest

Run a backtest on historical alpha signals over a configurable time window.

Query Parameters

ParameterTypeRequiredDescription
hoursnumberNoLookback period in hours (default: 24, min: 1, max: 168)

Request

curl "https://api.marketintell.ai/v1/alpha/backtest?hours=72" \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "hours": 72,
    "total_signals": 28,
    "win_rate": 0.75,
    "avg_return": 6.8,
    "max_drawdown": -12.3,
    "sharpe_ratio": 1.45,
    "results": [
      {
        "signal_id": "sig_045",
        "token": "BTC",
        "entry_price": 42500,
        "exit_price": 45200,
        "return_percent": 6.35,
        "holding_period_hours": 72
      }
    ]
  }
}

On this page