VirusTotal · Schema

UrlObject

A URL analysed by VirusTotal — identified by base64url of the URL.

Anti-MalwareThreat IntelligenceSecurityFile AnalysisURL AnalysisYARAIoCSandboxMITRE ATT&CKGoogle Cloud

Properties

Name Type Description
id string Object identifier.
type string Object type discriminator.
links object Hypermedia links.
attributes object Type-specific attributes for UrlObject.
relationships object Pre-expanded relationships, keyed by relationship name.
View JSON Schema on GitHub

JSON Schema

virustotal-url-object-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/virustotal/refs/heads/main/json-schema/UrlObject-schema.json",
  "title": "UrlObject",
  "description": "A URL analysed by VirusTotal \u2014 identified by base64url of the URL.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Object identifier."
    },
    "type": {
      "type": "string",
      "description": "Object type discriminator."
    },
    "links": {
      "type": "object",
      "description": "Hypermedia links.",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "attributes": {
      "type": "object",
      "description": "Type-specific attributes for UrlObject.",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Submitted URL.",
          "example": "https://example.com/path"
        },
        "final_url": {
          "type": "string",
          "format": "uri",
          "description": "Final URL after redirects."
        },
        "title": {
          "type": "string",
          "description": "HTML <title> of the URL when fetched."
        },
        "first_submission_date": {
          "type": "integer",
          "description": "Unix epoch of first submission."
        },
        "last_submission_date": {
          "type": "integer",
          "description": "Unix epoch of most recent submission."
        },
        "last_analysis_date": {
          "type": "integer",
          "description": "Unix epoch of last analysis."
        },
        "last_http_response_code": {
          "type": "integer",
          "description": "HTTP status from the last fetch.",
          "example": 200
        },
        "last_http_response_content_length": {
          "type": "integer"
        },
        "last_http_response_content_sha256": {
          "type": "string"
        },
        "last_http_response_headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "last_http_response_cookies": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "reputation": {
          "type": "integer"
        },
        "total_votes": {
          "type": "object",
          "properties": {
            "harmless": {
              "type": "integer"
            },
            "malicious": {
              "type": "integer"
            }
          }
        },
        "last_analysis_stats": {
          "type": "object",
          "properties": {
            "harmless": {
              "type": "integer"
            },
            "malicious": {
              "type": "integer"
            },
            "suspicious": {
              "type": "integer"
            },
            "undetected": {
              "type": "integer"
            },
            "timeout": {
              "type": "integer"
            }
          }
        },
        "last_analysis_results": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "category": {
                "type": "string"
              },
              "engine_name": {
                "type": "string"
              },
              "method": {
                "type": "string"
              },
              "result": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "categories": {
          "type": "object",
          "description": "Category assignments per categorisation engine.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Community / engine tags."
        }
      }
    },
    "relationships": {
      "type": "object",
      "description": "Pre-expanded relationships, keyed by relationship name.",
      "additionalProperties": true
    }
  },
  "required": [
    "id",
    "type",
    "attributes"
  ]
}