# x402 Market Intelligence – Directory Stats

> x402 Market Intelligence – Directory Stats is a paid API for AI agents from x402-meta.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns aggregate market statistics for the x402 ecosystem: resource counts, service and endpoint totals, median price, and average uptime metrics.

## Facts

- Endpoint: GET https://x402-meta.x402tookit.com/x402-directory-stats?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-market-intelligence-directory-stats-76f8c72b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vAwap39EO6mJIkoNZY5Ad

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 x402-market-intelligence-directory-stats-76f8c72b
```

Example prompt: Give me a snapshot of the x402 market right now — how many Bazaar resources and x402-list endpoints exist, what the median price is, and what average uptime looks like.

## When to prefer this

Choose this endpoint when you need a single-call aggregate snapshot of the entire x402 ecosystem — total counts, price benchmarks, and uptime — rather than searching for a specific service, checking a specific URL, or filtering by category. It is the fastest way to answer 'how big is the x402 market' or 'what is a fair price for an x402 service'.

## Known failure modes

- Upstream directory sources unavailable — degraded flag set to true with reasons array explaining which sources were not checked
- Stale data — asOf timestamp may lag if aggregation pipeline is delayed
- Null fields — individual stats may be null if insufficient data points exist at query time
- HTTP 402 — payment not included or incorrect amount for the $0.02 USDC call

## How this service works

Size of the x402 market now: Bazaar resource count, x402-list services, endpoints, median price and average uptime.

## Output

A JSON object containing the timestamp of the snapshot (asOf, computedAt), counts of Bazaar resources (bazaarResources), x402-list services (x402ListServices) and endpoints (x402ListEndpoints), the ratio between them (bazaarToX402ListEndpointRatio), pricing statistics (min, median, average, max price in USD), availability metrics (avgUptime24hPct, avgUptime7dPct), average response time (avgResponseMs), number of networks, data source URL, attribution, disclaimer, and optional degradation/reason flags.

## 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": {
      "view": {
       "type": "string",
       "description": "Optional label echoed back; no effect"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "pricing": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "avg_price_usd": {
         "type": [
          "null",
          "number"
         ]
        },
        "max_price_usd": {
         "type": [
          "null",
          "number"
         ]
        },
        "min_price_usd": {
         "type": [
          "null",
          "number"
         ]
        },
        "median_price_usd": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "networks": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "computedAt": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
        "null",
        "str
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-market-intelligence-directory-stats-76f8c72b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-meta.x402tookit.com](https://www.zero.xyz/host/x402-meta.x402tookit.com/llms.txt)
