{
  "name": "Red Queen Sovereign Intelligence",
  "description": "High-performance asynchronous OSINT and crypto intelligence engine for autonomous agents. Fetches, parses, cleans and analyzes web sources, extracts crypto entities and events, evaluates source reliability and signal quality, and returns structured market intelligence with actionable scoring.",
  "version": "2.2.23",
  "url": "https://redqueen-agent.duckdns.org",
  "contact": "https://redqueen-agent.duckdns.org/manifest",
  "demo": "https://redqueen-agent.duckdns.org/demo",

  "payment": {
    "method": "webhook",
    "chain": "solana",
    "accepted_tokens": ["SOL", "USDC"],
    "cost_per_request_usd": 0.01,
    "receive_address": "EkTbnmfTES9gBjfXNroT47cmxtxdkrsdMuZs4S4xmCyk"
  },

  "tags": [
    "crypto",
    "analytics",
    "osint",
    "solana",
    "ethereum",
    "base",
    "ai-agent",
    "intelligence",
    "market-intelligence",
    "signal-detection"
  ],

  "capabilities": {
    "async_processing": true,
    "modes": ["full", "intel"],
    "explainability": "reasoning_short",
    "parallel_processing": true,
    "structured_output": true,
    "entity_extraction": true,
    "event_detection": true,
    "market_context": true,
    "source_reliability_scoring": true,
    "actionability_scoring": true,
    "heuristic_scoring": true
  },

  "skills": [
    {
      "id": "crypto-intelligence-parser",
      "name": "Crypto Intelligence Parser",
      "description": "High-speed web intelligence parser that converts source pages into structured crypto intelligence, extracting tickers, smart-contract addresses, events, market context and signal-quality metrics.",
      "endpoint": "/parse",
      "method": "GET",

      "input_schema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Target URL to fetch and analyze."
          },
          "mode": {
            "type": "string",
            "enum": ["full", "intel"],
            "default": "full",
            "description": "full returns parsed source content and intelligence; intel prioritizes structured intelligence extraction."
          },
          "key": {
            "type": "string",
            "description": "API key."
          }
        },
        "required": ["url"]
      },

      "output_schema": {
        "type": "object",
        "properties": {
          "task_id": { "type": "string" },
          "trace_id": { "type": "string" },
          "status": { "type": "string" },
          "current_step": { "type": "string" },
          "url": { "type": "string" },
          "title": { "type": "string" },
          "tickers": { "type": "array", "items": { "type": "string" } },
          "contracts": { "type": "array", "items": { "type": "string" } },
          "ca": { "type": "array", "items": { "type": "string" } },
          "buzzwords": { "type": "array", "items": { "type": "string" } },
          "events": { "type": "array", "items": { "type": "string" } },
          "market_context": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "symbol": { "type": "string" },
                "price_usd": { "type": "number" },
                "change_24h": { "type": "number" }
              }
            }
          },
          "source_reliability": { "type": "number" },
          "heuristic_score": { "type": "number" },
          "actionability_score": { "type": "number" },
          "importance": { "type": "string" },
          "signal_id": { "type": "string" },
          "summary": { "type": "string" },
          "text": { "type": "string" },
          "fetch_ms": { "type": "number" },
          "robots": { "type": "string" },
          "error_code": { "type": "string" },
          "is_partial": { "type": "boolean" },
          "published_at": { "type": ["string", "null"] }
        },
        "required": ["task_id", "trace_id", "status"]
      }
    }
  ],

  "x402Version": 2,

  "accepts": [
    {
      "id": "x402",
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "10000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x73963608ac7a1A1898d97FA5bD3005Bb489847cd",
      "maxTimeoutSeconds": 300
    }
  ],

  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "url": "https://ethereum.org/en/",
            "mode": "intel",
            "key": "rk_demo"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "task_id": "9370993e-3e8a-4b59-9fab-1db9d598318a",
            "trace_id": "4b2dd1f4-30c1-411f-aa6f-4b3b6b6b0f0a",
            "status": "completed",
            "url": "https://ethereum.org/en/",
            "title": "Ethereum",
            "tickers": ["ETH"],
            "contracts": [],
            "ca": [],
            "buzzwords": ["staking", "ethereum", "layer 2"],
            "events": ["staking"],
            "market_context": [],
            "source_reliability": 1.0,
            "heuristic_score": 0.7,
            "actionability_score": 0.15,
            "importance": "low",
            "signal_id": "841faa9fe8cb4ba8b1d0699c46849c30660eaf7baa96a52149492c5d87267c1d",
            "summary": "Structured intelligence extracted from the analyzed source.",
            "fetch_ms": 224,
            "robots": "Sovereign (Skip)",
            "is_partial": false,
            "published_at": null
          }
        }
      },

      "schema": {
        "type": "object",
        "required": ["task_id", "trace_id", "status"],
        "properties": {
          "task_id": { "type": "string" },
          "trace_id": { "type": "string" },
          "status": { "type": "string" },
          "url": { "type": "string" },
          "title": { "type": "string" },
          "tickers": { "type": "array", "items": { "type": "string" } },
          "contracts": { "type": "array", "items": { "type": "string" } },
          "ca": { "type": "array", "items": { "type": "string" } },
          "buzzwords": { "type": "array", "items": { "type": "string" } },
          "events": { "type": "array", "items": { "type": "string" } },
          "market_context": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "symbol": { "type": "string" },
                "price_usd": { "type": "number" },
                "change_24h": { "type": "number" }
              }
            }
          },
          "source_reliability": { "type": "number" },
          "heuristic_score": { "type": "number" },
          "actionability_score": { "type": "number" },
          "importance": { "type": "string" },
          "signal_id": { "type": "string" },
          "summary": { "type": "string" },
          "text": { "type": "string" },
          "fetch_ms": { "type": "number" },
          "robots": { "type": "string" },
          "error_code": { "type": "string" },
          "is_partial": { "type": "boolean" },
          "published_at": { "type": ["string", "null"] }
        }
      }
    }
  }
}
