CONTENT SECURITY API

Detect malware and
unsafe content.
One API call.

Multi-engine malware detection and content analysis via a simple REST API. Get a verdict in seconds, with webhook delivery built in.

10 free scans/month No credit card required
curl -X POST https://api.filesafety.dev/v1/scan
  -H "x-api-key: fs_live_abc..."
  -F file=@document.pdf
Response:
{
  "verdict": "clean",
  "virus": { "clean": true },
  "nsfw": { "clean": true, "confidence": 0.99 }
}

Three steps. Zero complexity.

STEP 1

Upload

POST your file to /v1/scan with your API key. Supports files up to 1GB via direct upload or presigned URL.

POST /v1/scan
{ scan_id: "01J..." }
STEP 2

Scan

All applicable scans run automatically. Malware detection, image analysis, and text analysis — no configuration needed.

MalwareImagesText
STEP 3

Verdict

Get a clear verdict via webhook or polling. Clean, malware, unsafe content — no ambiguity.

verdict: "clean"
virus: nsfw:

Enterprise-grade detection engines

Malware Detection

Multi-engine threat detection

Industry-standard malware detection powered by continuously updated signature databases. Scans for trojans, malware, ransomware, and other threats across any file type.

Millions
Threat signatures
Continuous
Definition updates
< 5s
Avg scan time
Any
File type support

Content Analysis

AI-powered content identification

Deep learning-based content moderation for images and text. Detects explicit, suggestive, and violent visual content plus toxic language, PII, and sentiment in text.

99%+
Detection accuracy
5
Content categories
< 2s
Avg scan time
0-100
Confidence score

Drop-in integration. Any language.

A single API call. No SDKs to install, no config files, no vendor lock-in.
# Upload and scan a file
curl -X POST https://api.filesafety.dev/v1/scan \
  -H "x-api-key: fs_live_your_key_here" \
  -F "file=@invoice.pdf" \
  -F 'webhook_url=https://your-app.com/hook'

# Poll for results
curl https://api.filesafety.dev/v1/scan/01JQXYZ... \
  -H "x-api-key: fs_live_your_key_here"
Response:
{
  "scan_id": "01JQXYZ...",
  "status": "complete",
  "verdict": "clean",
  "virus": {
    "clean": true,
    "signature": null,
  },
  "nsfw": {
    "clean": true,
    "categories": [],
    "confidence": 0.99
  },
  "text": {
    "clean": true,
    "toxic": {},
    "pii": {},
    "sentiment": {}
  }
}

Built for regulated industries

Your files are processed securely and never retained beyond the scan window.

GDPR-Ready Controls

Designed to support GDPR requirements, including regional processing controls and a data processing agreement (DPA).

Encryption Everywhere

AES-256 encryption at rest, TLS 1.3 in transit. Files are encrypted the moment they land in our quarantine bucket.

Instant Auto-Delete

All uploaded files are deleted immediately after scanning completes. We don't keep your data — period.

Data Residency

All infrastructure runs in AWS ap-southeast-2 (Sydney). Your files never leave the region during processing.

API Key Security

API keys are SHA-256 hashed for request authentication. New keys are shown once and should be stored securely.

Private Network Isolation

Scan workers run in private network segments. External ingress is restricted to required API and webhook endpoints.

Simple, predictable pricing

All plans include malware detection + content analysis. No hidden fees.
MonthlyAnnualSave 20%
Free
$0/mo
Get started. No credit card.
  • 10 scans/month
  • All scan types included
  • Webhook delivery
  • Community support
Starter
$19/mo
For side projects and MVPs.
  • 1,000 scans/month
  • All scan types included
  • Webhook delivery
  • Email support
  • $0.01/scan overage
Pro
$99/mo
For production workloads.
  • 10,000 scans/month
  • All scan types included
  • Webhook delivery
  • Priority support
  • $0.01/scan overage
Need more? Paid plans include automatic overage at $0.01/scan. No surprises, no hard limits.

Frequently asked questions

How does FileSafety work?

Upload your file via a POST request to the /v1/scan endpoint with your API key. Multi-engine malware detection and content analysis run in parallel, returning a clear verdict (clean, malware, or unsafe content) in seconds via webhook or polling.

What types of threats does FileSafety detect?

FileSafety detects trojans, malware, ransomware, and other threats using continuously updated signature databases with millions of threat signatures. It also performs AI-powered content moderation that identifies explicit, suggestive, and violent content in images with 99%+ detection accuracy.

Is FileSafety GDPR compliant?

FileSafety is designed to support GDPR requirements. Full-feature GDPR support will be available soon; please contact us to discuss your needs. Files are processed in a single AWS region (ap-southeast-2, Sydney) with no cross-border transfers. All files are encrypted with AES-256 at rest and TLS 1.3 in transit, and deleted immediately after scanning completes. A full Data Processing Agreement is available on request.

How much does FileSafety cost?

FileSafety offers four plans: Free (10 scans/month, $0), Starter (1,000 scans/month, $19), Growth (4,000 scans/month, $49), and Pro (10,000 scans/month, $99). All plans include malware detection and content analysis. Paid plans include automatic overage at $0.01/scan.

How fast are scan results?

Malware scans average less than 5 seconds and content analysis averages less than 2 seconds. Results are delivered via webhook or polling with no ambiguity — you get a clear verdict of clean, malware, or unsafe content.