Skip to content
onelayer.
All tools

Tool detail

order-flow-hhi

Returns the Herfindahl-Hirschman concentration index of signed order flow for one exchange, trading pair and lookback window.

Categories: Market prices

Use when

  • measure concentration of buy/sell order flow for a pair
  • check signed order-flow concentration on Binance, Coinbase or Hyperliquid
  • assess market microstructure risk before sizing an order

Not for

  • not raw trade history or order book depth
  • not a spot price or OHLCV feed

Inputs

GET query params, all required: pair (string), 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/order-flow-hhi

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/order-flow-hhi
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z