# BaseWhale Oracle x402

> BaseWhale Oracle x402 is a paid API for AI agents from basewhale-x402.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-18).

Returns real-time on-chain whale transactions and large transfer statistics for Base Mainnet (Chain ID 8453), filtered by minimum USD value

## Facts

- Endpoint: GET https://basewhale-x402.vercel.app/v1/whale-stats
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basewhale-oracle-x402-756c6f59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IHCmPdxbn43rnxT6On5lU

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 basewhale-oracle-x402-756c6f59
```

Example prompt: Show me the top 20 whale transactions on Base mainnet right now, only include transfers worth at least $50,000.

## When to prefer this

Choose this endpoint when you need real-time, pay-per-call access to large-transfer whale data specifically on Base Mainnet (Chain ID 8453) without committing to a subscription. It is ideal for agents that need on-demand whale activity snapshots, want to filter by a custom USD threshold, or are building micro-payment-enabled workflows using the x402 payment protocol.

## Known failure modes

- Payment not received or x402 payment header missing — returns 402 Payment Required
- Invalid input types (e.g. non-integer limit) — returns 400 Bad Request
- No transactions meet the min_usd threshold — returns empty transactions array with whale_count of 0
- Base node unavailability or RPC outage — may return 503 or timeout
- Rate limiting if too many requests in short succession

## How this service works

Real-Time On-Chain Whale & Large Transfer Oracle for Base Mainnet (Chain ID 8453), payable via x402.

## Output

Returns a JSON object with the Base network identifier, a timestamp, the count of qualifying whale transactions, an array of individual large transfer records, and the total whale volume in USD across all returned transactions.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "title": "StatsInput",
     "properties": {
      "blocks": {
       "type": "integer",
       "title": "Blocks",
       "default": 25,
       "maximum": 50,
       "minimum": 1
      },
      "min_usd": {
       "type": "number",
       "title": "Min Usd",
       "default": 25000,
       "maximum": 1000000000000000,
       "minimum": 0
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "title": "StatsResponse",
     "required": [
      "success",
      "network",
      "tracked_token",
      "valuation_source",
      "source",
      "fetched_at",
      "latest_block",
      "blocks_scanned",
      "total_whale_transactions",
      "total_whale_volume_usd",
      "largest_single_transfer_usd",
      "average_whale_transfer_usd",
      "volume_category",
      "timestamp"
     ],
     "properties": {
      "source": {
       "type": "string",
       "title": "Source"
      },
      "network": {
       "type": "string",
       "title": "Network"
      },
      "success": {
       "type": "boolean",
       "title": "Success"
      },
      "timestamp": {
       "type": "string",
       "title": "Timestamp"
      },
      "fetched_at": {
       "type": "string",
       "title": "Fetched At"
      },
      "latest_block": {
       "type": "integer",
       "title": "Latest Block"
      },
      "tracked_token": {
       "type": "string",
       "title": "Tracked Token"
      },
      "blocks_scanned": {
       "type": "integer",
       "title": "Blocks Scanned"
      },
      "volume_category": {
       "type": "string",
       "title": "Volume Category"
      },
      "valuation_source": {
       "type": "string",
       "title": "Valuation Source"
      },
      "total_whale_volume_usd": {
       "type": "number",
       "title": "Total Whale Volume Usd"
      },
      "total_whale_transactions": {
       "type": "integer",
       "title": "Total Whale Transactions"
      },
      "average_whale_tr
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "type": "string"
  },
  "timestamp": {
   "type": "string"
  },
  "whale_count": {
   "type": "integer"
  },
  "transactions": {
   "type": "array"
  },
  "total_whale_volume_usd": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basewhale-oracle-x402-756c6f59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basewhale-x402.vercel.app](https://www.zero.xyz/host/basewhale-x402.vercel.app/llms.txt)
