# BCS Wallet Risk Bundle via x402 Preflight

> BCS Wallet Risk Bundle via x402 Preflight is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Fetches a blockchain wallet risk bundle for a given address, proxied through an x402-gated preflight layer that checks agent buyer eligibility before purchase.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/wallet-risk-bundle
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bcs-wallet-risk-bundle-via-x402-preflight-cd4841c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uTchjiRO6luazH-YWOs6O

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 bcs-wallet-risk-bundle-via-x402-preflight-cd4841c2
```

Example prompt: Can you pull the wallet risk bundle for address 0xABC123... on the Ethereum blockchain so I can check whether it's safe to transact with?

## When to prefer this

Choose this endpoint when an AI agent needs to perform a blockchain wallet risk assessment as part of an x402-gated purchase flow, particularly when buyer eligibility governance and wallet security scoring need to happen together before committing funds. Prefer it over direct blockchain security APIs when you are operating within the x402 payment ecosystem and need the preflight governance layer included.

## Known failure modes

- Missing required query params (blockchain or address) returns a 400 bad request
- Invalid address format (fails regex ^[A-Za-z0-9:_-]{3,128}$) causes validation error
- Unknown or unsupported blockchain identifier returns an error from upstream
- x402 payment not included or insufficient funds causes 402 Payment Required
- Upstream blockchainsecurity-atlantis service unavailable returns 502 or timeout
- Rate limiting or credit exhaustion on upstream returns credit_remaining: 0 signal

## How this service works

Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.

## Output

Returns a JSON object containing the product identifier ('bcs-wallet-risk-bundle'), upstream service name ('blockchainsecurity-atlantis'), response metadata including request ID, credit cost and credit remaining, and a nested upstream_response with a data object containing the wallet risk assessment and meta fields.

## 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": [
      "blockchain",
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:_-]{3,128}$"
      },
      "symbols": {
       "type": "string",
       "pattern": "^[A-Za-z0-9.,_-]{0,240}$"
      },
      "contracts": {
       "type": "string",
       "pattern": "^[A-Za-z0-9:.,_-]{0,800}$"
      },
      "blockchain": {
       "type": "string",
       "pattern": "^[a-z0-9_-]{2,32}$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "upstream_service",
      "upstream_response"
     ],
     "properties": {
      "product": {
       "type": "string"
      },
      "request": {
       "type": "object"
      },
      "provenance": {
       "type": "object"
      },
      "upstream_headers": {
       "type": "object"
      },
      "upstream_service": {
       "type": "string"
      },
      "upstream_response": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "product": "bcs-wallet-risk-bundle",
  "upstream_headers": {
   "request_id": "example-request-id",
   "credit_cost": null,
   "credit_remaining": null
  },
  "upstream_service": "blockchainsecurity-atlantis",
  "upstream_response": {
   "data": {},
   "meta": {
    "request_id": "example-request-id"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bcs-wallet-risk-bundle-via-x402-preflight-cd4841c2/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)
