# Proofwork Base Token Snapshot

> Proofwork Base Token Snapshot is a paid API for AI agents from proofwork-the402-webhook.phase-voice.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns a real-time price snapshot and evidence links for any ERC-20 token on Base mainnet, including USD price, symbol, and verifiable source URLs.

## Facts

- Endpoint: GET https://proofwork-the402-webhook.phase-voice.workers.dev/v1/base-token-snapshot
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/proofwork-base-token-snapshot-a1dd9b5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yPoYRqepdDTOcZxcMJLNE

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 proofwork-base-token-snapshot-a1dd9b5a
```

Example prompt: Can you get me a current price snapshot for the WETH token at contract address 0x4200000000000000000000000000000000000006 on Base mainnet, with verifiable evidence links?

## When to prefer this

Choose this endpoint when you need a verifiable, evidence-backed price snapshot for a specific ERC-20 token on Base mainnet and want source URLs included for auditability. Prefer it over generic price APIs when you need provenance evidence or are building on the Base ecosystem specifically. It costs $0.01 USDC per call via x402, making it suitable for low-frequency lookups or per-transaction checks rather than high-frequency streaming.

## Known failure modes

- Invalid or malformed token address (not matching 0x + 40 hex chars) returns a validation error
- Token not listed on GeckoTerminal / no market data available returns an empty or error response
- Network or upstream GeckoTerminal API downtime causes a failed fetch
- Payment failure via x402 protocol blocks the request before execution

## How this service works

Small non-cyber evidence and data APIs payable per request with x402 on Base.

## Output

A JSON object containing the token's symbol, contract address, current USD price, network name ('Base Mainnet'), and an array of evidence URLs pointing to the underlying data sources (e.g. GeckoTerminal API).

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token_address"
     ],
     "properties": {
      "token_address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": {
   "symbol": "WETH",
   "address": "0x4200000000000000000000000000000000000006",
   "price_usd": 1876.82
  },
  "report": "base_token_snapshot",
  "network": "Base Mainnet",
  "evidence": [
   "https://api.geckoterminal.com/api/v2/networks/base/tokens/0x4200000000000000000000000000000000000006"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/proofwork-base-token-snapshot-a1dd9b5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proofwork-the402-webhook.phase-voice.workers.dev](https://www.zero.xyz/host/proofwork-the402-webhook.phase-voice.workers.dev/llms.txt)
