{
  "openapi": "3.1.0",
  "info": {
    "title": "PharmaCatalyst",
    "version": "1.0.0",
    "x-guidance": "Biotech catalysts: call /catalysts?ticker=<biotech ticker> (e.g. ?ticker=SRPT) or ?company=<name>. Returns a HIGH / MODERATE / LOW / NONE catalyst signal plus the upcoming Phase 2/3 trial readouts with expected primary-completion dates and NCT ids. Optional ?days= horizon (default 365). $0.05 via x402. Trial-readout timing only \u2014 no curated FDA PDUFA dates. Full catalog: lonestaroracle.xyz",
    "description": "Upcoming Phase 2/3 clinical-trial readouts and catalyst signal for biotech tickers. Pass ?ticker=.",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "x-x402-proof": "https://pharma.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/catalysts": {
      "get": {
        "summary": "Biotech Trial Catalysts",
        "operationId": "catalysts_catalysts_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": false,
            "description": "Biotech stock ticker (e.g. SRPT, VRTX, MRNA). Resolved to a company via yfinance. Alias: symbol.",
            "schema": {
              "type": "string",
              "example": "SRPT"
            }
          },
          {
            "name": "company",
            "in": "query",
            "required": false,
            "description": "Company name instead of a ticker (e.g. 'Vertex Pharmaceuticals'). Alias: name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "Look-ahead window in days (default 365, max 1095). Omit unless the user asks for a specific horizon.",
            "schema": {
              "type": "integer",
              "default": 365
            }
          }
        ],
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "security": [
            {
              "x402": {}
            }
          ]
        },
        "description": "Upcoming Phase 2/3 clinical-trial readouts and catalyst signal for biotech tickers. Pass ?ticker=.",
        "tags": [
          "pharma",
          "biotech",
          "clinical-trials",
          "catalyst",
          "fda",
          "stocks"
        ]
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free"
        }
      }
    }
  }
}