{
  "name": "Alpha Flow Signal Scanner",
  "description": "Crypto trading signal API powered by Glassnode on-chain data and Google Gemini AI. Provides real-time ENTRY/SETUP/WAIT signals with ATR-based entry, stop, and target levels for BTC, ETH, SOL, DOGE, BNB, and PEPE. Pay-per-request via x402 USDC micropayments — no account needed.",
  "url": "https://api.tradentic.ai/api/agent",
  "provider": {
    "organization": "Tradentic AI",
    "url": "https://tradentic.ai"
  },
  "version": "1.0.0",
  "documentationUrl": "https://api.tradentic.ai/docs",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "mcpEndpoint": "https://api.tradentic.ai/mcp"
  },
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "scan",
      "name": "On-Chain Signal Scan",
      "description": "Run full 8-metric Glassnode on-chain scan with Gemini AI analysis. Returns direction (LONG/SHORT), status (ENTRY/SETUP/WAIT), confidence (0-100), entry price, stop loss, target prices, risk-reward ratio, thesis, and leverage grid.",
      "tags": ["crypto", "trading", "signals", "on-chain", "scan", "analysis"],
      "examples": [
        "Scan BTC for trading signals",
        "Run an on-chain analysis for ETH",
        "What's the current signal for SOL?"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "signals-list",
      "name": "List Recent Signals",
      "description": "Browse recent public trading signals with filtering by asset (BTC, ETH, SOL, DOGE, BNB, PEPE) and status (ENTRY, SETUP, WAIT). Returns paginated list with confidence scores and trade levels.",
      "tags": ["crypto", "signals", "history", "browse"],
      "examples": [
        "Show me recent BTC ENTRY signals",
        "List all signals from the last 7 days",
        "What SETUP signals are active?"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "signal-detail",
      "name": "Signal Detail",
      "description": "Get full signal data by UUID including thesis, risk assessment, genesis insight, narrative, and computed on-chain metrics.",
      "tags": ["crypto", "signals", "detail", "analysis"],
      "examples": [
        "Get details for signal abc-123",
        "Show the full analysis for this signal"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    },
    {
      "id": "backtest",
      "name": "Signal Backtest",
      "description": "Run or retrieve backtest for an ENTRY signal. Returns outcome (TP1_HIT/TP2_HIT/STOPPED/OPEN), P&L at 1x/3x/10x leverage, max favorable/adverse excursion, liquidation check, and candle-level resolution.",
      "tags": ["crypto", "backtest", "pnl", "leverage", "performance"],
      "examples": [
        "Backtest signal abc-123",
        "What was the P&L for this signal at 3x leverage?"
      ],
      "inputModes": ["application/json"],
      "outputModes": ["application/json"]
    }
  ],
  "securitySchemes": {
    "oauth": {
      "type": "oauth2",
      "description": "OAuth 2.1 via Supabase Auth (Google login). Used by Claude.ai web connectors. Discovery: GET /mcp/.well-known/oauth-protected-resource",
      "flows": {
        "authorizationCode": {
          "authorizationUrl": "https://fvqiybzrnwwgzkkeewjx.supabase.co/auth/v1/oauth/authorize",
          "tokenUrl": "https://fvqiybzrnwwgzkkeewjx.supabase.co/auth/v1/oauth/token",
          "scopes": {
            "openid": "Verify identity",
            "profile": "View profile",
            "email": "View email"
          }
        }
      }
    },
    "apiKey": {
      "type": "http",
      "scheme": "bearer",
      "description": "API key (af_sk_...) linked to Telegram account. Get one via @tradentic_bot /apikey command."
    },
    "x402": {
      "type": "x402",
      "description": "Pay-per-request via x402 USDC micropayments on Base network. No API key needed. Send request → receive 402 with payment instructions → pay → retry with X-PAYMENT header.",
      "network": "base",
      "facilitatorUrl": "https://x402.org/facilitator"
    }
  }
}
