# xx402 Base Token Due Diligence API

> xx402 Base Token Due Diligence API is a paid API for AI agents from x402.xx402.icu, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Returns comprehensive on-chain due diligence data for a Base ERC20 token including risk scores, liquidity analysis, holder sketch, DeFi flow, and a buy/avoid decision verdict.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-token-diligence?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xx402-base-token-due-diligence-api-39568414
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mNAGgQOiscKhDjvXXA0mj

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 xx402-base-token-due-diligence-api-39568414
```

Example prompt: Run a full due diligence check on the Base token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — look at the last 1000 blocks and return up to 8 liquidity pairs, and tell me whether I should buy, review, or avoid it.

## When to prefer this

Choose this endpoint when you need comprehensive on-chain due diligence on a specific Base ERC20 token before trading, investing, or providing liquidity — especially when you want a structured verdict (buy/review/avoid) backed by contract risk, liquidity, holder, and flow evidence. Prefer this over generic block explorers or price APIs when the goal is autonomous agent risk decision-making on Base chain tokens.

## Known failure modes

- Invalid token address format (must match 0x + 40 hex chars) returns validation error
- window_blocks out of range (below 100 or above 5000) returns parameter error
- limit out of range (below 1 or above 10) returns parameter error
- Token contract not found or not deployed on Base returns empty or error response
- Payment not processed (x402 payment required) returns 402 status
- Upstream RPC or data source unavailable returns partial or error response

## How this service works

Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.

## Output

A JSON object containing a diligence decision verdict (buy/review/avoid), structured risk breakdown, liquidity pair data, on-chain transfer flow analysis, holder sketch, contract risk indicators, DeFi exposure plan, priority/review/avoid queues, agent buy ticket, token evidence matrix, and source status — all grounded in recent on-chain data from the Base network.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "purchase_acceptance",
  "buyer_next_action",
  "next_paid_call",
  "decision_evidence",
  "repeat_purchase_guard",
  "diligence_decision",
  "token_listing_ticket",
  "agent_buy_ticket",
  "token_evidence_matrix",
  "initial_exposure_plan",
  "follow_up_purchase_router",
  "token_diligence_verdict",
  "token_due_diligence_checklist",
  "priority_queue",
  "best_next_products",
  "risk_breakdown",
  "review_queue",
  "avoid_queue",
  "metadata",
  "contract",
  "liquidity",
  "flow",
  "holder_sketch",
  "contract_risk",
  "bucket_counts",
  "risk",
  "source_status",
  "sources",
  "not_financial_advice"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-token-due-diligence-api-39568414/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.xx402.icu](https://www.zero.xyz/host/x402.xx402.icu/llms.txt)
