# Stride20k ERC-20 Token Risk Scorer

> Stride20k ERC-20 Token Risk Scorer is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Returns a composite risk score and on-chain signals for an ERC-20 token at a given chain and contract address

## Facts

- Endpoint: GET https://gateway.stride20k.com/risk/token/%7Bchain%7D/%7Baddress%7D
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stride20k-erc-20-token-risk-scorer-11cf23ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KkXp8abMyguTVPPOi3z1f

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 stride20k-erc-20-token-risk-scorer-11cf23ed
```

Example prompt: Can you score the risk of the USDC token at contract address 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on the Base chain — I want to see the risk score, any flags, whether the source is verified, and how confident the price data is?

## When to prefer this

Choose this endpoint when you need a fast, normalized on-chain risk assessment for a specific ERC-20 token contract before executing a swap, listing, or investment — especially when you want a composite score combining bytecode analysis, source verification, price confidence, and contract age in a single pay-per-call call with no API key setup. Prefer this over raw Etherscan or DefiLlama calls when you want a pre-aggregated risk signal rather than raw data.

## Known failure modes

- Invalid or malformed contract address returns an error response
- Unsupported chain identifier causes a 400-level error
- Contract not found on-chain may return empty signals or reduced score confidence
- Etherscan source verification unavailable for some chains, leaving sourceVerified null
- Price data may be missing for very new or illiquid tokens, lowering priceConfidence
- Payment failure via x402 (insufficient USDC) blocks the request before execution

## How this service works

Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.

## Output

A JSON object containing: ok status, a numeric risk score (0–100, higher = safer), an array of risk flags (e.g. 'age-unknown'), and a signals block with symbol, decimals, USD price, price confidence, total supply, code presence, source verification status, contract age in days, and the list of checks performed. Also includes metadata about cache status, data sources, and fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "chain": "base",
   "flags": [
    "age-unknown"
   ],
   "score": 90,
   "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
   "signals": {
    "symbol": "USDC",
    "decimals": 6,
    "priceUsd": 0.9999,
    "codePresent": true,
    "totalSupply": "4278248104328312",
    "sourceVerified": true,
    "checksPerformed": [
     "onchain-bytecode",
     "onchain-erc20-metadata",
     "defillama-price",
     "etherscan-source-verification",
     "contract-age"
    ],
    "contractAgeDays": null,
    "priceConfidence": 0.99
   }
  },
  "meta": {
   "cached": false,
   "source": "on-chain + defillama + etherscan (optional)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/risk/token/:chain/:address"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stride20k-erc-20-token-risk-scorer-11cf23ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
