{
 "openapi": "3.1.0",
 "info": {
  "title": "TokenGap",
  "version": "1.0.0",
  "x-guidance": "Tokenized-stock gap: call /gap?ticker=TSLA ($0.05) for one stock across Robinhood Chain and Solana xStocks (price vs the real share, premium/discount, liquidity, best venue, implied next open when closed), or /gaps ($0.10) for every supported ticker ranked by gap. Supported: TSLA NVDA AAPL SPY QQQ MSTR COIN HOOD. Missing/unsupported ticker returns a free 400. Full catalog: lonestaroracle.xyz",
  "contact": {
   "email": "info@lonestaroracle.xyz",
   "url": "https://lonestaroracle.xyz"
  }
 },
 "paths": {
  "/gap": {
   "get": {
    "summary": "Tokenized-stock price vs the real stock for one ticker",
    "operationId": "gap_endpoint_gap_get",
    "parameters": [
     {
      "name": "ticker",
      "in": "query",
      "required": true,
      "description": "Stock ticker: TSLA, NVDA, AAPL, SPY, QQQ, MSTR, COIN or HOOD (aliases: symbol, stock; TSLAx also accepted)",
      "schema": {
       "type": "string",
       "example": "TSLA"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "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"
     },
     "security": [
      {
       "x402": {}
      }
     ]
    }
   }
  },
  "/gaps": {
   "get": {
    "summary": "All supported tokenized stocks ranked by token-vs-stock gap",
    "operationId": "gaps_endpoint_gaps_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    },
    "parameters": [],
    "x-payment-info": {
     "authMode": "payment",
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.100000"
     },
     "security": [
      {
       "x402": {}
      }
     ]
    }
   }
  },
  "/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"
   }
  }
 },
 "servers": [
  {
   "url": "https://gap.lonestaroracle.xyz"
  }
 ]
}