{
 "openapi": "3.1.0",
 "info": {
  "title": "EquityScope",
  "version": "2.0.0",
  "x-guidance": "AI-powered stock fundamentals + Claude AI investment analysis: valuation, analyst outlook, key risks. $0.05/query via x402 USDC on Base.  |  Also from LoneStarOracle: OptionsFlow (options.lonestaroracle.xyz)  |  InsiderFlow (insider.lonestaroracle.xyz)  |  RealEstatePulse (realestate.lonestaroracle.xyz)  |  MacroPulse (macro.lonestaroracle.xyz)  |  Full catalog: lonestaroracle.xyz",
  "contact": {
   "email": "jay@lonestaroracle.xyz"
  },
  "description": "Fundamentals, valuation and a buy/sell/strong-buy signal with analyst price-target upside for any US stock or ETF. Pass ?ticker=.",
  "x-x402-proof": "https://equity.lonestaroracle.xyz/.well-known/x402-proof"
 },
 "externalDocs": {
  "url": "https://docs.lonestaroracle.xyz",
  "description": "LoneStarOracle API & integration docs"
 },
 "paths": {
  "/subscribe": {
   "post": {
    "summary": "Subscribe",
    "description": "Subscribe to push alerts \u2014 5/month via x402 USDC on Base.",
    "operationId": "subscribe_subscribe_post",
    "parameters": [
     {
      "name": "webhook_url",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Webhook Url"
      }
     },
     {
      "name": "wallet",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "",
       "title": "Wallet"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    }
   }
  },
  "/subscribers": {
   "get": {
    "summary": "Subscribers",
    "operationId": "subscribers_subscribers_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    }
   }
  },
  "/": {
   "get": {
    "summary": "Root",
    "operationId": "root__get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    },
    "x-payment-info": {
     "authMode": "free"
    }
   }
  },
  "/equity": {
   "get": {
    "summary": "US Equity Fundamentals & Signal",
    "operationId": "equity_equity_get",
    "parameters": [
     {
      "name": "ticker",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Ticker",
       "example": "AAPL"
      },
      "description": "US stock or ETF ticker, e.g. AAPL, TSLA, SPY. Alias: symbol.",
      "example": "AAPL"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "description": "Service response data"
        }
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    },
    "x-payment-info": {
     "authMode": "payment",
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.050000"
     },
     "protocols": [
      {
       "x402": {}
      },
      {
       "mpp": {
        "method": "stripe",
        "intent": "charge",
        "currency": "usd"
       }
      }
     ],
     "inputSchema": {
      "type": "object",
      "properties": {
       "ticker": {
        "type": "string",
        "title": "Ticker",
        "description": "US stock or ETF ticker, e.g. AAPL, TSLA, SPY. Alias: symbol.",
        "example": "AAPL"
       }
      },
      "required": [
       "ticker"
      ]
     },
     "outputSchema": {
      "type": "object",
      "description": "Service response data"
     }
    },
    "description": "Fundamentals, valuation and a buy/sell/strong-buy signal with analyst price-target upside for any US stock or ETF. Pass ?ticker=.",
    "tags": [
     "stocks",
     "equity",
     "fundamentals",
     "valuation",
     "signal",
     "analyst"
    ]
   }
  },
  "/health": {
   "get": {
    "summary": "Health",
    "operationId": "health_health_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    },
    "x-payment-info": {
     "authMode": "free"
    }
   }
  }
 },
 "components": {
  "schemas": {
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
     }
    },
    "type": "object",
    "title": "HTTPValidationError"
   },
   "ValidationError": {
    "properties": {
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "type": "array",
      "title": "Location"
     },
     "msg": {
      "type": "string",
      "title": "Message"
     },
     "type": {
      "type": "string",
      "title": "Error Type"
     },
     "input": {
      "title": "Input"
     },
     "ctx": {
      "type": "object",
      "title": "Context"
     }
    },
    "type": "object",
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError"
   }
  }
 }
}