FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
VirusTotal Has a Free API — Scan Files, URLs, and Domains for Malware (4 Requests/Min)
How-ToProgramming Languages

VirusTotal Has a Free API — Scan Files, URLs, and Domains for Malware (4 Requests/Min)

via Dev.to PythonAlex Spinov2h ago

The Security Tool Every Developer Should Know VirusTotal scans files and URLs against 70+ antivirus engines simultaneously. Their free API gives you 4 requests per minute — enough for security automation in small projects. Setup import requests import hashlib API_KEY = " your_virustotal_api_key " # Free at virustotal.com BASE = " https://www.virustotal.com/api/v3 " HEADERS = { " x-apikey " : API_KEY } Scan a URL import base64 def scan_url ( url ): # Submit URL for scanning r = requests . post ( f " { BASE } /urls " , headers = HEADERS , data = { " url " : url }) # Get the URL ID url_id = base64 . urlsafe_b64encode ( url . encode ()). decode (). strip ( " = " ) # Get results r = requests . get ( f " { BASE } /urls/ { url_id } " , headers = HEADERS ) stats = r . json ()[ " data " ][ " attributes " ][ " last_analysis_stats " ] return { " malicious " : stats [ " malicious " ], " suspicious " : stats [ " suspicious " ], " harmless " : stats [ " harmless " ], " undetected " : stats [ " undet

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
0 views

Related Articles

We Tested This FREE TradingView Trend Indicator… It Only Works Here!
How-To

We Tested This FREE TradingView Trend Indicator… It Only Works Here!

Medium Programming • 3h ago

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)
How-To

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)

Dev.to Beginners • 6h ago

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)
How-To

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 6h ago

Stop Posting Noise: Building in Public Needs Real Value
How-To

Stop Posting Noise: Building in Public Needs Real Value

Dev.to Beginners • 7h ago

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base
How-To

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base

Ars Technica • 7h ago

Discover More Articles