Skip to content
onelayer.
All tools

Tool detail

vwap-deviation

Returns the latest price deviation from the window VWAP for a trading pair on Binance, Coinbase or Hyperliquid.

Categories: Market prices

Use when

  • check how far a pair's price has deviated from its VWAP
  • get a VWAP deviation microstructure metric for a pair on a given exchange

Not for

  • not full order-book or trade data - a single derived metric only

Inputs

GET query params (all required): exchange (enum: binance/coinbase/hyperliquid), pair (string, e.g. BTCUSDT), 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/vwap-deviation

Payment

Protocol
x402
Listed price
0.05 USDC per request 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/vwap-deviation
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z