# x402 Data API – Seller Revenue Analytics

> x402 Data API – Seller Revenue Analytics is a paid API for AI agents from tb2s28fm0h8dkq2t.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-25).

Returns on-chain revenue analytics for a given seller's payTo address from x402 payments on Base: totals, payer counts, daily breakdowns, top payers, and Bazaar listing uptime.

## Facts

- Endpoint: GET https://tb2s28fm0h8dkq2t.68r.lambda-web.us-east-1.on.aws/v1/revenue?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-api-seller-revenue-analytics-2bd97e81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kZOzuki2-f-EGw4M9xC13

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-data-api-seller-revenue-analytics-2bd97e81
```

Example prompt: Show me the x402 revenue for my seller address 0xAbC123... over the last 7 days — break it down by day and show my top payers, and exclude 0xTestWallet1 and 0xTestWallet2 from the results.

## When to prefer this

Use this endpoint when you need on-chain x402 revenue analytics for a specific seller address on Base, including payer breakdowns, daily trends, and Bazaar listing health. It uniquely combines blockchain payment data with Bazaar marketplace uptime metrics in a single call, and supports test wallet exclusion. Prefer this over generic blockchain explorers when you need structured, aggregated seller-side revenue intelligence for the x402 ecosystem.

## Known failure modes

- Missing or invalid pay_to address returns an error or empty result
- days parameter outside 1-14 range may be rejected or clamped
- More than 10 addresses in exclude parameter may be rejected
- Address with no x402 payment history returns zero totals
- Network or chain indexing delays may cause recent payments to be missing
- Lambda cold start may cause occasional latency spikes

## How this service works

What a seller's payTo address earned from x402 payments on Base in the last days, read from the chain: total, distinct and repeat payers, per day, per price, top payers and recent payments, with plain USDC transfers counted apart and your own test wallets left out on request. Includes the seller's Bazaar listings with their payers, calls and measured uptime.

## Output

A JSON object containing: total USD earned, count of distinct and repeat payers, revenue broken down by day and by price tier, a list of top payers with amounts, recent individual payments, plain USDC transfer totals counted separately, and Bazaar listing details including per-listing payers, call counts, and measured uptime percentages.

## 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": {}
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-api-seller-revenue-analytics-2bd97e81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tb2s28fm0h8dkq2t.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/tb2s28fm0h8dkq2t.68r.lambda-web.us-east-1.on.aws/llms.txt)
