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

# Solana Token Security

> Performs a comprehensive security assessment of a Solana token. The API analyzes mint authority, freeze authority, transfer restrictions, holder concentration, market liquidity, administrative privileges, and threat intelligence to determine the token's overall risk profile.

<Info>
  The Solana Token Security endpoint does not require a chain ID as it is dedicated only for the Solana network.
</Info>


## OpenAPI

````yaml POST /v2/hashdit/solana-token-security
openapi: 3.1.0
info:
  title: HashDit API
  description: >-
    HashDit threat intelligence API for domain security analysis, blockchain
    address classification, address poisoning detection, address security
    assessment, transaction simulation, transaction security, token security,
    and Solana token security
  version: 2.0.0
servers:
  - url: https://service.hashdit.io
security: []
paths:
  /v2/hashdit/solana-token-security:
    post:
      summary: Solana Token Security
      description: >-
        Performs a comprehensive security assessment of a Solana token. The API
        analyzes mint authority, freeze authority, transfer restrictions, holder
        concentration, market liquidity, administrative privileges, and threat
        intelligence to determine the token's overall risk profile.
      operationId: solanaTokenSecurity
      parameters:
        - name: X-API-KEY
          in: header
          description: Your HashDit API key
          required: true
          schema:
            type: string
      requestBody:
        description: Solana token mint address to analyze
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SolanaTokenSecurityRequest'
            example:
              address: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolanaTokenSecurityResponse'
              example:
                code: '0'
                status: ok
                data:
                  address: sol:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                  address_type: Solana
                  overall_risk_level: Low Risk
                  overall_score: 80
                  token_info:
                    name: USDC
                    symbol: USDC
                    decimals: 6
                    price: 1
                  mint_authority:
                    is_mintable: '1'
                    is_risky: '0'
                    authority_type: wallet
                  freeze_authority:
                    is_freezable: '1'
                    is_risky: '0'
                  holders_concentration:
                    total_holders: '5717115'
                    top1_concentration: '0.2231'
                    top5_concentration: '0.4445'
                    top10_concentration: '0.4908'
                  market_info:
                    has_market_info: '1'
                    total_pools: '10'
                    total_volume_24h: '1147949703.936499'
                  threat_intelligence:
                    risk_level: '0'
                    trust_level: '2'
                  scanned_time: 1765819025
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidAPIKeyErrorResponse'
components:
  schemas:
    SolanaTokenSecurityRequest:
      type: object
      required:
        - address
      properties:
        address:
          type: string
          description: Solana token mint address.
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
    SolanaTokenSecurityResponse:
      type: object
      properties:
        code:
          type: string
          description: API result code. "0" indicates success.
          example: '0'
        status:
          type: string
          description: Request status.
          example: ok
        data:
          $ref: '#/components/schemas/SolanaTokenSecurityData'
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: '`400`'
        status:
          type: string
          description: Error status
    InvalidAPIKeyErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: '`403`'
        message:
          type: string
          description: 'invalid apiKey: apiKey invalid'
        apiKey:
          type: string
          description: API key
          example: ''
    SolanaTokenSecurityData:
      type: object
      properties:
        address:
          type: string
          description: Fully qualified Solana token mint address.
          example: sol:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
        address_type:
          type: string
          description: Blockchain type (Solana).
          example: Solana
        overall_risk_level:
          type: string
          description: Overall risk classification.
          enum:
            - No Obvious Risk
            - Low Risk
            - Medium Risk
            - High Risk
            - Significant Risk
        overall_score:
          type: number
          description: Security score (0–100). Lower values indicate higher risk.
          minimum: 0
          maximum: 100
        token_info:
          $ref: '#/components/schemas/TokenInfo'
        mint_authority:
          $ref: '#/components/schemas/MintAuthority'
        freeze_authority:
          $ref: '#/components/schemas/FreezeAuthority'
        holders_concentration:
          $ref: '#/components/schemas/HoldersConcentration'
        market_info:
          $ref: '#/components/schemas/MarketInfo'
        threat_intelligence:
          $ref: '#/components/schemas/ThreatIntelligence'
        scanned_time:
          type: number
          description: Unix timestamp of the latest scan.
          example: 1765819025
    TokenInfo:
      type: object
      properties:
        name:
          type: string
          description: Token name.
          example: USDC
        symbol:
          type: string
          description: Token symbol.
          example: USDC
        decimals:
          type: number
          description: Token decimals.
          example: 6
        price:
          type: number
          description: Current token price in USD(if available).
          example: 1
    MintAuthority:
      type: object
      properties:
        is_mintable:
          type: string
          description: Determines whether new tokens can be minted.
          enum:
            - '0'
            - '1'
        is_risky:
          type: string
          description: Indicates if mint authority poses risks.
          enum:
            - '0'
            - '1'
        authority_type:
          type: string
          description: Type of mint authority.
          enum:
            - wallet
            - program
    FreezeAuthority:
      type: object
      properties:
        is_freezable:
          type: string
          description: Indicates whether token transfers can be frozen.
          enum:
            - '0'
            - '1'
        is_risky:
          type: string
          description: Indicates if freeze authority poses risks.
          enum:
            - '0'
            - '1'
    HoldersConcentration:
      type: object
      properties:
        total_holders:
          type: string
          description: Total number of token holders.
          example: '5717115'
        top1_concentration:
          type: string
          description: Percentage of supply held by top 1 holder. E.g. 0.2231 means 22.31%
          example: '0.2231'
        top5_concentration:
          type: string
          description: Percentage of supply held by top 5 holders. E.g. 0.4445 means 44.45%
          example: '0.4445'
        top10_concentration:
          type: string
          description: >-
            Percentage of supply held by top 10 holders. E.g. 0.4908 means
            49.08%
          example: '0.4908'
    MarketInfo:
      type: object
      properties:
        has_market_info:
          type: string
          description: Whether market information is available.
          enum:
            - '0'
            - '1'
        total_pools:
          type: string
          description: Total number of liquidity pools.
        total_volume_24h:
          type: string
          description: Total 24-hour trading volume in USD.
          example: '1147949703.936499'
    ThreatIntelligence:
      type: object
      properties:
        risk_level:
          type: string
          description: Threat intelligence risk score. 3 is the highest risk level.
          enum:
            - '0'
            - '1'
            - '2'
            - '3'
        trust_level:
          type: string
          description: Trust confidence level. 3 is the highest trust level.
          enum:
            - '0'
            - '1'
            - '2'
            - '3'

````