Skip to content
onelayer.
All tools

Tool detail

vpin

Computes VPIN (volume-synchronized order-flow imbalance) for a trading pair on Binance, Coinbase or Hyperliquid.

Categories: Market prices

Use when

  • measure adverse-selection / order-flow imbalance risk for a pair
  • check a short-window VPIN reading before a trade decision
  • compare VPIN across a 30m to 3h lookback window

Not for

  • not a probability — an adverse-selection proxy only (see excessVpin)
  • 2h/3h windows are currently BTCUSDT/BTC-USD only

Inputs

GET query params, all required: pair (string, e.g. BTCUSDT), exchange (enum: binance|coinbase|hyperliquid), window (enum: 30m|1h|2h|3h)

Admitted input schema

{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "binance",
        "coinbase",
        "hyperliquid"
      ],
      "description": "Exchange adapter to source recent trades from."
    },
    "pair": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Exchange-native trading pair symbol such as BTCUSDT, ETH-USD, BTC, or xyz:TSLA."
    },
    "window": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "30m",
        "1h",
        "2h",
        "3h"
      ],
      "description": "Lookback window. Hyperliquid supports 30m and 1h; 2h and 3h are currently BTCUSDT/BTC-USD only."
    }
  },
  "required": [
    "pair",
    "exchange",
    "window"
  ],
  "additionalProperties": false
}

Endpoint

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

Payment

Protocol
x402
Listed price
$0.05 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://api.dripmetrics.ai/metrics/vpin
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z