# Fetchgate Token Risk Check

> Fetchgate Token Risk Check is a paid API for AI agents from fetchgate.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Checks a Base network token contract address for risk signals (ERC-20 metadata, upgradeable proxy, mint/pause/blacklist/fee traps, DEX liquidity) and returns an ok/caution/avoid verdict with reasons.

## Facts

- Endpoint: GET https://fetchgate.dev/v1/token/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fetchgate-token-risk-check-24564f43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HFt7HHs7a9wLce5FzaVN9

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 fetchgate-token-risk-check-24564f43
```

Example prompt: Before I swap into this token, can you run a risk check on the Base contract at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed and tell me if it's ok, caution, or avoid — and why?

## When to prefer this

Use this endpoint when an AI agent is about to execute or recommend a token swap on Base and needs a fast, deterministic, no-LLM safety gate. Ideal for DeFi automation workflows where you want to block honeypots, rug pulls, or high-risk contracts before committing funds. Prefer this over general-purpose blockchain explorers when you specifically need an opinionated ok/caution/avoid verdict with actionable reasons rather than raw contract data.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Contract not deployed on Base network
- Address is an EOA, not a contract
- RPC timeout reading on-chain data
- Token has no DEX liquidity pools (may return caution with zero-liquidity reason)
- Malformed address format (non-checksummed or wrong length)

## How this service works

Base token risk check before a swap: send a token contract address, get ok / caution / avoid with reasons. Reads the contract (ERC-20 metadata, owner, upgradeable proxy, mint / pause / blacklist / fee selectors in bytecode) and its DEX liquidity (Uniswap + Aerodrome pools, read on-chain). Deterministic, no LLM.

## Output

Returns a risk verdict of 'ok', 'caution', or 'avoid' along with structured reasons explaining the finding — covering ERC-20 metadata, whether the contract is an upgradeable proxy, presence of mint/pause/blacklist/fee bytecode selectors, and on-chain DEX pool liquidity from Uniswap and Aerodrome on Base.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "The token contract address on Base."
      }
     }
    }
   },
   "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/fetchgate-token-risk-check-24564f43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fetchgate.dev](https://www.zero.xyz/host/fetchgate.dev/llms.txt)
