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

# Scan dApp

> Analyze a dApp domain for security threats, phishing attempts, and suspicious patterns.

Optionally runs AI + web intelligence to classify risk and provide explanations and tags.


## OpenAPI

````yaml POST /v1/wallet/dapp
openapi: 3.0.3
info:
  title: NovaShield Security Engine
  description: >-
    Enterprise-grade security scanning API for Solana. Analyze transactions,
    tokens, addresses, and dApps before user interaction.
  version: 3.0.0
  contact:
    name: NovaShield
    url: https://nshield.org
servers:
  - url: https://api.novashield.so
    description: Production
  - url: https://sapi.novashield.so
    description: Staging
security: []
tags:
  - name: Security Scanning
    description: >-
      Core security scanning endpoints for transactions, tokens, addresses, and
      dApps
paths:
  /v1/wallet/dapp:
    post:
      tags:
        - Security Scanning
      summary: Scan dApp (wallet)
      description: >-
        Scan dApp domain for security threats, phishing attempts, and suspicious
        patterns.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScanDappRequest'
      responses:
        '200':
          description: dApp analysis complete
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanDappResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    ScanDappRequest:
      type: object
      required:
        - domain
      properties:
        domain:
          type: string
          description: dApp domain to analyze
          example: app.raydium.io
        ai_analyzed:
          type: boolean
          description: 'Whether to run AI + web search analysis (default: true)'
          example: true
    ScanDappResponse:
      type: object
      properties:
        domain:
          type: string
        verdict:
          type: string
          enum:
            - safe
            - suspicious
            - malicious
            - unknown
        score:
          type: number
          minimum: 0
          maximum: 1
        tags:
          type: array
          items:
            type: string
        explanations:
          type: array
          items:
            type: string
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: INVALID_REQUEST
            message:
              type: string
              example: Invalid request parameters
            details:
              type: string
        timestamp:
          type: string
          format: date-time
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````