# Public Wallet Risk Delta Dataset

> Public Wallet Risk Delta Dataset is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $99/call, status down (last checked 2026-09-15).

Downloads a batch of wallet address risk score changes (delta) in JSONL format, including risk labels, scores, and provenance metadata.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/address-risk/delta
- Price: $99/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-wallet-risk-delta-dataset-46f0190e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vFh2ghEtbsp7ObwOl2JwK

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 public-wallet-risk-delta-dataset-46f0190e
```

Example prompt: Can you download the latest public wallet risk delta batch — I need the JSONL file with all the changed risk scores, labels, and evidence for this week's batch?

## When to prefer this

Use this endpoint when you need a bulk, batch-oriented feed of wallet risk score changes rather than a single-address lookup. It is suited for compliance pipelines, AML monitoring systems, or data warehouses that need to sync risk intelligence periodically (weekly cadence). Prefer this over real-time single-address risk APIs when you need to process many addresses efficiently or maintain an up-to-date risk database offline.

## Known failure modes

- Invalid batch_key format (must match ^20[0-9]{2}-W[0-9]{2}$) returns 400
- Requested batch week not yet available returns 404 or empty dataset
- Payment not included or invalid USDC payment returns 402
- Rate limiting or worker timeout on large JSONL responses
- Batch key references a future week with no data yet

## How this service works

Pay-per-request identity, risk, authorization, execution-preflight and evidence APIs for autonomous agents.

## Output

A JSONL (newline-delimited JSON) file where each line represents a wallet address whose risk profile has changed, containing: chain identifier, address, risk label array, risk type, risk score, confidence score, source key, evidence URL, and batch metadata. The response is streamed as application/x-ndjson.

## 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": [],
     "properties": {
      "batch_key": {
       "type": "string",
       "pattern": "^20[0-9]{2}-W[0-9]{2}$",
       "description": "Batch key to download. Defaults to the latest available batch."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "hit": {
       "type": "boolean"
      },
      "chain": {
       "type": "string"
      },
      "labels": {
       "type": "array"
      },
      "address": {
       "type": "string"
      },
      "dataset": {
       "type": "object"
      },
      "product": {
       "type": "string"
      },
      "provenance": {
       "type": "object"
      },
      "risk_level": {
       "type": "string"
      },
      "risk_score": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "jsonl",
  "product": "public-wallet-risk-delta",
  "includes": "chain, address, label, risk_type, confidence, source_key, evidence_url, batch metadata",
  "content_type": "application/x-ndjson"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-wallet-risk-delta-dataset-46f0190e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-agent-preflight.bytoken2023.workers.dev](https://www.zero.xyz/host/base-agent-preflight.bytoken2023.workers.dev/llms.txt)
