Overview

Scanii provides a cloud-based API for detecting malware and moderating content within applications that process user-uploaded files. The service is designed to integrate into existing platforms to scan documents, images, videos, and other digital assets for viruses, Trojans, and other forms of malicious software in real time Scanii documentation portal. Beyond malware detection, Scanii also offers content moderation capabilities, which can be configured to identify and flag inappropriate or policy-violating content.

The API is beneficial for a range of use cases, including securing file upload forms on websites, scanning email attachments, and ensuring the integrity of data within SaaS applications. By offloading the complexity of maintaining antivirus definitions and scanning infrastructure, Scanii aims to simplify the implementation of security measures for developers. Its architecture is built to handle varying volumes of scan requests, from individual files to large-scale data processing operations. Developers can integrate Scanii using a RESTful API or through available SDKs in languages such as Python, Ruby, and Java.

The platform supports various file types and offers different scanning modes, including synchronous and asynchronous processing. This flexibility allows developers to choose the most suitable method for their application's performance requirements. For instance, scenarios requiring immediate feedback, such as blocking a malicious upload before it's saved, can utilize synchronous scanning. For background processing of large files or bulk uploads, asynchronous scanning allows the application to continue operations while Scanii processes the content and delivers results via webhooks Scanii webhook documentation. The service also includes features for managing scan results, setting up custom policies, and integrating with other security tools.

For organizations handling sensitive data, Scanii addresses compliance requirements, including GDPR and SOC 2 Type II. This ensures that data processing practices align with established security and privacy standards. The service is particularly suited for companies that host user-generated content, such as social media platforms, collaboration tools, and online marketplaces, where the risk of malicious uploads can be significant. Implementing a solution like Scanii can help mitigate legal and reputational risks associated with hosting harmful content.

Key features

  • Real-time Malware Detection: Scans files and content as they are uploaded, identifying viruses, ransomware, spyware, and other threats using multiple antivirus engines and heuristics.
  • Content Moderation API: Provides capabilities to detect and flag inappropriate, offensive, or policy-violating content within user-generated text and media.
  • RESTful API & SDKs: Offers a well-documented RESTful API for direct integration, alongside client libraries for Ruby, Python, Java, Node.js, PHP, and Go Scanii SDKs.
  • Asynchronous Scanning: Supports processing large files or bulk uploads in the background, delivering results via webhooks to prevent blocking application workflows.
  • Custom Policies & Rules: Allows users to define specific scanning policies and content moderation rules tailored to their application requirements.
  • Compliance Standards: Adheres to industry standards such as SOC 2 Type II and GDPR, assisting organizations with regulatory compliance Scanii compliance information.
  • Scalable Infrastructure: Designed to handle varying volumes of scan requests, from individual files to high-traffic enterprise applications.
  • Detailed Scan Reports: Provides comprehensive reports on scanned content, including threat types, file metadata, and moderation flags.

Pricing

Scanii offers tiered pricing based on the volume of scans, with a free developer plan and escalating paid plans. Pricing is current as of 2026-05-28 and subject to change; refer to Scanii's official pricing page for the most up-to-date information.

Plan Name Monthly Scans Included Monthly Price Key Features
Developer Plan 5,000 Free Basic malware scanning, API access
Startup Plan 50,000 $29 All Developer features, increased volume, priority support
Growth Plan 250,000 $99 All Startup features, higher volume, advanced analytics
Business Plan 1,000,000 $299 All Growth features, enterprise-grade support, dedicated infrastructure options

Common integrations

  • Cloud Storage Services: Integrate with Amazon S3, Google Cloud Storage, or Azure Blob Storage to scan files directly as they are uploaded to storage buckets Amazon S3 documentation.
  • Web Application Frameworks: Use SDKs to integrate malware scanning into Ruby on Rails, Django, Node.js Express, or PHP Laravel applications for securing file uploads.
  • Email Platforms: Scan email attachments in platforms like SendGrid or SparkPost before delivery to prevent the spread of malware SparkPost documentation.
  • Content Management Systems (CMS): Integrate with CMS platforms to scan user-generated content, images, and documents before publishing.
  • Workflow Automation Tools: Connect with tools like Tray.io or Zapier to automate scanning processes as part of broader data workflows Tray.io documentation.
  • SIEM/SOC Systems: Forward scan results and threat intelligence to Security Information and Event Management (SIEM) or Security Operations Center (SOC) systems for centralized monitoring and incident response.

Alternatives

  • VirusTotal: A free online service that analyzes suspicious files and URLs to detect types of malware, using various antivirus engines and website scanners.
  • ClamAV: An open-source antivirus engine for detecting trojans, viruses, malware, and other malicious threats. It's often used for email scanning.
  • Opswat MetaDefender: Provides multi-scanning with over 30 anti-malware engines, vulnerability assessment, and data sanitization for advanced threat prevention.

Getting started

To begin using Scanii, you typically obtain an API key and then use one of the available SDKs to integrate scanning functionality into your application. The following Python example demonstrates how to upload a file for scanning using the Scanii Python SDK and retrieve the scan result.

import scanii

# Replace with your actual API key and secret
client = scanii.Client(api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET")

# Path to the file you want to scan
file_path = "./path/to/your/document.pdf"

try:
    # Upload the file for scanning
    scan_result = client.process_file(file_path)

    print(f"Scan ID: {scan_result.id}")
    print(f"Content Type: {scan_result.content_type}")
    print(f"Checksum: {scan_result.checksum}")
    print(f"Findings: {scan_result.findings}")

    if scan_result.is_clean():
        print("File is clean.")
    else:
        print("File contains threats or flagged content.")

    # You can also retrieve the scan result later using the scan_id
    # retrieved_result = client.retrieve(scan_result.id)
    # print(f"Retrieved Findings: {retrieved_result.findings}")

except scanii.ScaniiException as e:
    print(f"An error occurred: {e}")

This Python code initializes the Scanii client with API credentials. It then calls the process_file method, passing the path to the document intended for scanning. The response includes a scan ID, content type, checksum, and a list of findings. The is_clean() method provides a boolean indicating whether any threats or flagged content were detected. For complete setup instructions and additional examples, refer to the Scanii API reference.