# P0 Agent Economy Index – Wallet Retention & Repeat-Rate Analytics

> P0 Agent Economy Index – Wallet Retention & Repeat-Rate Analytics is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Returns repeat-payer and retention cohort metrics for the x402 agent-economy service market, including repeat rates, loop-flagged pairs, and per-cohort return windows computed from on-chain USDC payment data.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/retention?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-wallet-retention-repeat-rate-analytics-594242f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nmn_BFVVJ2CBqAwLbU5nN

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 p0-agent-economy-index-wallet-retention-repeat-rate-analytics-594242f6
```

Example prompt: Pull the latest x402 agent-economy retention snapshot — I want to see the 7-day and 28-day repeat-payer rates, how many wallet-service pairs are flagged as loops, and which chains are covered.

## When to prefer this

Choose this endpoint when you need quantitative retention and repeat-payer analytics specifically for the x402 micropayment service market, including cohort breakdowns and loop-detection flags. Prefer it over general blockchain analytics when you want pre-computed, methodology-documented metrics across the live x402 bazaar rather than raw on-chain queries. Not appropriate for per-service rankings (use the /rank route), L402 data, or non-x402 agent protocols.

## Known failure modes

- Stale data: 'stale' field set to true if the snapshot has not been refreshed within the expected cadence
- Truncated response: large coverage arrays may be truncated in transit
- No 84-day cohort data: eligible_pairs=0 if the index is too young for that window
- Service unavailable: Cloudflare Worker cold-start or origin timeout returns 5xx
- Partial on-chain scan coverage: repeat rates are stated as lower bounds because scanner samples are not full wallet histories

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object containing: overall repeat-rate statistics (total pairs, repeat pairs, repeat rate), per-cohort return rates for 7-day, 28-day, and 84-day windows, loop-flagged pair counts, session-collapse rules, coverage metadata (chains, wallets, sellers, payment count, observation window), data source attribution, snapshot timestamp, and a staleness flag. Units and methodology notes are included inline.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "v": 1,
  "note": "Scanner samples, not full wallet histories: repeat rates are lower bounds. Format sample: totals, coverage, cohorts and per-chain rows are our real computation of 2026-10-05; per-tag, per-service and per-pair list entries are illustrative placeholders.",
  "rule": {
   "loop": "4+ sessions at near-constant intervals (cv < 0.15), a service whose only payer is one wallet, or a scanner automation flag",
   "repeat": "first and last payment session of a (wallet, service) pair at least 24 h apart",
   "service": "one payTo address (seller) on one chain",
   "same_session_retries": "payments of one pair within 30 min are one session"
  },
  "as_of": "2026-10-04T18:24:44+00:00",
  "stale": false,
  "labels": {
   "calls_30d": "calls_30d are paid outcomes: settlements recorded by the CDP facilitator. Unpaid invocations (402 challenges, probes, failed verifies) are not observable in public data, so invocations is null.",
   "invocations": null,
   "paid_outcome": "a facilitator-recorded settlement (catalog calls_30d) or an on-chain transfer to a listed payTo address (scans, not verified as x402 settlements)"
  },
  "source": "P0 demand metrics: Coinbase CDP x402 Bazaar catalog (public) + P0 on-chain scans of USDC transfers to listed x402 payTo addresses",
  "cohorts": {
   "week_1": {
    "days": 7,
    "note": null,
    "rate": 0.1819,
    "eligible_pairs": 2391,
    "returned_pairs": 435
   },
   "week_4": {
    "days": 28,
    "note": null,
    "rate": 0.3136,
    "eligible_pairs": 727,
    "returned_pairs": 228
   },
   "week_12": {
    "days": 84,
    "note": "no pair is old enough in the observed window",
    "rate": null,
    "eligible_pairs": 0,
    "returned_pairs": 0
   }
  },
  "overall": {
   "pairs": 3287,
   "repeat_rate": 0.2367,
   "repeat_pairs": 778,
   "retries_collapsed": 6852,
   "loop_flagged_pairs": 146
  },
  "coverage": {
   "chains": [
    "arbitrum",
    "base",
    "polygon",
    "solana",
    "stacks"
   ],
   "sellers": 458,
   "sources": [
    "evm_x402_payers",
    "solana_x402_payers",
    "stacks_x402_payers"
   ],
   "wallets": 1418,
   "payments": 14598,
   "window_to": "2026-10-04T19:31:06Z",
   "window_from": "2026-07-27T12:46:06Z",
   "api_price_max_usd": 1,
   "sellers_with_known_host": 457,
   "excluded_over_api_max_payments": 1216
  },
  "services": [
   {
    "host": "api.example-seller.dev",
    "chain": "base",
    "payers": 120,
    "seller": "0x000000000000000000000
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-wallet-retention-repeat-rate-analytics-594242f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
