# x402 Finance Token Safety API

> x402 Finance Token Safety API is a paid API for AI agents from x402-paid-api.x402-finance.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Returns safety assessment data for a Base network token, paid via x402 V2 micropayments (USDC on Base).

## Facts

- Endpoint: GET https://x402-paid-api.x402-finance.workers.dev/api/token-safety
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-finance-token-safety-api-ea08d1f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qRneiWzO7xX55pcz5-Ht7

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 x402-finance-token-safety-api-ea08d1f8
```

Example prompt: Can you check the safety of the Base token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 before I swap into it?

## When to prefer this

Choose this endpoint when you need on-chain token safety data specifically for Base network tokens and are comfortable paying $0.04 USDC per call via x402 V2 micropayments. It is particularly useful for DeFi agents that need to screen tokens before swapping, investing, or recommending them to users.

## Known failure modes

- Invalid or unrecognized token contract address returns an error or empty data
- Payment failure via x402 micropayment protocol blocks the request
- Token not found on Base network returns unsuccessful response
- Rate limiting or worker timeout on high-traffic periods
- Non-Base chain addresses may not return valid results

## How this service works

Live crypto market data and Base token safety via x402 V2 micropayments (USDC on Base).

## Output

Returns a JSON object with a success boolean and a data object containing token safety information for the queried Base network token, including risk indicators, safety scores, and relevant contract metadata.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-finance-token-safety-api-ea08d1f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-paid-api.x402-finance.workers.dev](https://www.zero.xyz/host/x402-paid-api.x402-finance.workers.dev/llms.txt)
