{
  "openapi": "3.1.0",
  "info": {
    "title": "StablePulse - Stablecoin Peg Monitor",
    "version": "1.0.0",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "x-guidance": "Stablecoin peg monitoring and risk scoring across Base/Ethereum/Solana. Returns peg deviation, stability score (0-10), risk category (green/yellow/red), and issuer type (regulated/cdp/synthetic). Use /symbol/{symbol} for a single stablecoin or /risk-summary for top-level overview. $0.05/query via x402. | Also: CascadeWatch (cascade.lonestaroracle.xyz) DeFiRisk (defi.lonestaroracle.xyz) | Full catalog: lonestaroracle.xyz",
    "description": "Monitor USDC, USDT and major stablecoin pegs. Real-time peg deviation (now/24h/7d), reserve & stability read, and green/yellow/red depeg-risk scoring across the top stablecoins on Base, Ethereum and Solana. Endpoints: /pulse, /symbol/{symbol}, /risk-summary.",
    "x-x402-proof": "https://stable.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_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": {}
              }
            }
          }
        }
      }
    },
    "/pulse": {
      "get": {
        "summary": "Stablecoin Risk & Peg Monitor",
        "operationId": "pulse_pulse_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.05"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "description": "Stablecoin peg, reserves and depeg-risk monitor across major stables. /pulse, /symbol/{sym}.",
        "tags": [
          "stablecoin",
          "peg",
          "risk",
          "usdc",
          "defi",
          "depeg"
        ]
      }
    },
    "/symbol/{symbol}": {
      "get": {
        "summary": "Symbol",
        "operationId": "symbol_symbol__symbol__get",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Symbol"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/risk-summary": {
      "get": {
        "summary": "Risk Summary",
        "operationId": "risk_summary_risk_summary_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "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"
      }
    }
  },
  "tags": [
    {
      "name": "stablecoin"
    },
    {
      "name": "stablecoin-monitor"
    },
    {
      "name": "peg-monitor"
    },
    {
      "name": "peg-deviation"
    },
    {
      "name": "depeg-risk"
    },
    {
      "name": "reserves"
    },
    {
      "name": "stability"
    },
    {
      "name": "risk"
    },
    {
      "name": "defi"
    },
    {
      "name": "usdc"
    },
    {
      "name": "usdt"
    },
    {
      "name": "dai"
    }
  ]
}