# ERC-20 Token Risk Scorer

> ERC-20 Token Risk Scorer is a paid API for AI agents from freetier-agent-api.pages.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-21).

Returns a 0-100 risk score, AI verdict, risk level, evidence flags, tax info, holder concentration, owner status, and DEX liquidity for a single ERC-20 token on Base or Ethereum.

## Facts

- Endpoint: GET https://freetier-agent-api.pages.dev/api/token-score?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-token-risk-scorer-4e1bb9dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-lOtkyuBnB8kX4rZQrEyB

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 erc-20-token-risk-scorer-4e1bb9dd
```

Example prompt: Can you check the risk score for the token at 0x4ed4e862860bed51a9570b96d89af5e1b0efefed on Base — is it a honeypot, are there taxes, and is the liquidity locked?

## When to prefer this

Choose this endpoint when you need a fast, structured token security assessment combining on-chain contract analysis (mint, honeypot, taxes, ownership) with DEX liquidity data in a single call on Base or Ethereum. Prefer it over manual GoPlus or DexScreener lookups when you need a unified risk score and AI-readable verdict. Not suitable for NFTs, non-EVM chains, or financial advice workflows.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty flags
- Unsupported chain parameter falls back to Base default or returns an error
- GoPlus API unavailability may result in incomplete flag data
- Newly deployed tokens with no DEX pairs may have null liquidity fields
- Rate limits or payment failures return HTTP 402 or 429 responses

## How this service works

Token risk score: one ERC-20 token scored (0-100) with a short AI verdict (Workers AI rephrasing only the computed facts; rule-based fallback), risk level, evidence flags, taxes, holder concentration, owner status and DEX liquidity. Base or Ethereum. Data: GoPlus Security public API (contract flags, taxes, honeypot simulation, holders, LP lock) + DexScreener (pairs, liquidity, volume). Every flag names its source field. Not financial advice.

## Output

A JSON object containing the token's chain, address, symbol, numeric risk score (0-100), risk level (e.g. low/medium/high), a short AI-generated or rule-based verdict string, an array of evidence flags (each with id, label, category, severity, and source field), tax data, holder concentration details, owner status, and DEX liquidity figures.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "default base"
      },
      "address": {
       "type": "string",
       "description": "token contract address 0x..."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "flags": [
   {
    "id": "mintable",
    "label": "Supply can be minted (is_mintable=1)",
    "category": "owner",
    "severity": "medium"
   }
  ],
  "symbol": "DEGEN",
  "address": "0x4ed4e862860bed51a9570b96d89af5e1b0efefed",
  "verdict": "Low risk: no major red flags found in the checked data.",
  "riskLevel": "low",
  "riskScore": 16,
  "verdictMethod": "rules"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-token-risk-scorer-4e1bb9dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from freetier-agent-api.pages.dev](https://www.zero.xyz/host/freetier-agent-api.pages.dev/llms.txt)
