{
 "openapi": "3.1.0",
 "info": {
  "title": "FundingRates",
  "version": "1.0.0",
  "x-guidance": "Perp funding rates \u2014 BTC/ETH/SOL/AVAX/LINK/ARB across OKX, Hyperliquid, dYdX. Signal-first: LONG_HEAVY/SHORT_HEAVY/NEUTRAL/MIXED/EXTREME. $0.05 via x402 on Base. | Also: MacroPulse (macro.lonestaroracle.xyz) | TechAnalysis (ta.lonestaroracle.xyz) | Full catalog: lonestaroracle.xyz",
  "contact": {
   "email": "jay@lonestaroracle.xyz"
  },
  "description": "Perpetual-futures funding rates, extremes and a positioning signal across exchanges. /rates, /extremes, /signal.",
  "x-x402-proof": "https://funding.lonestaroracle.xyz/.well-known/x402-proof"
 },
 "externalDocs": {
  "url": "https://docs.lonestaroracle.xyz",
  "description": "LoneStarOracle API & integration docs"
 },
 "paths": {
  "/rates": {
   "get": {
    "summary": "Perp Funding Rates Signal",
    "operationId": "rates_rates_get",
    "parameters": [
     {
      "name": "asset",
      "in": "query",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Asset"
      }
     }
    ],
    "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"
     },
     "protocols": [
      {
       "x402": {}
      }
     ]
    },
    "description": "Perpetual-futures funding rates, extremes and a positioning signal across exchanges. /rates, /extremes, /signal.",
    "tags": [
     "funding",
     "perps",
     "derivatives",
     "crypto",
     "rates",
     "signal"
    ]
   }
  },
  "/extremes": {
   "get": {
    "summary": "Top extreme rates \u2014 agent-optimized",
    "operationId": "extremes_extremes_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    },
    "x-payment-info": {
     "authMode": "payment",
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.050000"
     },
     "security": [
      {
       "x402": {}
      }
     ]
    }
   }
  },
  "/signal": {
   "get": {
    "summary": "Signal only \u2014 ultra-lightweight",
    "operationId": "signal_only_signal_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    },
    "x-payment-info": {
     "authMode": "payment",
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.050000"
     },
     "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"
   }
  }
 }
}