{"id":38522782,"url":"https://github.com/drobotun/virustotalapi3","last_synced_at":"2026-01-17T06:43:27.155Z","repository":{"id":62587912,"uuid":"231262501","full_name":"drobotun/virustotalapi3","owner":"drobotun","description":"The module that implements the VirusTotal API functions (3 version)","archived":false,"fork":false,"pushed_at":"2023-03-19T07:13:53.000Z","size":226,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-25T10:23:44.781Z","etag":null,"topics":["api","python","virustotal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drobotun.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-01T20:48:54.000Z","updated_at":"2024-07-10T15:13:07.000Z","dependencies_parsed_at":"2023-02-07T19:00:29.513Z","dependency_job_id":null,"html_url":"https://github.com/drobotun/virustotalapi3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drobotun/virustotalapi3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobotun%2Fvirustotalapi3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobotun%2Fvirustotalapi3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobotun%2Fvirustotalapi3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobotun%2Fvirustotalapi3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drobotun","download_url":"https://codeload.github.com/drobotun/virustotalapi3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobotun%2Fvirustotalapi3/sbom","scorecard":{"id":356496,"data":{"date":"2025-08-11","repo":{"name":"github.com/drobotun/virustotalapi3","commit":"c71e22d10574733f5462154a3329a850450aa08b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T09:44:08.663Z","repository_id":62587912,"created_at":"2025-08-18T09:44:08.663Z","updated_at":"2025-08-18T09:44:08.663Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","python","virustotal"],"created_at":"2026-01-17T06:43:27.105Z","updated_at":"2026-01-17T06:43:27.150Z","avatar_url":"https://github.com/drobotun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://i.imgur.com/6nji8Ec.png\n    :target: https://www.virustotal.com\n\nVirusTotal API 3 version\n========================\n\n.. image:: https://img.shields.io/github/license/drobotun/virustotalapi3?style=flat\n    :target: http://doge.mit-license.org\n.. image:: https://travis-ci.com/drobotun/virustotalapi3.svg?branch=master\n    :target: https://travis-ci.com/drobotun/virustotalapi3\n.. image:: https://ci.appveyor.com/api/projects/status/tto83lriiwdkq55q?svg=true\n    :target: https://ci.appveyor.com/project/drobotun/virustotalapi3\n.. image:: https://codecov.io/gh/drobotun/virustotalapi3/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/drobotun/virustotalapi3\n.. image:: https://coveralls.io/repos/github/drobotun/virustotalapi3/badge.svg\n    :target: https://coveralls.io/github/drobotun/virustotalapi3\n.. image:: https://img.shields.io/scrutinizer/quality/g/drobotun/virustotalapi3\t\n\t:target: https://scrutinizer-ci.com/g/drobotun/virustotalapi3/\n.. image:: https://badge.fury.io/py/vtapi3.svg\n    :target: https://pypi.org/project/vtapi3/\t\n.. image:: https://img.shields.io/pypi/pyversions/vtapi3.svg?logo=python\u0026logoColor=FBE072\n    :target: https://pypi.org/project/vtapi3/\n.. image:: https://img.shields.io/pypi/status/vtapi3\n    :target: https://pypi.org/project/vtapi3/\n.. image:: https://img.shields.io/pypi/format/vtapi3\n    :target: https://pypi.org/project/vtapi3/\n.. image:: https://readthedocs.org/projects/virustotalapi3/badge/?version=latest\n    :target: https://virustotalapi3.readthedocs.io/\n.. image:: https://img.shields.io/pypi/dm/vtapi3\n    :target: https://pypi.org/project/vtapi3/\n.. image:: https://i.imgur.com/JtZ54GZ.png\n    :target: https://xakep.ru/2020/01/09/virustotal-api/#xakepcut\n\nThe module that implements the service API functions www.virustotal.com (3 versions).\nFor a detailed description of the API, see: https://developers.virustotal.com/v3.0/reference.\n\nThe following VirusTotal API functions are implemented:\n\n**For files:**\n\n- |POST| /files\n- |GET| /files/upload_url\n- |GET| /files/{id}\n- |POST| /files/{id}/analyse\n- |GET| /files/{id}/comments\n- |POST| /files/{id}/comments\n- |GET| /files/{id}/votes\n- |POST| /files/{id}/votes\n- |GET| /files/{id}/{relationship}\n- |GET| /file_behaviours/{sandbox_id}/pcap\n- |GET| /files/{id}/download_url (Added in version 1.2.0, requires a private key to access API functions)\n- |GET| /files/{id}/download (Added in version 1.2.0, requires a private key to access API functions)\n\n**For URLs:**\n\n- |POST| /urls\n- |GET| /urls/{id}\n- |POST| /urls/{id}/analyse\n- |GET| /urls/{id}/comments\n- |POST| /urls/{id}/comments\n- |GET| /urls/{id}/votes\n- |POST| /urls/{id}/votes\n- |GET| /urls/{id}/network_location\n\n**For domains:**\n\n- |GET| /domains/{domain}\n- |GET| /domains/{domain}/comments\n- |POST| /domains/{domain}/comments\n- |GET| /domains/{domain}/{relationship}\n- |GET| /domains/{domain}/votes\n- |POST| /domains/{domain}/votes\n\n**For IP-addresses:**\n\n- |GET| /domains/{domain}\n- |GET| /domains/{domain}/comments\n- |POST| /domains/{domain}/comments\n- |GET| /domains/{domain}/{relationship}\n- |GET| /domains/{domain}/votes\n- |POST| /domains/{domain}/votes\n\n**File and URL analysis:**\n\n- |GET| /analyses/{id}\n\nInstallation\n\"\"\"\"\"\"\"\"\"\"\"\"\n\n.. code-block:: bash\n\n    pip install vtapi3\n\nUsage\n\"\"\"\"\"\n\nIn python programs\n''''''''''''''''''\n\n.. rubric:: Code\n\n.. code-block:: python\n\n   import json\n   from vtapi3 import VirusTotalAPIFiles, VirusTotalAPIError\n      ...\n   vt_files = VirusTotalAPIFiles('\u003cAPI key\u003e')\n   try:\n       result = vt_files.upload('\u003cfile path\u003e')\n   except VirusTotalAPIError as err:\n       print(err, err.err_code)\n   else:\n       if vt_files.get_last_http_error() == vt_files.HTTP_OK:\n           result = json.loads(result)\n           result = json.dumps(result, sort_keys=False, indent=4)\n           print(result)\n       else:\n           print('HTTP Error [' + str(vt_files.get_last_http_error()) +']')\n       ...\n\n.. rubric:: Output\n\n.. code-block:: json\n\n    {\n      \"data\": {\n        \"type\": \"analysis\",\n        \"id\": \"NjY0MjRlOTFjMDIyYTkyNWM0NjU2NWQzYWNlMzFmZmI6MTQ3NTA0ODI3Nw==\"\n      }\n    }\n\nFrom command line (added in version 1.1.0)\n''''''''''''''''''''''''''''''''''''''''''\n\nBefore using the package from the command line, you must create an environment variable ``VT_API_KEY`` in which to place the value of the access key to the VirusTotal API functions.\n\n::\n\n    python -m vtapi3  [-h] [-fid] [-fsr] [-far] [-hr] [-uid] [-usr] [-uar] [-ipr]\n                      [-dr]\n                      resource\n\n.. rubric:: Positional arguments\n\n- ``resource`` - Object that you want to analyse in VirusTotal (file, URL, IP address or domain).\n\n.. rubric:: Optional arguments\n\n- ``-h``, ``--help`` - Show help message and exit.\n- ``-fid``, ``--file-id`` - Getting the identifier of the file for further analysis.\n- ``-fsr``, ``--file-scan-report`` - Getting a report on the results of scanning a file.\n- ``-far``, ``--file-analyse-report`` - Getting a report on the results of file analysis (enabled by default).\n- ``-hr``, ``--hash-report`` - Getting a report on the results of analyzing a file by its hash (SHA256, SHA1 or MD5).\n- ``-uid``, ``--url-id`` - Getting the identifier of the URL for further analysis.\n- ``-usr``, ``--url-scan-report`` - Getting a report on the results of scanning a URL.\n- ``-uar``, ``--url-analyse-report`` - Getting a report on the results of URL analysis.\n- ``-ipr``, ``--ip-report`` - Getting a report on the results of IP address analysis.\n- ``-dr``, ``--domain-report`` - Getting a report on the results of domain analysis.\n\nLicense\n\"\"\"\"\"\"\"\n\nMIT Copyright (c) 2020 Evgeny Drobotun\n\nDocumentation\n\"\"\"\"\"\"\"\"\"\"\"\"\"\n\nDocumentation for using this package: https://virustotalapi3.readthedocs.io\n\n\n.. |POST| image:: https://i.imgur.com/CWgYjh1.png\n.. |GET| image:: https://i.imgur.com/CBcN0Fh.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobotun%2Fvirustotalapi3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrobotun%2Fvirustotalapi3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobotun%2Fvirustotalapi3/lists"}