Skip to content
Fourohtwo

api.dripmetrics.ai/metrics/roll-spread

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.

BaseRobinhood ChainAnswering
GEThttps://api.dripmetrics.ai/metrics/roll-spread

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.dripmetrics.ai/metrics/roll-spread?exchange=coinbase&pair=BTC-USD&window=30m");
console.log(await res.json());

Example input

{
  "exchange": "coinbase",
  "pair": "BTC-USD",
  "window": "30m"
}