# DripMetrics AI – BTC/USDT Order Book Micro-Price

> DripMetrics AI – BTC/USDT Order Book Micro-Price is a paid API for AI agents from api.dripmetrics.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the order-book micro-price for BTCUSDT — an opposite-side-size-weighted mid-price computed fresh from Binance's live depth snapshot, providing a more accurate instantaneous fair-price estimate than the naive midpoint.

## Facts

- Endpoint: GET https://api.dripmetrics.ai/orderbook/micro-price
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dripmetrics-ai-btc-usdt-order-book-micro-price-57f7aae2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kXiTRxHzTJNCTEWsELxqZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dripmetrics-ai-btc-usdt-order-book-micro-price-57f7aae2
```

Example prompt: What's the current order-book micro-price for BTCUSDT right now? I want the size-weighted fair-value estimate, not just the simple midpoint.

## When to prefer this

Choose this endpoint when you need a more precise instantaneous fair-value estimate for BTCUSDT than the naive bid-ask midpoint, particularly for order-routing decisions, pre-trade analytics, or microstructure research. It is ideal for agents that need a no-subscription, pay-per-request model with no API key management. Prefer this over raw exchange APIs when you want the micro-price pre-computed and returned as clean JSON without parsing raw order book data yourself.

## Known failure modes

- Unsupported pair requested (only BTCUSDT is currently available) — will likely return an error or reject the query parameter
- Binance depth snapshot unavailable or stale — may return null value for the metric
- Payment not processed via x402 — request will be rejected with a 402 Payment Required response
- Rate or quota issues on the underlying Binance public API — may cause intermittent failures

## How this service works

DripMetricsAI (https://dripmetrics.ai/) provides on-demand order-book microstructure metrics computed fresh per request from Binance's public depth snapshot. Agents can pay per request via x402 and receive structured JSON metrics without subscriptions or API keys. Micro-price is the opposite-side-size-weighted mid price, a better instantaneous fair-price estimate than the naive midpoint.

## Output

A structured JSON object containing the micro-price value (a float or null), the pair ('BTCUSDT'), the metric name, a components breakdown of the order-book inputs, sample size details, the data source object (Binance depth snapshot metadata), and a computedAt ISO 8601 timestamp indicating when the metric was computed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "pair": {
       "enum": [
        "BTCUSDT",
        "ETHUSDT",
        "SOLUSDT"
       ],
       "type": "string",
       "default": "BTCUSDT",
       "description": "Binance-native pair. BTCUSDT, ETHUSDT, and SOLUSDT are supported."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "metric",
      "pair",
      "value",
      "components",
      "sampleSize",
      "source",
      "computedAt"
     ],
     "properties": {
      "pair": {
       "enum": [
        "BTCUSDT",
        "ETHUSDT",
        "SOLUSDT"
       ],
       "type": "string"
      },
      "value": {
       "type": [
        "number",
        "null"
       ]
      },
      "metric": {
       "type": "string"
      },
      "source": {
       "type": "object"
      },
      "components": {
       "type": "object"
      },
      "computedAt": {
       "type": "string",
       "format": "date-time"
      },
      "sampleSize": {
       "type": "object"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dripmetrics-ai-btc-usdt-order-book-micro-price-57f7aae2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.dripmetrics.ai](https://www.zero.xyz/host/api.dripmetrics.ai/llms.txt)
