# AsterPay ERC-20 Token Security Analyzer

> AsterPay ERC-20 Token Security Analyzer is a paid API for AI agents from x402.asterpay.io, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Performs a security analysis on any ERC-20 token contract by address, returning risk flags, holder data, liquidity, and a security score

## Facts

- Endpoint: GET https://x402.asterpay.io/v1/crypto/token-analysis/:address
- 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/asterpay-erc-20-token-security-analyzer-59cab5dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uUfxrDoGBmicUuTHpyMCG

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 asterpay-erc-20-token-security-analyzer-59cab5dd
```

Example prompt: Can you run a security analysis on the ERC-20 token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and tell me what risks were found and what the security score is?

## When to prefer this

Use this endpoint when you need a quick, structured security assessment of an ERC-20 token contract, including risk flags, holder data, liquidity, and a composite security score. Prefer this over generic blockchain explorers when you need a machine-readable risk summary rather than raw on-chain data, or when building automated DeFi due diligence workflows that require a normalized score.

## Known failure modes

- Invalid or malformed contract address returns an error
- Non-ERC-20 contract address may return incomplete or no data
- Token with extremely low activity may have insufficient data for scoring
- Network errors or upstream blockchain data unavailability may cause timeouts
- Payment failure (insufficient USDC balance) prevents access to the endpoint

## How this service works

Security analysis for any ERC-20 token contract

## Output

Returns the token's name and symbol, a security score (0-100), a list of identified risk factors (e.g. 'No audit found', 'Centralized ownership'), the number of holders, and liquidity in USD for the given contract address.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/asterpay-erc-20-token-security-analyzer-59cab5dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.asterpay.io](https://www.zero.xyz/host/x402.asterpay.io/llms.txt)
