# Mossgate Token Risk Verdict

> Mossgate Token Risk Verdict is a paid API for AI agents from api.mossgate.dev, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Returns a risk verdict (ok/caution/danger) for an ERC-20 token on Base, including liquidity, pair age, 24h volume, contract ownership, and risk flags.

## Facts

- Endpoint: GET https://api.mossgate.dev/v1/token/verdict
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mossgate-token-risk-verdict-c8562465
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R4YoLKmy8y5eRBEebR4Kv

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 mossgate-token-risk-verdict-c8562465
```

Example prompt: Before you buy, can you run a risk check on the token at 0x4200000000000000000000000000000000000006 on Base and tell me whether it's ok, caution, or danger — including its liquidity, pair age, and any red flags?

## When to prefer this

Use this endpoint when an AI agent needs to make a buy/trade decision on an ERC-20 token on Base and requires a fast, structured risk signal before executing. It is purpose-built for agentic pre-trade screening, returning a simple ok/caution/danger verdict alongside the key DeFi risk metrics (liquidity, pair age, volume, ownership flags) rather than requiring the agent to aggregate multiple data sources. Prefer this over general blockchain explorers or on-chain queries when you need a pre-computed, opinionated risk verdict in a single call.

## Known failure modes

- Invalid or malformed token address returns a 400 error
- Token not found on Base DEXes returns no data or a caution verdict
- Non-Base chain specified returns a validation error (only 'base' is supported)
- Newly deployed token with no pair data may return incomplete metrics
- Payment failure (x402) if USDC balance is insufficient
- Rate limiting or service downtime returns 5xx errors

## How this service works

risk verdict for an erc-20 on base. call before an agent buys/trades a token. returns ok|caution|danger with liquidity, pair age, 24h volume, contract owner/renounce and flags. query: address (required), chain=base.

## Output

A JSON object containing: verdict (ok, caution, or danger), a numeric risk score, liquidity in USD, pair age in days, 24h trading volume in USD, a list of risk flags (e.g. low liquidity, new pair, unrenounced ownership), and a checked_at timestamp.

## 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"
       ],
       "type": "string",
       "default": "base",
       "description": "chain, base only"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "0x + 40 hex address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "flags": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "score": {
       "type": "number"
      },
      "verdict": {
       "enum": [
        "ok",
        "caution",
        "danger"
       ],
       "type": "string"
      },
      "checked_at": {
       "type": "string"
      },
      "liquidity_usd": {
       "type": "number"
      },
      "pair_age_days": {
       "type": "number"
      },
      "volume_24h_usd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mossgate-token-risk-verdict-c8562465/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mossgate.dev](https://www.zero.xyz/host/api.mossgate.dev/llms.txt)
