{
  "openapi": "3.1.0",
  "info": {
    "title": "COT",
    "version": "1.0.0",
    "x-guidance": "CFTC Commitments of Traders positioning: call /cot?market=<name> (e.g. ?market=gold or ?market=sp500 or ?market=10y). Returns a Crowded Long / Lean Long / Neutral / Lean Short / Crowded Short signal from large-spec net positioning vs its 3-year history, plus commercial net, week-over-week change and open interest. $0.05 via x402. Full catalog: lonestaroracle.xyz",
    "description": "CFTC Commitments-of-Traders futures positioning vs history (crude, gold, S&P, bonds, bitcoin). Pass ?market=.",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "x-x402-proof": "https://cot.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/cot": {
      "get": {
        "summary": "CFTC COT Positioning",
        "operationId": "cot_endpoint_cot_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": true,
            "description": "Futures market to read. Friendly names accepted: crude, gold, silver, copper, natgas, corn, wheat, soybeans, sugar, coffee, cattle, sp500, nasdaq, russell, vix, euro, yen, pound, cad, aud, dollar, bitcoin, ether, 10y, 5y, bonds, sofr. Aliases: commodity, symbol, m.",
            "schema": {
              "type": "string",
              "example": "gold"
            }
          }
        ],
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "security": [
            {
              "x402": {}
            }
          ]
        },
        "description": "CFTC Commitments-of-Traders futures positioning vs history (crude, gold, S&P, bonds, bitcoin). Pass ?market=.",
        "tags": [
          "cot",
          "cftc",
          "futures",
          "positioning",
          "commodities",
          "sentiment"
        ]
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free"
        }
      }
    }
  }
}