DripMetrics Roll Spread is a paid API for AI agents from api.dripmetrics.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-12-04, last successful call 2026-06-15).
Calculates the Roll spread proxy metric — an estimate of bid-ask spread derived from lagged price covariance — for a crypto trading pair on Binance or Coinbase over a 30m or 1h window.
DripMetricsAI (api description at https://dripmetrics.ai/) provides on-demand market microstructure and risk metrics for agents and developers. Agents can pay per request via x402 and receive structured JSON metrics without subscriptions or API keys. Roll Spread estimates an absolute covariance spread proxy derived from lagged price changes. Discovery examples use the latest 30m window.
Returns a structured JSON object with the Roll spread value (a numeric spread proxy in price units), the covariance and number of intervals used in the computation, trade count, the pair/exchange/window parameters, and the timestamps of the first and last trade included plus when the metric was computed.
GEThttps://api.dripmetrics.ai/metrics/roll-spread?utm_source=zero.xyzUse this endpoint when you need a fast, on-demand, pay-per-call Roll spread estimate for Bitcoin or Ethereum pairs on Binance or Coinbase without managing subscriptions or API keys. Prefer it over subscription-based data feeds when cost efficiency and agent-native x402 micropayments matter, or when you specifically need the Roll (1984) covariance-based spread proxy rather than order book derived spreads.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"pair": "BTCUSDT",
"window": "1h",
"exchange": "binance"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"pair": "BTCUSDT",
"value": 19.60741657,
"metric": "roll-spread",
"window": "1h",
"exchange": "binance",
"components": {
"intervals": 60,
"covariance": -96.112696105834,
"observations": 58
},
"computedAt": "2026-05-25T04:32:49.669Z",
"tradeCount": 16252,
"lastTradeTime": "2026-05-25T04:32:48.298Z",
"firstTradeTime": "2026-05-25T03:32:49.739Z"
}{
"type": "json",
"example": {
"pair": "BTC-USD",
"value": 3.2145,
"metric": "roll-spread",
"window": "30m",
"coverage": {
"partialData": false,
"errorMessage": null,
"completeFetch": true,
"coverageRatio": 1,
"effectiveWindowMinutes": 30,
"requestedWindowMinutes": 30
},
"exchange": "coinbase",
"components": {
"mode": "absolute",
"intervals": 30,
"covariance": 2.583251,
"observations": 28,
"interpretation": "absolute_covariance_proxy",
"strictRollDefined": false,
"absoluteCovariance": 2.583251
},
"computedAt": "2026-05-23T14:00:00.000Z",
"tradeCount": 428,
"lastTradeTime": "2026-05-23T13:59:58.000Z",
"firstTradeTime": "2026-05-23T13:00:02.000Z"
}
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"