> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dexploit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Token risk score (glass-box)

> 0.0–10.0 rug-pull risk score with the full per-signal breakdown that produced it. Glass-box — every signal that fired is in `signals[]` with its `code`, `weight`, `value`, and `contribution`. You can re-compute the score yourself: `min(10, sum(s.contribution for s in signals) * 10 / 5000)`.

See [Risk Score algorithm](/concepts/risk-score) for the full signal taxonomy.



## OpenAPI

````yaml /api-reference/openapi.json get /tokens/{mint}/risk
openapi: 3.1.0
info:
  title: Dexploit API
  version: 1.0.0
  description: Real-time and historical Solana DEX swap and OHLCV data.
servers:
  - url: https://api.dexploit.dev
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
  - ApiKeyQuery: []
paths:
  /tokens/{mint}/risk:
    get:
      tags:
        - Tokens
      summary: Token risk score (glass-box)
      description: >-
        0.0–10.0 rug-pull risk score with the full per-signal breakdown that
        produced it. Glass-box — every signal that fired is in `signals[]` with
        its `code`, `weight`, `value`, and `contribution`. You can re-compute
        the score yourself: `min(10, sum(s.contribution for s in signals) * 10 /
        5000)`.


        See [Risk Score algorithm](/concepts/risk-score) for the full signal
        taxonomy.
      operationId: getTokenRisk
      parameters:
        - name: mint
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Risk score
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskResponse'
components:
  schemas:
    RiskResponse:
      type: object
      description: >-
        Glass-box token risk: a 0–10 score plus the per-signal breakdown that
        produced it. See [Risk Score algorithm](/concepts/risk-score) for the
        full signal taxonomy.
      properties:
        mint:
          type: string
        score:
          type:
            - number
            - 'null'
          description: 0.0–10.0; `null` when status is `no_data`.
        level:
          type:
            - string
            - 'null'
          enum:
            - safe
            - caution
            - warning
            - danger
            - null
        status:
          type: string
          enum:
            - ready
            - partial_data
            - no_data
        signals:
          type: array
          items:
            $ref: '#/components/schemas/RiskSignal'
          description: >-
            Only signals that triggered are included. To re-compute the score:
            `min(10, sum(signal.contribution) * 10 / 5000)`.
        raw_score:
          type: integer
        max_raw:
          type: integer
          description: 53500 — the sum of every signal's weight.
        computed_at:
          type: integer
        missing_signals:
          type: array
          items:
            type: string
          description: >-
            Codes of signals whose input data wasn't available yet (mint not
            fully onboarded).
    RiskSignal:
      type: object
      properties:
        code:
          type: string
          description: Stable identifier — see /concepts/risk-score.
        weight:
          type: integer
        value:
          description: Concrete measurement; shape varies per signal.
        triggered:
          type: boolean
        contribution:
          type: integer
          description: >-
            weight × graded_strength; equals `weight` for boolean signals,
            scaled for graded ones.
        label:
          type: string
          description: Human-readable description of what this signal observed.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Preferred for swaps-api endpoints (`/swaps/*`, `/stats/*`, `/trending`,
        `/pool-events`).
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every
        other endpoint. Send `Authorization: Bearer ohlcv_live_sk_<your_key>`.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: >-
        Browser-friendly alternative to the Bearer header — accepted by every
        endpoint and required for WebSocket from the browser.

````