TNT House Token Risk API

The Token Risk API from TNT House — 4 operation(s) for token risk.

GitHub OpenAPI

Operations 4

GET /api/v1/token-risk Check a Solana token's safety score and insider clusters #
GET /api/v1/token-risk/x402 Check a Solana token's safety score and insider clusters — pay-per-call via… #
POST /api/v1/token-risk/batch Check up to 25 Solana tokens in a single call #
GET /api/v1/token-risk/history Hourly safety-score and market history for a mint #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tnt-audit-com:tnt-audit-com-token-risk-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tnt-audit-com-token-risk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TNT House Risk-Data Token Risk API
  description: 'Real-time Solana token safety scores, on-chain-provable insider cluster detection, and market fundamentals — built for AI trading agents. Free tier: 15 requests/day, no card required. No signup at all: 5 free anonymous calls/day via the MCP server at https://www.tnt-audit.com/api/mcp, or 3 trial checks via /api/v1/trial/check. x402 pay-per-call: $0.02 USDC, no key. See https://www.tnt-audit.com/risk-api for pricing and to get a key.'
  version: 1.15.0
  contact:
    url: https://www.tnt-audit.com/risk-api
    email: menantonio83@gmail.com
servers:
- url: https://www.tnt-audit.com
tags:
- name: Token Risk
paths:
  /api/v1/token-risk:
    get:
      summary: Check a Solana token's safety score and insider clusters
      description: 'Returns a 0-100 safety score, insider funding clusters, holder distribution, mint/freeze authority status, and live market data for any Solana token mint address. The first-ever check on a given mint returns cluster_analysis: "pending" while insider detection runs in the background — re-check the same mint shortly after for the full result.'
      operationId: getTokenRisk
      parameters:
      - name: mint
        in: query
        required: true
        description: The Solana token mint address to analyze. `ca` is accepted as an alias for the same parameter.
        schema:
          type: string
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
      responses:
        '200':
          description: Token risk analysis. Successful responses also include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset headers, and X-Credit-Balance-Usd once the key has a paid tier or credit balance.
          content:
            application/json:
              schema:
                type: object
                properties:
                  mint:
                    type: string
                  safety_score:
                    type: integer
                    minimum: 0
                    maximum: 100
                    description: Weighted from mint/freeze authority status, holder concentration, liquidity, volume, and real insider-cluster penalties.
                  cluster_analysis:
                    type: string
                    enum:
                    - pending
                    - complete
                    description: '"pending" on a mint''s first-ever check while the insider trace runs in the background; "complete" once the trace finishes.'
                  insider_clusters:
                    type: array
                    description: Wallets that share a first-funder — an on-chain-provable insider/sniper signal.
                    items:
                      type: object
                      properties:
                        funder:
                          type: string
                        wallets:
                          type: array
                          items:
                            type: string
                  mint_authority:
                    type: object
                    properties:
                      revoked:
                        type: boolean
                      address:
                        type:
                        - string
                        - 'null'
                  freeze_authority:
                    type: object
                    properties:
                      revoked:
                        type: boolean
                      address:
                        type:
                        - string
                        - 'null'
                  honeypot_risk:
                    type:
                    - boolean
                    - 'null'
                    description: true = RugCheck flagged a honeypot-shaped risk, false = checked and clear, null = could not be checked (RugCheck timeout/failure) — never a false-clean default.
                  lp_locked:
                    type:
                    - object
                    - 'null'
                    properties:
                      locked:
                        type: boolean
                      percent:
                        type: number
                        description: 0-100, averaged across markets RugCheck reported for this mint.
                    description: null = could not be checked (RugCheck timeout/failure, or no market data reported for this mint at all).
                  holder_distribution:
                    type: object
                    properties:
                      risk_level:
                        type: string
                        enum:
                        - LOW
                        - MEDIUM
                        - HIGH
                        - CRITICAL
                        - ERROR
                      largest_holder_percent:
                        type: number
                      top10_percent:
                        type: number
                      holder_count:
                        type: integer
                        description: Number of accounts in Solana's top-20-largest-holders response — a real RPC limit, not a full holder count for widely-held tokens.
                  market:
                    type: object
                    properties:
                      price_usd:
                        type:
                        - number
                        - 'null'
                      liquidity_usd:
                        type:
                        - number
                        - 'null'
                      volume_24h_usd:
                        type:
                        - number
                        - 'null'
                      price_change_24h_percent:
                        type:
                        - number
                        - 'null'
                      age_days:
                        type:
                        - number
                        - 'null'
                  note:
                    type: string
                    description: Present only when honeypot_risk/lp_locked genuinely could not be checked for this mint.
                  checked_at:
                    type: string
                    format: date-time
                required:
                - mint
                - safety_score
                - cluster_analysis
                - insider_clusters
                - mint_authority
                - freeze_authority
                - holder_distribution
                - market
                - checked_at
              example:
                mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                safety_score: 78
                cluster_analysis: complete
                insider_clusters:
                - funder: 9xQe...k2Pd
                  wallets:
                  - 7uF3...aZ1
                  - 3mN8...qR2
                mint_authority:
                  revoked: true
                  address: null
                freeze_authority:
                  revoked: true
                  address: null
                honeypot_risk: false
                lp_locked:
                  locked: true
                  percent: 100
                holder_distribution:
                  risk_level: LOW
                  largest_holder_percent: 4.2
                  top10_percent: 22.7
                  holder_count: 20
                market:
                  price_usd: 4.12e-05
                  liquidity_usd: 84210
                  volume_24h_usd: 512300
                  price_change_24h_percent: 12.4
                  age_days: 3
                checked_at: '2026-07-18T12:00:00.000Z'
        '400':
          description: Missing or invalid `mint` parameter.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '401':
          description: Missing, malformed, or revoked API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '402':
          description: Daily free-tier limit or monthly subscription quota reached, with no call-credit balance to draw from. Response includes an upgrade_url.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  limit:
                    type: integer
                  used:
                    type: integer
                  reset_at:
                    type: string
                    format: date-time
                  overage_rate_usd:
                    type: number
                  upgrade_url:
                    type: string
        '429':
          description: Rate limited.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '502':
          description: Could not fetch on-chain mint data (invalid mint, or the Solana RPC didn't respond in time).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: string
      security:
      - BearerAuth: []
      tags:
      - Token Risk
  /api/v1/token-risk/x402:
    get:
      summary: Check a Solana token's safety score and insider clusters — pay-per-call via…
      description: Identical response payload to /api/v1/token-risk, but authenticated via the x402 protocol (HTTP 402 Payment Required) instead of a Bearer API key. Built for autonomous AI agents that pay per-request in USDC on Solana rather than registering for a key up front. First call without a payment proof returns 402 with the price and payTo address; retry with a valid X-PAYMENT or PAYMENT-SIGNATURE header to receive the data.
      operationId: getTokenRiskX402
      parameters:
      - name: mint
        in: query
        required: true
        description: 'The Solana token mint address to analyze. `ca` is accepted as an alias for the same parameter. Note: this parameter is only validated AFTER a valid payment is verified — an unpaid request always receives 402 regardless of whether mint is present.'
        schema:
          type: string
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
      x-payment-info:
        protocols:
        - scheme: exact
          network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
          asset: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
        pricing:
          mode: fixed
          price:
            amount: 0.02
            currency: USD
      responses:
        '200':
          description: Token risk analysis. Identical schema to the 200 response of /api/v1/token-risk.
          content:
            application/json:
              example:
                mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                safety_score: 78
                cluster_analysis: complete
                insider_clusters:
                - funder: 9xQe...k2Pd
                  wallets:
                  - 7uF3...aZ1
                  - 3mN8...qR2
                mint_authority:
                  revoked: true
                  address: null
                freeze_authority:
                  revoked: true
                  address: null
                honeypot_risk: false
                lp_locked:
                  locked: true
                  percent: 100
                holder_distribution:
                  risk_level: LOW
                  largest_holder_percent: 4.2
                  top10_percent: 22.7
                  holder_count: 20
                market:
                  price_usd: 4.12e-05
                  liquidity_usd: 84210
                  volume_24h_usd: 512300
                  price_change_24h_percent: 12.4
                  age_days: 3
                checked_at: '2026-07-18T12:00:00.000Z'
        '400':
          description: Missing or invalid `mint` parameter (only returned after a valid payment).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '402':
          description: x402 payment required (no payment proof sent), or the sent payment failed verification/settlement. Body follows the x402 v2 PaymentRequired schema; the same object is also base64-encoded in the PAYMENT-REQUIRED response header per the x402 v2 HTTP transport spec.
          content:
            application/json:
              schema:
                type: object
                properties:
                  x402Version:
                    type: integer
                    enum:
                    - 2
                  error:
                    type: string
                  resource:
                    type: object
                    properties:
                      url:
                        type: string
                      description:
                        type: string
                      mimeType:
                        type: string
                  accepts:
                    type: array
                    items:
                      type: object
                      properties:
                        scheme:
                          type: string
                          enum:
                          - exact
                        network:
                          type: string
                          description: CAIP-2 network identifier.
                        amount:
                          type: string
                          description: Price in USDC atomic units (6 decimals).
                        asset:
                          type: string
                        payTo:
                          type: string
                        maxTimeoutSeconds:
                          type: integer
                        extra:
                          type: object
              example:
                x402Version: 2
                error: Payment required
                resource:
                  url: https://www.tnt-audit.com/api/v1/token-risk/x402
                  description: TNT House Risk-Data API — single token risk score lookup
                  mimeType: application/json
                accepts:
                - scheme: exact
                  network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
                  amount: '70000'
                  asset: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                  payTo: 9p5hBDTrFRzyW4VhKMaq96XCtWkRPA9ZaSTnsM9qvtEE
                  maxTimeoutSeconds: 60
                  extra:
                    name: USDC
                    version: '2'
        '502':
          description: Could not fetch on-chain mint data (invalid mint, or the Solana RPC didn't respond in time). No settlement occurs on this path — the agent is not charged.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: string
      security: []
      tags:
      - Token Risk
  /api/v1/token-risk/batch:
    post:
      summary: Check up to 25 Solana tokens in a single call
      description: 'Batched version of /api/v1/token-risk. All mints are fetched concurrently, so total latency is close to the single slowest mint, not the sum. Billing: N mints = N calls charged against your quota/credit balance -- no bulk discount. All-or-nothing rate limiting: if the batch can''t be fully covered by remaining quota, the whole batch is rejected with a single 402 rather than partially processed.'
      operationId: getTokenRiskBatch
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - mints
              properties:
                mints:
                  type: array
                  description: 1-25 Solana mint addresses.
                  minItems: 1
                  maxItems: 25
                  items:
                    type: string
      responses:
        '200':
          description: Per-mint results. A failed individual mint (bad address, upstream error) does not fail the whole batch -- check each result's `ok` field.
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        ok:
                          type: boolean
                        mint:
                          type: string
                        safety_score:
                          type: integer
                          minimum: 0
                          maximum: 100
                        cluster_analysis:
                          type: string
                          enum:
                          - pending
                          - complete
                        insider_clusters:
                          type: array
                          items:
                            type: object
                            properties:
                              funder:
                                type: string
                              wallets:
                                type: array
                                items:
                                  type: string
                        mint_authority:
                          type: object
                          properties:
                            revoked:
                              type: boolean
                            address:
                              type:
                              - string
                              - 'null'
                        freeze_authority:
                          type: object
                          properties:
                            revoked:
                              type: boolean
                            address:
                              type:
                              - string
                              - 'null'
                        honeypot_risk:
                          type: boolean
                        lp_locked:
                          type: boolean
                        rugged:
                          type: boolean
                        vesting_locks:
                          type: array
                          description: On-chain-detected Streamflow vesting/lock contracts among top holders, so a long-term-locked whale isn't scored the same as a freely-tradable one.
                          items:
                            type: object
                        market:
                          type: object
                          description: Live price, liquidity, and volume from DexScreener.
                        checked_at:
                          type: string
                          format: date-time
                  batch_size:
                    type: integer
                  charged_calls:
                    type: integer
        '402':
          description: Batch rejected -- remaining quota/credit balance can't cover all N mints in this batch.
      tags:
      - Token Risk
  /api/v1/token-risk/history:
    get:
      summary: Hourly safety-score and market history for a mint
      description: Pure read from TNT House's own database -- no live Solana RPC or DexScreener call, so it does NOT count against your metered call quota (still requires a valid API key to prevent unauthenticated scraping). Points only exist from the moment someone first checks a mint via /api/v1/token-risk or /api/v1/token-risk/batch; there is no historical backfill.
      operationId: getTokenRiskHistory
      security:
      - BearerAuth: []
      parameters:
      - name: mint
        in: query
        required: true
        schema:
          type: string
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
      - name: days
        in: query
        required: false
        description: Lookback window. Default 30, max 90 (matches the retention window).
        schema:
          type: integer
          minimum: 1
          maximum: 90
          default: 30
      responses:
        '200':
          description: Hourly time-series points for the mint.
          content:
            application/json:
              schema:
                type: object
                properties:
                  mint:
                    type: string
                  days_requested:
                    type: integer
                  points:
                    type: array
                    items:
                      type: object
                      properties:
                        hour:
                          type: string
                          format: date-time
                        safety_score:
                          type: integer
                        insider_cluster_count:
                          type: integer
                        holder_count:
                          type: integer
                        top10_percent:
                          type: number
                        price_usd:
                          type: number
                        liquidity_usd:
                          type: number
                        volume_24h_usd:
                          type: number
                        price_change_24h_percent:
                          type: number
      tags:
      - Token Risk
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key from https://www.tnt-audit.com/risk-api, sent as: Authorization: Bearer tnt_sk_...'