# Agent Payment Guard — BCS Token Registry Lookup

> Agent Payment Guard — BCS Token Registry Lookup is a paid API for AI agents from base-agent-preflight.bytoken2023.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Retrieves the BCS (Blockchain Security) token registry data to support x402-based AI agent payment risk scoring and compliance checks.

## Facts

- Endpoint: GET https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/bcs/registry
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-payment-guard-bcs-token-registry-lookup-44493be5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aCMTI7lIajjnrDk5Sou7L

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 agent-payment-guard-bcs-token-registry-lookup-44493be5
```

Example prompt: Can you check the BCS token registry to see if this token is listed and get its current metadata so I can verify it before approving the payment?

## When to prefer this

Use this endpoint when an AI agent needs to look up token registry data from the BlockchainSecurity Atlantis service as part of an x402 payment preflight or risk-scoring workflow, particularly when validating whether a specific token is recognized and safe to use in autonomous agent transactions.

## Known failure modes

- Registry unavailable — upstream blockchainsecurity-atlantis service is down, returns empty data object
- Invalid query parameters — malformed input schema returns error
- Payment failure — 0.005 USDC x402 payment not processed, request rejected
- Rate limiting — too many requests from agent wallet
- Empty registry response — no tokens match query criteria

## 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 with product identifier 'bcs-token-registry', upstream service name 'blockchainsecurity-atlantis', a request ID, and a data payload from the BCS registry containing token metadata and registry information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "product": "bcs-token-registry",
  "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/agent-payment-guard-bcs-token-registry-lookup-44493be5/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)
