# DripMetrics Polymarket Wallet Concentration

> DripMetrics Polymarket Wallet Concentration is a paid API for AI agents from api.dripmetrics.ai, paid per call via x402, $0.050000/call, status unknown (last checked 2026-09-15).

Measures whether recent trading flow in a Polymarket prediction market is dominated by a small set of wallets, returning a structured concentration metric.

## Facts

- Endpoint: POST https://api.dripmetrics.ai/polymarket/wallet-concentration
- Price: $0.050000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-dripmetrics-ai-b44481f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YH2nGSGfn5Mg34hiuFEMG

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 api-dripmetrics-ai-b44481f3 -d '<json body>'
```

Example prompt: Can you check the wallet concentration for the Polymarket market with slug 'will-btc-hit-100k-by-end-of-2025' over the last 120 minutes — I want to know if a few wallets are dominating the recent trading flow?

## When to prefer this

Use this endpoint when you need to assess whether recent Polymarket trading activity is concentrated among a small number of wallets — a key signal for manipulation risk, informed trading, or whale dominance. Prefer this over generic market data endpoints when you specifically need wallet-level flow concentration diagnostics on Polymarket. Ideal for agents performing prediction market due diligence, risk screening, or identifying suspicious order flow patterns without needing a subscription.

## Known failure modes

- Missing both conditionId and slug — API requires at least one to identify the market
- Invalid conditionId or slug returns a 404 or empty result
- windowMinutes or limit outside allowed range returns a validation error
- x402 payment failure (insufficient USDC balance) results in 402 Payment Required response
- Market has too few trades in the window — sampleSize may be 0 or metric may be unreliable
- endTs before startTs causes invalid window error

## How this service works

DripMetricsAI (https://dripmetrics.ai/) provides on-demand crypto market microstructure metrics, Hyperliquid candle metrics, Polymarket diagnostics, and on-chain DefiLlama metrics for agents, dashboards, and trading workflows.

## Output

A structured JSON object containing the wallet concentration metric value (0–1 scale), breakdown of metric components, sample size (number of trades evaluated), the effective analysis window, the market slug, and a computedAt timestamp indicating when the metric was calculated.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 100,
   "conditionId": "0x1234567890abcdef1234567890abcdef12345678",
   "windowMinutes": 60
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "conditionId": {
       "type": "string",
       "description": "Polymarket condition ID for trade-based metrics."
      },
      "slug": {
       "type": "string",
       "description": "Polymarket market or event slug for human-readable market selection. Multi-market event slugs may require conditionId to disambiguate."
      },
      "tokenId": {
       "type": "string",
       "description": "Polymarket token / asset ID for orderbook and price-history endpoints."
      },
      "assetId": {
       "type": "string",
       "description": "Alias for tokenId on price-history-based endpoints."
      },
      "outcome": {
       "type": "string",
       "enum": [
        "YES",
        "NO"
       ],
       "description": "Required for token-side Polymarket diagnostics when the selected YES or NO side must be interpreted."
      },
      "windowMinutes": {
       "type": "integer",
       "minimum": 1,
       "description": "Lookback window in minutes."
      },
      "limit": {
       "type": "integer",
       "minimum": 1,
       "maximum": 5000,
       "description": "Maximum number of trades to evaluate."
      },
      "startTs": {
       "type": "integer",
       "description": "Optional unix timestamp lower bound."
      },
      "endTs": {
       "type": "integer",
       "description": "Optional unix timestamp upper bound."
      },
      "lookbackMinutes": {
       "type": "integer",
       "minimum": 1,
       "description": "Historical lookback used for probability shock normalization."
      },
      "newsTs": {
       "type": "integer",
       "description": "Optional explicit event timestamp for leakage scoring. If omitted, the metric uses the midpoint of the effective analysis window."
      }
     },
     "required": [],
     "additionalProperties": false,
     "anyOf": [
      {
       "required": [
        "conditionId"
       ]
      },
      {
       "required": [
        "slug"
       ]
      }
     ]
    }
   },
   "required": [
    "type",
    "method"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "slug": "fed-decision-in-october",
  "value": 0.1423,
  "metric": "wallet-concentration",
  "source": {
   "market": "https://gamma-api.polymarket.com/markets/slug/fed-decision-in-october",
   "trades": "https://data-api.polymarket.com/trades"
  },
  "window": {
   "windowMinutes": 60
  },
  "components": {
   "hhi": 0.1423,
   "top1Share": 0.26,
   "top5Share": 0.61,
   "totalVolume": 20428.8,
   "uniqueWallets": 42
  },
  "computedAt": "2026-05-25T14:00:00.000Z",
  "sampleSize": {
   "trades": 186,
   "wallets": 42
  },
  "conditionId": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-dripmetrics-ai-b44481f3/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)
