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

# /alienvault_otx/files/analysis

> Get the AlienVault OTX malware analysis of a file by its hash

**Price:** 1 credit

**⚠️ Common errors:** 412: No analysis found for this hash



## OpenAPI

````yaml /openapi/domains-osint.json post /api/alienvault_otx/files/analysis
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/alienvault_otx/files/analysis:
    post:
      tags:
        - /alienvault_otx
      summary: /alienvault_otx/files/analysis
      description: |-
        Get the AlienVault OTX malware analysis of a file by its hash

        **Price:** 1 credit

        **⚠️ Common errors:** 412: No analysis found for this hash
      operationId: __api_alienvault_otx_files_analysis_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlienvaultOtxFilesAnalysisPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OtxFileAnalysis'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AlienvaultOtxFilesAnalysisPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        hash:
          type: string
          minLength: 1
      type: object
      required:
        - hash
    OtxFileAnalysis:
      properties:
        '@type':
          type: string
          default: OtxFileAnalysis
        hash:
          type: string
        md5:
          anyOf:
            - type: string
            - type: 'null'
        sha1:
          anyOf:
            - type: string
            - type: 'null'
        sha256:
          anyOf:
            - type: string
            - type: 'null'
        ssdeep:
          anyOf:
            - type: string
            - type: 'null'
        file_type:
          anyOf:
            - type: string
            - type: 'null'
        file_class:
          anyOf:
            - type: string
            - type: 'null'
        file_size:
          anyOf:
            - type: integer
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
        tlp:
          anyOf:
            - type: string
            - type: 'null'
        analyzed_at:
          anyOf:
            - type: integer
            - type: 'null'
        has_dynamic:
          type: boolean
          default: false
        cuckoo_score:
          anyOf:
            - type: integer
            - type: 'null'
        detections:
          additionalProperties:
            type: string
          type: object
          default: {}
        yara_rules:
          items:
            type: string
          type: array
          default: []
        strings:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - hash
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````