{"openapi":"3.1.0","info":{"title":"DripMetrics API","version":"1.0.0","description":"DripMetricsAI provides on-demand crypto market microstructure, risk, prediction-market, Hyperliquid, and on-chain metrics. Paid endpoints use x402 and return structured JSON without subscriptions or API keys. Also available over MCP (Streamable HTTP) at https://mcp.dripmetrics.ai/mcp with free discovery tools.","x-mcp":"https://mcp.dripmetrics.ai/mcp","x-guidance":"Use /openapi.json for discovery. Routes with x-payment-info are x402-paid resources: first call the endpoint without PAYMENT-SIGNATURE to receive a 402 challenge, then retry with a valid x402 v2 PAYMENT-SIGNATURE. Routes with security: [] are public discovery or health routes and should not be probed for payment.","contact":{"email":"drip@dripmetrics.ai","url":"https://dripmetrics.ai/"}},"servers":[{"url":"https://api.dripmetrics.ai"}],"tags":[{"name":"Discovery"},{"name":"Exchange metrics"},{"name":"Hyperliquid"},{"name":"Polymarket"},{"name":"On-chain"},{"name":"Portfolio risk"},{"name":"BTC options"},{"name":"Orderbook"},{"name":"Market summary"}],"paths":{"/":{"get":{"operationId":"getRoot","summary":"Service status.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Service status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonObject"}}}}}}},"/health":{"get":{"operationId":"getHealth","summary":"Service health.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Service health.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonObject"}}}}}}},"/catalog":{"get":{"operationId":"getCatalog","summary":"List available metrics, exchanges, windows, and pricing.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Catalog.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApiJson","summary":"OpenAPI discovery document.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"OpenAPI document.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonObject"}}}}}}},"/metrics/vpin":{"get":{"operationId":"getMetricVpin","summary":"Compute vpin.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/kyle-lambda":{"get":{"operationId":"getMetricKyleLambda","summary":"Compute kyle-lambda.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/beta":{"get":{"operationId":"getMetricBeta","summary":"Compute beta.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/order-flow-hhi":{"get":{"operationId":"getMetricOrderFlowHhi","summary":"Compute order-flow-hhi.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/historical-volatility":{"get":{"operationId":"getMetricHistoricalVolatility","summary":"Compute historical-volatility.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/cvd":{"get":{"operationId":"getMetricCvd","summary":"Compute cvd.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/buy-sell-volume-imbalance":{"get":{"operationId":"getMetricBuySellVolumeImbalance","summary":"Compute buy-sell-volume-imbalance.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/signed-dollar-volume":{"get":{"operationId":"getMetricSignedDollarVolume","summary":"Compute signed-dollar-volume.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/trade-intensity":{"get":{"operationId":"getMetricTradeIntensity","summary":"Compute trade-intensity.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/average-trade-size":{"get":{"operationId":"getMetricAverageTradeSize","summary":"Compute average-trade-size.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/large-trade-share":{"get":{"operationId":"getMetricLargeTradeShare","summary":"Compute large-trade-share.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/realized-vol":{"get":{"operationId":"getMetricRealizedVol","summary":"Compute realized-vol.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/amihud-illiquidity":{"get":{"operationId":"getMetricAmihudIlliquidity","summary":"Compute amihud-illiquidity.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/vwap":{"get":{"operationId":"getMetricVwap","summary":"Compute vwap.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/vwap-deviation":{"get":{"operationId":"getMetricVwapDeviation","summary":"Compute vwap-deviation.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/momentum":{"get":{"operationId":"getMetricMomentum","summary":"Compute momentum.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/reversal":{"get":{"operationId":"getMetricReversal","summary":"Compute reversal.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/drawdown":{"get":{"operationId":"getMetricDrawdown","summary":"Compute drawdown.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/downside-semivolatility":{"get":{"operationId":"getMetricDownsideSemivolatility","summary":"Compute downside-semivolatility.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/rolling-correlation":{"get":{"operationId":"getMetricRollingCorrelation","summary":"Compute rolling-correlation.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/vol-of-vol":{"get":{"operationId":"getMetricVolOfVol","summary":"Compute vol-of-vol.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/roll-spread":{"get":{"operationId":"getMetricRollSpread","summary":"Compute roll-spread.","description":"Computes a trade-derived crypto market metric. BTCUSDT and BTC-USD requests are served from the BTC ingest cache and support 30m, 1h, 2h, and 3h windows. Non-BTC requests support 30m and 1h windows.","tags":["Exchange metrics"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Exchange-native trading pair or product id. Defaults to BTC-USD.","schema":{"type":"string","example":"BTCUSDT"}},{"name":"exchange","in":"query","required":false,"description":"Exchange adapter. BTC pairs are routed to the BTC cache regardless of this value.","schema":{"type":"string","enum":["binance","coinbase"],"example":"coinbase"}},{"name":"window","in":"query","required":false,"description":"Lookback window. 2h and 3h are BTC-only.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/historical-volatility":{"get":{"operationId":"getHyperliquidHistoricalVolatility","summary":"Compute Hyperliquid historical-volatility.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/realized-vol":{"get":{"operationId":"getHyperliquidRealizedVol","summary":"Compute Hyperliquid realized-vol.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/momentum":{"get":{"operationId":"getHyperliquidMomentum","summary":"Compute Hyperliquid momentum.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/reversal":{"get":{"operationId":"getHyperliquidReversal","summary":"Compute Hyperliquid reversal.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/drawdown":{"get":{"operationId":"getHyperliquidDrawdown","summary":"Compute Hyperliquid drawdown.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/downside-semivolatility":{"get":{"operationId":"getHyperliquidDownsideSemivolatility","summary":"Compute Hyperliquid downside-semivolatility.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/vol-of-vol":{"get":{"operationId":"getHyperliquidVolOfVol","summary":"Compute Hyperliquid vol-of-vol.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"BTC"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"BTC"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/hyperliquid/beta":{"get":{"operationId":"getHyperliquidBeta","summary":"Compute Hyperliquid beta.","description":"Computes a Hyperliquid candle-derived metric from public 1m candle snapshots.","tags":["Hyperliquid"],"parameters":[{"name":"pair","in":"query","required":true,"description":"Hyperliquid market identifier. Alias: coin. Required for discovery probes so validation reaches the x402 challenge.","schema":{"type":"string","example":"xyz:SPCX"}},{"name":"coin","in":"query","required":false,"description":"Backward-compatible alias for pair.","schema":{"type":"string","example":"xyz:SPCX"}},{"name":"window","in":"query","required":false,"description":"Lookback window.","schema":{"type":"string","enum":["30m","1h"],"default":"30m"}},{"name":"benchmark","in":"query","required":false,"description":"Benchmark market for beta.","schema":{"type":"string","default":"xyz:SP500"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HyperliquidMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/vpin":{"get":{"operationId":"getPolymarketVpin","summary":"Compute Polymarket vpin.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/kyle-lambda":{"get":{"operationId":"getPolymarketKyleLambda","summary":"Compute Polymarket kyle-lambda.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":true,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/flow-imbalance":{"get":{"operationId":"getPolymarketFlowImbalance","summary":"Compute Polymarket flow-imbalance.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/two-sidedness":{"get":{"operationId":"getPolymarketTwoSidedness","summary":"Compute Polymarket two-sidedness.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/wallet-concentration":{"get":{"operationId":"getPolymarketWalletConcentration","summary":"Compute Polymarket wallet-concentration.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/wallet-novelty":{"get":{"operationId":"getPolymarketWalletNovelty","summary":"Compute Polymarket wallet-novelty.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/probability-shock":{"get":{"operationId":"getPolymarketProbabilityShock","summary":"Compute Polymarket probability-shock.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":true,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/polymarket/leakage-score":{"get":{"operationId":"getPolymarketLeakageScore","summary":"Compute Polymarket leakage-score.","description":"Computes a prediction-market metric from public Polymarket data. Many markets require a slug and may also require conditionId or outcome identifiers.","tags":["Polymarket"],"parameters":[{"name":"slug","in":"query","required":false,"description":"Polymarket market slug.","schema":{"type":"string","example":"fed-decision-in-october"}},{"name":"conditionId","in":"query","required":false,"description":"Polymarket condition id.","schema":{"type":"string"}},{"name":"tokenId","in":"query","required":false,"description":"Polymarket outcome token id.","schema":{"type":"string"}},{"name":"assetId","in":"query","required":false,"description":"Alias for tokenId.","schema":{"type":"string"}},{"name":"outcome","in":"query","required":false,"description":"Outcome side.","schema":{"type":"string","enum":["YES","NO"]}},{"name":"windowMinutes","in":"query","required":false,"description":"Lookback window in minutes.","schema":{"type":"integer","minimum":1,"default":60}},{"name":"limit","in":"query","required":false,"description":"Maximum trades to sample.","schema":{"type":"integer","minimum":1,"maximum":5000,"default":500}},{"name":"startTs","in":"query","required":false,"description":"Optional unix timestamp lower bound.","schema":{"type":"integer"}},{"name":"endTs","in":"query","required":false,"description":"Optional unix timestamp upper bound.","schema":{"type":"integer"}},{"name":"lookbackMinutes","in":"query","required":false,"description":"Probability-shock lookback window.","schema":{"type":"integer","minimum":1,"default":1440}},{"name":"newsTs","in":"query","required":false,"description":"Optional event/news unix timestamp for leakage-score.","schema":{"type":"integer"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/onchain/stablecoin-flow":{"get":{"operationId":"getOnchainStablecoinFlow","summary":"Compute on-chain stablecoin-flow.","description":"Computes a DefiLlama-derived on-chain metric. Invalid or unsupported requests fail before payment.","tags":["On-chain"],"parameters":[{"name":"chain","in":"query","required":true,"description":"DefiLlama chain slug.","schema":{"type":"string","example":"base"}},{"name":"window","in":"query","required":true,"description":"Lookback window.","schema":{"type":"string","enum":["1d","7d","30d","90d"]}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnchainMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/onchain/tvl-momentum":{"get":{"operationId":"getOnchainTvlMomentum","summary":"Compute on-chain tvl-momentum.","description":"Computes a DefiLlama-derived on-chain metric. Invalid or unsupported requests fail before payment.","tags":["On-chain"],"parameters":[{"name":"chain","in":"query","required":false,"description":"DefiLlama chain slug. Provide exactly one of chain or protocol.","schema":{"type":"string","example":"base"}},{"name":"protocol","in":"query","required":false,"description":"DefiLlama protocol slug. Provide exactly one of chain or protocol.","schema":{"type":"string","example":"uniswap"}},{"name":"window","in":"query","required":true,"description":"Lookback window.","schema":{"type":"string","enum":["1d","7d","30d","90d"]}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnchainMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/onchain/protocol-fee-yield":{"get":{"operationId":"getOnchainProtocolFeeYield","summary":"Compute on-chain protocol-fee-yield.","description":"Computes a DefiLlama-derived on-chain metric. Invalid or unsupported requests fail before payment.","tags":["On-chain"],"parameters":[{"name":"protocol","in":"query","required":true,"description":"DefiLlama protocol slug.","schema":{"type":"string","example":"uniswap"}},{"name":"window","in":"query","required":true,"description":"Lookback window.","schema":{"type":"string","enum":["7d","30d","90d"]}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnchainMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/onchain/dex-efficiency":{"get":{"operationId":"getOnchainDexEfficiency","summary":"Compute on-chain dex-efficiency.","description":"Computes a DefiLlama-derived on-chain metric. Invalid or unsupported requests fail before payment.","tags":["On-chain"],"parameters":[{"name":"chain","in":"query","required":false,"description":"DefiLlama chain slug. Provide exactly one of chain or protocol.","schema":{"type":"string","example":"base"}},{"name":"protocol","in":"query","required":false,"description":"DefiLlama protocol slug. Provide exactly one of chain or protocol.","schema":{"type":"string","example":"uniswap"}},{"name":"window","in":"query","required":true,"description":"Lookback window.","schema":{"type":"string","enum":["7d","30d","90d"]}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnchainMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/options/vrp":{"get":{"operationId":"getOptionsVrp","summary":"Compute BTC options vrp.","description":"Computes a BTC option-derived metric combining the public Deribit option chain with DripMetrics' trade-level realized calculations. Invalid or unsupported requests fail before payment.","tags":["BTC options"],"parameters":[{"name":"window","in":"query","required":false,"description":"Lookback window for the realized (trade tape) leg.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionsMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/options/expected-move":{"get":{"operationId":"getOptionsExpectedMove","summary":"Compute BTC options expected-move.","description":"Computes a BTC option-derived metric combining the public Deribit option chain with DripMetrics' trade-level realized calculations. Invalid or unsupported requests fail before payment.","tags":["BTC options"],"parameters":[{"name":"window","in":"query","required":false,"description":"Lookback window for the realized (trade tape) leg.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionsMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/options/crash-premium":{"get":{"operationId":"getOptionsCrashPremium","summary":"Compute BTC options crash-premium.","description":"Computes a BTC option-derived metric combining the public Deribit option chain with DripMetrics' trade-level realized calculations. Invalid or unsupported requests fail before payment.","tags":["BTC options"],"parameters":[{"name":"window","in":"query","required":false,"description":"Lookback window for the realized (trade tape) leg.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionsMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/options/gex":{"get":{"operationId":"getOptionsGex","summary":"Compute BTC options gex.","description":"Computes a BTC option-derived metric combining the public Deribit option chain with DripMetrics' trade-level realized calculations. Invalid or unsupported requests fail before payment.","tags":["BTC options"],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionsMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/options/spread-greeks":{"post":{"operationId":"postOptionsSpreadGreeks","summary":"Compute net Black-76 greeks and a scenario P&L grid for a BTC option spread.","description":"Nets Black-76 greeks across up to 6 Deribit BTC option legs on a consistent basis and returns a spot-times-vol scenario P&L grid. Invalid legs or unknown instruments fail before payment.","tags":["BTC options"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpreadGreeksRequest"},"example":{"legs":[{"instrument":"BTC-27MAR70-120000-C","qty":1},{"instrument":"BTC-27MAR70-140000-C","qty":-1}]}}}},"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpreadGreeksResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/spread":{"get":{"operationId":"getOrderbookSpread","summary":"Compute order-book spread.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/micro-price":{"get":{"operationId":"getOrderbookMicroPrice","summary":"Compute order-book micro-price.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/imbalance":{"get":{"operationId":"getOrderbookImbalance","summary":"Compute order-book imbalance.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}},{"name":"depthLevels","in":"query","required":false,"description":"Number of book levels per side to include.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/depth-at-distance":{"get":{"operationId":"getOrderbookDepthAtDistance","summary":"Compute order-book depth-at-distance.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}},{"name":"bpsDistance","in":"query","required":false,"description":"Distance from mid price, in basis points.","schema":{"type":"number","minimum":1,"maximum":2000,"default":50}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.10"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.10","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/concentration":{"get":{"operationId":"getOrderbookConcentration","summary":"Compute order-book concentration.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}},{"name":"depthLevels","in":"query","required":false,"description":"Number of book levels per side to include.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.10"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.10","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/execution-impact":{"get":{"operationId":"getOrderbookExecutionImpact","summary":"Compute order-book execution-impact.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}},{"name":"side","in":"query","required":true,"description":"Direction of the hypothetical order.","schema":{"type":"string","enum":["buy","sell"]}},{"name":"sizeBtc","in":"query","required":false,"description":"Order size in base-asset units. Provide exactly one of sizeBtc or notionalUsd.","schema":{"type":"number","minimum":0.001,"maximum":50}},{"name":"notionalUsd","in":"query","required":false,"description":"Order size in USD notional. Provide exactly one of sizeBtc or notionalUsd.","schema":{"type":"number","minimum":10,"maximum":2000000}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.25"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.25","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/orderbook/snapshot":{"get":{"operationId":"getOrderbookSnapshot","summary":"Compute order-book snapshot.","description":"Computes an order-book microstructure metric from a fresh Binance depth snapshot fetched per request. Invalid or unsupported requests, and requests that exceed the fetched book depth, fail before payment.","tags":["Orderbook"],"parameters":[{"name":"pair","in":"query","required":false,"description":"Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported.","schema":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"],"default":"BTCUSDT"}},{"name":"depthLevels","in":"query","required":false,"description":"Number of book levels per side to include.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"bpsDistance","in":"query","required":false,"description":"Distance from mid price, in basis points.","schema":{"type":"number","minimum":1,"maximum":2000,"default":50}},{"name":"side","in":"query","required":false,"description":"Direction of the hypothetical order.","schema":{"type":"string","enum":["buy","sell"]}},{"name":"sizeBtc","in":"query","required":false,"description":"Order size in base-asset units. Provide exactly one of sizeBtc or notionalUsd.","schema":{"type":"number","minimum":0.001,"maximum":50}},{"name":"notionalUsd","in":"query","required":false,"description":"Order size in USD notional. Provide exactly one of sizeBtc or notionalUsd.","schema":{"type":"number","minimum":10,"maximum":2000000}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.25"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.25","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderbookMetricResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/metrics/portfolio/var":{"post":{"operationId":"postPortfolioVar","summary":"Compute portfolio Value-at-Risk.","description":"Computes empirical and/or normal parametric VaR for a submitted crypto portfolio. Invalid, unsupported, failed, or insufficient-data requests fail before payment.","tags":["Portfolio risk"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioVarRequest"},"example":{"assets":["BTC","ETH"],"weights":[0.6,0.4],"portfolioValueUsd":100000,"window":"90d","confidence":0.95,"horizon":"1d","methods":"both"},"examples":{"weights":{"value":{"assets":["BTC","ETH","SOL"],"weights":[0.5,0.3,0.2],"portfolioValueUsd":100000,"window":"180d","confidence":0.95,"horizon":"1d","methods":"both"}}}}}},"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.05"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.05","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioVarResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}},"/market/summary":{"get":{"operationId":"getMarketSummary","summary":"AI-explained BTC market microstructure summary.","description":"Synthesizes the BTC trade tape and Deribit options chain into deterministic microstructure signals (order flow, VPIN flow toxicity, Kyle-lambda liquidity, realized volatility, dealer gamma, variance risk premium) plus a concise AI-written explanation of current conditions. All numbers come from the same calculators as the individual metric endpoints; the AI only interprets them. The prose may note hedged historical tendencies for the observed configuration; it never gives price targets or trade recommendations. Invalid requests and upstream failures fail before payment; if summary generation fails after payment, the deterministic payload is still returned with summary: null.","tags":["Market summary"],"parameters":[{"name":"pair","in":"query","required":false,"description":"BTC-only in this phase. Optional; defaults to BTC.","schema":{"type":"string","enum":["BTC","BTCUSDT","BTC-USD"],"example":"BTC-USD"}},{"name":"window","in":"query","required":false,"description":"Lookback window for the trade-tape signals.","schema":{"type":"string","enum":["30m","1h","2h","3h"],"default":"30m"}}],"security":[{"x402":[]}],"x-payment-info":{"price":{"fixed":{"mode":"fixed","currency":"USD","amount":"0.25"}},"protocols":[{"x402":{}}]},"x-dripmetrics-paid":true,"x-x402":{"priceUsd":"0.25","asset":"USDC","network":"eip155:8453","scheme":"exact"},"responses":{"200":{"description":"Successful paid response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSummaryResult"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/MetricNotComputable"},"503":{"$ref":"#/components/responses/UpstreamUnavailable"}}}}},"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 payment signature header supplied after reading the 402 PAYMENT-REQUIRED response."}},"responses":{"BadRequest":{"description":"Invalid request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"PaymentRequired":{"description":"x402 payment required. Programmatic clients should read payment requirements and retry with a valid PAYMENT-SIGNATURE header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 payment requirements.","schema":{"type":"string"}},"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 payment response after verification or settlement.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"MetricNotComputable":{"description":"Metric could not be computed from available data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UpstreamUnavailable":{"description":"Upstream data source unavailable or insufficient.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"schemas":{"JsonObject":{"type":"object","additionalProperties":true},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"metric":{"type":"string"},"components":{"type":"object","additionalProperties":true}},"required":["error"],"additionalProperties":true},"Catalog":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"string","enum":["vpin","kyle-lambda","beta","order-flow-hhi","historical-volatility","cvd","buy-sell-volume-imbalance","signed-dollar-volume","trade-intensity","average-trade-size","large-trade-share","realized-vol","amihud-illiquidity","vwap","vwap-deviation","momentum","reversal","drawdown","downside-semivolatility","rolling-correlation","vol-of-vol","roll-spread"]}},"exchanges":{"type":"array","items":{"type":"string"}},"pairs":{"type":"array","items":{"type":"object","properties":{"exchange":{"type":"string"},"pair":{"type":"string"}}},"examples":[[{"exchange":"btc-cache","pair":"BTCUSDT"},{"exchange":"binance","pair":"BTCUSDT"},{"exchange":"binance","pair":"ETHUSDT"},{"exchange":"binance","pair":"SOLUSDT"},{"exchange":"coinbase","pair":"BTC-USD"},{"exchange":"coinbase","pair":"ETH-USD"},{"exchange":"coinbase","pair":"SOL-USD"}]]},"windows":{"type":"array","items":{"type":"string","enum":["30m","1h"]}},"btcWindows":{"type":"array","items":{"type":"string","enum":["30m","1h","2h","3h"]}},"pricing":{"type":"object","additionalProperties":true},"protocol":{"type":"string","const":"x402"}}},"MetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["vpin","kyle-lambda","beta","order-flow-hhi","historical-volatility","cvd","buy-sell-volume-imbalance","signed-dollar-volume","trade-intensity","average-trade-size","large-trade-share","realized-vol","amihud-illiquidity","vwap","vwap-deviation","momentum","reversal","drawdown","downside-semivolatility","rolling-correlation","vol-of-vol","roll-spread"]},"pair":{"type":"string"},"exchange":{"type":"string"},"window":{"type":"string","enum":["30m","1h","2h","3h"]},"value":{"type":"number"},"components":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"},"tradeCount":{"type":"integer"},"firstTradeTime":{"type":"string","format":"date-time"},"lastTradeTime":{"type":"string","format":"date-time"},"coverage":{"type":"object","additionalProperties":true},"benchmarkCoverage":{"type":"object","additionalProperties":true}},"required":["metric","pair","exchange","window","value","computedAt","tradeCount"],"additionalProperties":true},"HyperliquidMetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["historical-volatility","realized-vol","momentum","reversal","drawdown","downside-semivolatility","vol-of-vol","beta"]},"pair":{"type":"string"},"benchmark":{"type":"string"},"window":{"type":"string","enum":["30m","1h"]},"interval":{"type":"string","const":"1m"},"value":{"type":["number","null"]},"components":{"type":"object","additionalProperties":true},"sampleSize":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","pair","window","interval","value","components","sampleSize","source","computedAt"],"additionalProperties":true},"PolymarketMetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["vpin","kyle-lambda","flow-imbalance","two-sidedness","wallet-concentration","wallet-novelty","probability-shock","leakage-score"]},"conditionId":{"type":["string","null"]},"tokenId":{"type":["string","null"]},"assetId":{"type":["string","null"]},"slug":{"type":["string","null"]},"outcome":{"type":["string","null"]},"window":{"type":"object","additionalProperties":true},"value":{"type":["number","null"]},"components":{"type":"object","additionalProperties":true},"sampleSize":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","value","components","sampleSize","source","computedAt"],"additionalProperties":true},"OnchainMetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["stablecoin-flow","tvl-momentum","protocol-fee-yield","dex-efficiency"]},"chain":{"type":"string"},"protocol":{"type":"string"},"targetType":{"type":"string","enum":["chain","protocol"]},"target":{"type":"string"},"window":{"type":"string","enum":["1d","7d","30d","90d"]},"value":{"type":"number"},"unit":{"type":"string"},"components":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","window","value","unit","components","computedAt"],"additionalProperties":true},"OptionsMetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["vrp","expected-move","crash-premium","gex"]},"pair":{"type":"string","const":"BTC"},"window":{"type":"string","enum":["30m","1h","2h","3h"]},"value":{"type":["number","null"]},"components":{"type":"object","additionalProperties":true},"sampleSize":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","pair","value","components","sampleSize","source","computedAt"],"additionalProperties":true},"OrderbookMetricResult":{"type":"object","properties":{"metric":{"type":"string","enum":["spread","micro-price","imbalance","depth-at-distance","concentration","execution-impact","snapshot"]},"pair":{"type":"string","enum":["BTCUSDT","ETHUSDT","SOLUSDT"]},"value":{"type":["number","null"]},"components":{"type":"object","additionalProperties":true},"sampleSize":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","pair","value","components","sampleSize","source","computedAt"],"additionalProperties":true},"SpreadGreeksRequest":{"type":"object","properties":{"legs":{"type":"array","minItems":1,"maxItems":6,"items":{"type":"object","properties":{"instrument":{"type":"string","description":"Deribit BTC option instrument name, e.g. BTC-27MAR70-120000-C."},"qty":{"type":"number","description":"Signed quantity in 1 BTC contracts; negative = short."}},"required":["instrument","qty"],"additionalProperties":false}}},"required":["legs"],"additionalProperties":false},"SpreadGreeksResult":{"type":"object","properties":{"metric":{"type":"string","const":"spread-greeks"},"pair":{"type":"string","const":"BTC"},"value":{"type":["number","null"]},"components":{"type":"object","additionalProperties":true},"legs":{"type":"array","items":{"type":"object","additionalProperties":true}},"greeks":{"type":"object","additionalProperties":{"type":"number"}},"scenarioGrid":{"type":"object","additionalProperties":true},"sampleSize":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","pair","value","greeks","scenarioGrid","computedAt"],"additionalProperties":true},"PortfolioVarRequest":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"string"},"minItems":1},"weights":{"type":"array","items":{"type":"number"}},"quantities":{"type":"array","items":{"type":"number"}},"portfolioValueUsd":{"type":"number","exclusiveMinimum":0},"window":{"type":"string","enum":["90d","180d"],"default":"180d"},"confidence":{"type":"number","minimum":0.5,"maximum":0.999,"default":0.95},"horizon":{"type":"string","default":"1d","example":"1d"},"methods":{"type":"string","enum":["empirical","normal","both"],"default":"both"}},"required":["assets"],"oneOf":[{"required":["weights","portfolioValueUsd"]},{"required":["quantities"]}],"additionalProperties":false},"PortfolioVarResult":{"type":"object","properties":{"metric":{"type":"string","const":"portfolio-var"},"assets":{"type":"array","items":{"type":"string"}},"weights":{"type":"array","items":{"type":"number"}},"quantities":{"type":"array","items":{"type":"number"}},"portfolioValueUsd":{"type":"number"},"window":{"type":"string","enum":["90d","180d"]},"confidence":{"type":"number"},"horizon":{"type":"string"},"value":{"type":"object","additionalProperties":{"type":"number"}},"components":{"type":"object","additionalProperties":true},"componentRisk":{"type":"object","additionalProperties":true},"computedAt":{"type":"string","format":"date-time"}},"required":["metric","assets","weights","portfolioValueUsd","window","confidence","horizon","value","components","computedAt"],"additionalProperties":true},"MarketSummaryResult":{"type":"object","properties":{"pair":{"type":"string","const":"BTC"},"window":{"type":"string","enum":["30m","1h","2h","3h"]},"asOf":{"type":"string","format":"date-time"},"lastPrice":{"type":["number","null"]},"confidence":{"type":"number","minimum":0,"maximum":1},"signals":{"type":"object","description":"Deterministic categorical reads of each metric family. Each value is null when the underlying metric could not be computed.","additionalProperties":{"type":["string","null"]}},"metrics":{"type":"object","description":"The numeric metric values behind the signals.","additionalProperties":{"type":["number","null"]}},"summary":{"type":["string","null"],"description":"AI-written explanation of the signals. Null only when generation failed after payment; the deterministic payload is still returned."},"summaryModel":{"type":["string","null"]},"summaryError":{"type":"string"},"disclaimer":{"type":"string","description":"Fixed informational-use disclaimer; never LLM-generated."},"sampleSize":{"type":"object","additionalProperties":true},"coverage":{"type":"object","additionalProperties":true},"source":{"type":"object","additionalProperties":true}},"required":["pair","window","asOf","lastPrice","confidence","signals","metrics","summary","summaryModel","disclaimer","sampleSize","coverage","source"],"additionalProperties":true}}}}