{
  "openapi": "3.1.0",
  "info": {
    "title": "千里眼 Alpha-Scout 情报 / 回测审计 API",
    "version": "0.4.0",
    "description": "机器可读入口清单。/api/* 为免费公开数据(无需注册/鉴权); 付费资源用 TRON USDT (TRC-20) 结算, 不提供免费无限额度。"
  },
  "servers": [
    {
      "url": "https://web3project.top"
    }
  ],
  "paths": {
    "/api": {
      "get": {
        "operationId": "getApiIndex",
        "summary": "公开数据端点目录 (免费)",
        "responses": {
          "200": {
            "description": "endpoint index JSON"
          }
        }
      }
    },
    "/api/x402/revenue": {
      "get": {
        "operationId": "getX402Revenue",
        "summary": "x402 赛道 30 天真实链上收入 (免费; 源 x402-list.com CC BY 4.0)",
        "responses": {
          "200": {
            "description": "market summary + top earners JSON"
          }
        }
      }
    },
    "/api/x402/history": {
      "get": {
        "operationId": "getX402History",
        "summary": "上述指标的时间序列 (免费)",
        "responses": {
          "200": {
            "description": "daily points JSON"
          }
        }
      }
    },
    "/api/defi/events": {
      "get": {
        "operationId": "getDefiEvents",
        "summary": "DeFi TVL 骤降事件 + hack 事件流 (免费)",
        "responses": {
          "200": {
            "description": "tvl_drops + hacks JSON"
          }
        }
      }
    },
    "/api/macro/regime": {
      "get": {
        "operationId": "getMacroRegime",
        "summary": "美联储政策路径与关键宏观序列 (免费; 源 FRED)",
        "responses": {
          "200": {
            "description": "series + brief JSON"
          }
        }
      }
    },
    "/research/x402": {
      "get": {
        "operationId": "getX402Research",
        "summary": "x402 收入研究方法与结论 (人读 HTML)",
        "responses": {
          "200": {
            "description": "research page"
          }
        }
      }
    },
    "/.well-known/agent-card.json": {
      "get": {
        "operationId": "getAgentCard",
        "summary": "A2A Agent Card (能力与定价)",
        "responses": {
          "200": {
            "description": "Agent Card JSON"
          }
        }
      }
    },
    "/.well-known/x402": {
      "get": {
        "operationId": "getX402Manifest",
        "summary": "x402 能力清单 (IETF draft-hawkins-x402-dns-discovery-02)",
        "responses": {
          "200": {
            "description": "x402 capability manifest (application/json)"
          }
        }
      }
    },
    "/a2a/v1": {
      "post": {
        "operationId": "a2aJsonRpc",
        "summary": "A2A JSON-RPC 2.0: sample(免费) / message/send(下单与付款提交)",
        "responses": {
          "200": {
            "description": "JSON-RPC 结果(含 task 状态 / payment-required)"
          },
          "429": {
            "description": "限流"
          }
        }
      }
    },
    "/order": {
      "post": {
        "operationId": "createBacktestAuditOrder",
        "summary": "创建回测审计订单 (application/x-www-form-urlencoded: config, product, contact)",
        "responses": {
          "200": {
            "description": "付款指引页"
          },
          "413": {
            "description": "请求体过大"
          }
        }
      }
    },
    "/status/{order_id}": {
      "get": {
        "operationId": "getOrderStatus",
        "summary": "订单状态查询",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "订单状态页"
          }
        }
      }
    }
  }
}