# BlockchainSecurity Address Classify via x402 Preflight

> BlockchainSecurity Address Classify via x402 Preflight is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Classifies one or more blockchain addresses (Ethereum, Tron, or Bitcoin) by type and risk profile via the BlockchainSecurity Atlantis upstream service, accessed through an x402 micropayment gateway.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/address-classify
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchainsecurity-address-classify-via-x402-preflight-405ab778
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QhPPl6Vpt5bXRIUrggjr8

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 blockchainsecurity-address-classify-via-x402-preflight-405ab778
```

Example prompt: Can you classify these Ethereum addresses for me and tell me what type and risk category each one falls into: 0xAbC123..., 0xDeF456...?

## When to prefer this

Use this endpoint when you need fast, per-address blockchain classification or AML risk screening across Ethereum, Tron, or Bitcoin, and are operating in an x402 micropayment environment. It is particularly well-suited for compliance workflows, agent-driven payment pre-screening, or any scenario requiring on-demand, pay-per-call address intelligence without a subscription. Prefer it over batch analytics platforms when you need low-latency, single-call results for up to 100 addresses at a time.

## Known failure modes

- Invalid or malformed address format returns a validation error
- Unsupported blockchain slug (anything other than ethereum, tron, bitcoin) results in rejection
- More than 100 addresses in a single request exceeds the limit and may be rejected
- Missing 'addresses' query parameter causes a required-field error
- Upstream BlockchainSecurity Atlantis service downtime results in a proxy error
- x402 payment failure (insufficient USDC or wallet issues) blocks the request before it reaches the classifier

## 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 name ('bcs-address-classify'), the upstream service identifier ('blockchainsecurity-atlantis'), upstream response headers (request ID, credit cost, credit remaining), and a nested upstream_response with 'data' (address classification results) and 'meta' (request ID). The actual classification data is inside upstream_response.data.

## 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": [
      "addresses"
     ],
     "properties": {
      "addresses": {
       "type": "string",
       "pattern": "^[A-Za-z0-9,:._-]{3,4000}$",
       "description": "Comma-separated addresses to classify, up to 100."
      },
      "blockchain": {
       "type": "string",
       "pattern": "^(?:ethereum|tron|bitcoin)$",
       "description": "BlockchainSecurity chain slug. Defaults upstream to tron when omitted."
      }
     }
    }
   },
   "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-address-classify",
  "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/blockchainsecurity-address-classify-via-x402-preflight-405ab778/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)
