# x402 Agent Tools – Solana Token Risk Scorer

> x402 Agent Tools – Solana Token Risk Scorer is a paid API for AI agents from x402-agent-tools.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-01).

Returns a risk score, verdict, and detailed findings for a Solana SPL token given its mint address

## Facts

- Endpoint: GET https://x402-agent-tools.vercel.app/v1/solana/token-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-tools-solana-token-risk-scorer-adad2fff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GjdHwjX0hRVLJKJwPv6NT

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 x402-agent-tools-solana-token-risk-scorer-adad2fff
```

Example prompt: Can you check the risk level of the Solana token with mint address DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263? I want to know the score, verdict, and whether mint or freeze authority are still active.

## When to prefer this

Use this endpoint when you need a structured, machine-readable risk assessment of a specific Solana SPL token — particularly before executing a swap, investment, or DeFi interaction. It is ideal for AI agents that need to gate transactions on token safety without integrating a full blockchain security SDK. Prefer this over manual on-chain checks when you want a normalized risk score plus liquidity data in a single pay-per-call call with no API key setup.

## Known failure modes

- Invalid or malformed Base58 mint address returns an error response
- Token mint not found on Solana mainnet returns a not-found error
- Network or RPC issues may cause timeouts or partial data
- Payment failure (402) if USDC payment via x402 is not properly attached
- Very new or low-liquidity tokens may have incomplete liquidity data

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

A JSON object containing the token's mint address, program type (e.g. SPL Token), a summary with a numeric risk score and human-readable verdict (e.g. 'Moderate risk'), an array of specific findings each with text and severity level, token metadata (symbol, mutability), total liquidity in USD, and the current mint and freeze authority addresses (null if revoked).

## 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": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "description": "Base58 SPL token mint address on Solana mainnet"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mint": "DezX...B263",
  "program": "SPL Token",
  "summary": {
   "score": 2,
   "verdict": "Moderate risk",
   "findings": [
    {
     "text": "Mint authority is revoked.",
     "level": "ok"
    }
   ]
  },
  "metadata": {
   "symbol": "Bonk",
   "isMutable": true
  },
  "liquidity": {
   "totalLiquidityUsd": 1420846
  },
  "mintAuthority": null,
  "freezeAuthority": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-tools-solana-token-risk-scorer-adad2fff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tools.vercel.app](https://www.zero.xyz/host/x402-agent-tools.vercel.app/llms.txt)
