D

Dripmetrics · Metrics Vpin

by Dripmetrics

GETBase

$0.05

per call · USD Coin on Base

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. VPIN measures volume-synchronized order-flow imbalance (an adverse-selection proxy, not a probability); see excessVpin. Discovery examples use the latest 30m window.

Endpoint

GET https://api.dripmetrics.ai/metrics/vpin

28

Calls / 30d

10

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.dripmetrics.ai/metrics/vpin", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.dripmetrics.ai/metrics/vpin?exchange=coinbase&pair=BTC-USD&window=30m" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "components": {
    "bucketSize": 5,
    "buckets": 20,
    "buyTrades": 50,
    "buyVolume": 50,
    "estimatedNullVpin": 0.35682482,
    "excessVpin": -0.15682482,
    "meanImbalance": 1,
    "meanTradeContributionsPerBucket": 5,
    "minimumTradeContributionsPerBucket": 5,
    "minimumTradeCount": 100,
    "oneSidedBuckets": 0,
    "sellTrades": 50,
    "sellVolume": 50,
    "targetBuckets": 20,
    "totalVolume": 100,
    "tradeCount": 100
  },
  "computedAt": "2026-05-23T14:00:00.000Z",
  "coverage": {
    "completeFetch": true,
    "coverageRatio": 1,
    "effectiveWindowMinutes": 30,
    "errorMessage": null,
    "partialData": false,
    "requestedWindowMinutes": 30
  },
  "exchange": "coinbase",
  "firstTradeTime": "2026-05-23T13:00:02.000Z",
  "lastTradeTime": "2026-05-23T13:59:58.000Z",
  "metric": "vpin",
  "pair": "BTC-USD",
  "tradeCount": 100,
  "value": 0.2,
  "window": "30m"
}

Payment details

Pay to0xc9b70d8d342609437bc87ec3c877911a306d3e6a
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Dripmetrics & similar services