---
title: "Check token risk before a trade or swap"
method: GET
path: "/v1/token/risk"
tags: ["Token Risk", "x402", "Base", "Solana", "Pre-trade"]
---

# Check token risk before a trade or swap

`GET /v1/token/risk`

## Request

- Base URL: `https://api.bentcrypto.com`
- URL: `https://api.bentcrypto.com/v1/token/risk`
- Auth: none declared

Pre-trade token risk analysis for AI agents and automated trading systems. Scores Solana and Base tokens using on-chain and market evidence, including holder concentration, liquidity and authority/risk signals. Use before a swap, trade, listing, or portfolio action when an agent needs machine-readable token risk intelligence.

## Query parameters

- `chain` 'solana' | 'base'
- `address` string, required

## Response `200`

Token risk analysis result.

- object: Paid token-risk analysis result. Exact evidence fields depend on chain and provider coverage.
  - `success` boolean: Whether the analysis request completed successfully.
  - `chain` 'solana' | 'base': Blockchain analyzed.
  - `address` string: Token mint or contract address analyzed.
  - `risk` object: Risk assessment generated from available evidence.
    - `score` number: Normalized risk score when available.
    - `level` string: Machine-readable risk level when available.
  - `confidence` object: Evidence confidence and coverage information.
    - `coverage_percent` number: Percentage of expected evidence covered when available.
  - `metadata` object: Analysis provenance and execution metadata.

## Other responses

- `400`: Invalid chain or token address.
- `402`: x402 payment required. Decode the Payment-Required header, choose a supported requirement, sign locally, and retry the same request with Payment-Signature.
- `502`: Private analysis engine unavailable.
- `504`: Private analysis engine timed out.

---

[API](https://skmtc.dev/bentcrypto/apis/bentcrypto-agent-api.md) · [All operations](https://skmtc.dev/bentcrypto/apis/bentcrypto-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bentcrypto/apis/bentcrypto-agent-api/revisions/308f5114d934?raw)
