# x402 Revenue Analytics by Seller Address

> x402 Revenue Analytics by Seller Address is a paid API for AI agents from data.kagurazaka.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns on-chain revenue analytics for an x402 seller's payTo address on Base, including totals, payer counts, daily breakdown, top payers, and Bazaar listing uptime.

## Facts

- Endpoint: GET https://data.kagurazaka.dev/v1/revenue?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-revenue-analytics-by-seller-address-c1fbe3a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g5oZ8ffJ0f4Uod6cNwxkM

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-revenue-analytics-by-seller-address-c1fbe3a5
```

Example prompt: Show me my x402 revenue stats for payTo address 0xABC123... over the last 14 days, and exclude my test wallet 0xDEF456... from the results.

## When to prefer this

Use this endpoint when you need seller-side revenue analytics for a specific x402 payTo address on Base — covering earnings, payer demographics, daily trends, and Bazaar listing performance. Prefer this over the buyer-side spend endpoint when the user is an API seller wanting to understand their income. Prefer this over the market-wide leaderboard endpoints when you need granular per-address data rather than rankings.

## Known failure modes

- Missing pay_to parameter returns 400 or empty result
- Invalid address format causes no matching on-chain data
- days out of range (>14 or <1) may return error or default to 7
- exclude list exceeding 10 addresses may be truncated or rejected
- No payments found for the address returns zero totals
- Network or chain indexing lag may cause slightly stale data

## How this service works

Data about the x402 market: the CDP Bazaar's listings, sellers, prices and categories, new listings and price changes from snapshots every 6 hours, uptime we measure for every paid listing, and x402 spending of any wallet and revenue of any seller on Base.

## Output

A JSON object containing: total USD earned, total payment count, distinct payer count, repeat payer count, an array of per-day stats (date, payments, payers, USD), per-price-tier breakdowns, top payers with their totals, recent payment list, and an array of Bazaar listings with price, 30-day payer count, 30-day call count, and uptime ratio.

## 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": [
      "pay_to"
     ],
     "properties": {
      "days": {
       "type": "integer",
       "description": "period in days (1-14, default 7)"
      },
      "pay_to": {
       "type": "string",
       "description": "the seller's payTo address (0x...)"
      },
      "exclude": {
       "type": "string",
       "description": "comma separated payer addresses to leave out, such as your own test wallets (up to 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "by_day": {},
      "payers": {},
      "by_price": {},
      "listings": {},
      "payments": {},
      "total_usd": {},
      "top_payers": {},
      "repeat_payers": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "by_day": [
   {
    "usd": 0.08,
    "date": "2026-10-24",
    "payers": 3,
    "payments": 12
   }
  ],
  "payers": 9,
  "by_price": [
   {
    "usd": 0.005,
    "payments": 50
   }
  ],
  "listings": [
   {
    "resource": "https://api.example/v1/x",
    "calls_30d": 61,
    "price_usd": 0.005,
    "payers_30d": 9,
    "uptime_30d": 1
   }
  ],
  "payments": 61,
  "total_usd": 0.42,
  "top_payers": [
   {
    "usd": 0.15,
    "payer": "0x...",
    "payments": 30
   }
  ],
  "repeat_payers": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-revenue-analytics-by-seller-address-c1fbe3a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.kagurazaka.dev](https://www.zero.xyz/host/data.kagurazaka.dev/llms.txt)
