# x402 Agent Hub Token Audit

> x402 Agent Hub Token Audit is a paid API for AI agents from x402-agent-hub.x402-agent-hub.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Audits a crypto token's smart contract safety, taxes, liquidity, and scam risk across 8 major blockchains with a live simulated buy/sell round trip

## Facts

- Endpoint: POST https://x402-agent-hub.x402-agent-hub.workers.dev/v1/crypto/token-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-hub-token-audit-86018d1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lmQR5Zq3ZdVSTRlufHuHZ

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-agent-hub-token-audit-86018d1b -d '<json body>'
```

Example prompt: Before I buy, can you do a full rug/honeypot audit on the token at 0x940181a94A35A4569E4529A3CDfB74e38FD98631 on Base with a $2000 intended trade size — I want to know the safety score, any risk flags, and whether the buy/sell round trip actually works?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-dimensional token safety audit — including live simulated trade execution, DEX liquidity depth, slippage estimation, and contract bytecode analysis — across 8 chains in a single call. It is especially useful when you need to verify sellability (not just buy-side risk) before committing capital, or when you need AMM price impact estimates for a specific USD trade size. Prefer this over simple static contract scanners when live market conditions (liquidity, slippage, real taxes) matter to the decision.

## Known failure modes

- Invalid or non-existent token contract address returns an error or low confidence result
- Token on unsupported chain returns validation error
- Unverified or minimal-bytecode contracts may produce incomplete audit results
- Extremely low liquidity tokens may fail the simulated round-trip
- Rate limiting or payment failure (x402 protocol) returns 402 status
- Newly deployed contracts with no trades may lack tax simulation data

## How this service works

Institutional Onchain Token Rug, Honeypot, Tax & DEX Liquidity Execution Audit across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, and Solana. Evaluates contract bytecode flags, buy/sell transfer taxes, hidden ownership, whale concentration, LP locks, live DEX liquidity depth, and AMM slippage impact for an intended USD trade size, plus a live simulated buy -> sell round trip (measured taxes + sellability) on Base, Ethereum, BSC, Arbitrum, Optimism, and Polygon.

## Output

Returns a JSON object with an ok flag, the chain, a verdict string (e.g. SAFE_TO_TRADE, HIGH_RISK, HONEYPOT), an array of specific risk flags, a numeric safety score (0-100), and the token symbol. Underlying detail may include buy/sell tax percentages, ownership flags, LP lock status, liquidity depth, and simulated round-trip trade results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "arbitrum",
    "optimism",
    "polygon",
    "bsc",
    "avalanche",
    "solana"
   ],
   "type": "string",
   "description": "Target blockchain (defaults to 'base' for 0x addresses or 'solana' for Base58)"
  },
  "tokenAddress": {
   "type": "string",
   "description": "0x-prefixed EVM token contract address or Base58 Solana mint address"
  },
  "intendedOrderUsd": {
   "type": "number",
   "description": "Intended swap size in USD to estimate AMM pool price impact (default 1000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": "base",
  "verdict": "SAFE_TO_TRADE",
  "riskFlags": [],
  "safetyScore": 95,
  "tokenSymbol": "AERO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-hub-token-audit-86018d1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-hub.x402-agent-hub.workers.dev](https://www.zero.xyz/host/x402-agent-hub.x402-agent-hub.workers.dev/llms.txt)
