Skip to content
OSINTtools.io

Filescan.io API

OPSWAT's free community malware analysis service that emulates and statically analyses uploaded files and extracts indicators.

Base URL
https://www.filescan.io
Sign-in
API key
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from filescan.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Filescan.io API submits URLs for analysis in a sandbox, returns the reports of a scan, searches existing reports by hash, domain, IP, URL, tag and many other tokens, and returns a reputation verdict for a hash, domain, IP or URL. An investigator can use it to check a suspicious link or file hash against earlier analyses.

Calls go to https://www.filescan.io. The API key is sent in the X-Api-Key header; the spec describes the key as optional and marks the api_key query parameter as deprecated. Uploading a file is a multipart request and is not described here: use POST /api/scan/file as documented in the OpenAPI file.

A scan runs asynchronously: the scan call returns a flow_id, and the report endpoint is polled with it until allFinished is true. This reference was written from the published OpenAPI file, which lists many more endpoints (system, feeds, similarity search, IOC prevalence).

Quick start

  1. Get a key

    Create an account with Filescan.io and copy your api key. Where to get it

  2. Make your first request

    Get all reports of a scan, with its state and queue position.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://www.filescan.io/api/scan/0f8a6c2e-1111-4222-8333-abcdefabcdef/report' \
      -H 'X-Api-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "flowId": "0f8a6c2e-1111-4222-8333-abcdefabcdef",
      "allFinished": false,
      "reportsAmount": 1,
      "priority": "5",
      "pollPause": 5,
      "state": "queued",
      "positionInQueue": 2,
      "queueSize": 7,
      "reports": {
        "report-id-example": {
          "state": "scanning"
        }
      }
    }

Authentication

Send your API key in the X-Api-Key header of every request.

The spec says the key is optional; calls without one get the limits of an anonymous user.

Get a key from Filescan.io

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs; the API answers 429 when there are too many requests.

Errors

StatusMeaning
400Bad request
401Invalid API key
403Forbidden
404Item not found
422Validation error
429Too many requests

Scans

Scans the internet resource at the URL. Returns a flow_id to poll with the report endpoint. The sandbox fetches the URL, so the target is contacted.

Request body (form) · 7Show

urlstringalways present

URL of the internet resource to scan

descriptionstring

Description of the upload

tagsstring

Tags to propagate, separated by | or , (for example anti-vm|macros)

propagate_tagsboolean

Whether tags from the description are added to the reports; default true

is_privateboolean

If true, the file is not available for download by other users; default false

is_private_reportboolean

If true, the report is not available to other users; default false

skip_whitelistedboolean

If true and the file is detected as whitelisted, no report is created; default false

Response fields · 4Show

flow_idstring

Identifier of the scan, used to fetch its reports

appliedinteger

Priority applied to the scan

max_posibbleinteger

Highest priority possible for the account (spelled as in the spec)

notestring

Optional note about the priority

curl -X POST 'https://www.filescan.io/api/scan/url' \
  -H 'X-Api-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d '{
  "url": "https://example.com/",
  "description": "Suspicious link from a report",
  "is_private_report": false
}'
Replace YOUR_API_KEY with your key
Response
{
  "flow_id": "0f8a6c2e-1111-4222-8333-abcdefabcdef",
  "priority": {
    "applied": 5,
    "max_posibble": 5
  }
}
  • Passive: the target is not contacted

Without a filter parameter only basic report data is returned, enough to see that a report exists. Use filter to request report fields, and poll until allFinished is true.

Path parameters

flow_idstringrequired

Flow id returned when the scan was submitted

Example: 0f8a6c2e-1111-4222-8333-abcdefabcdef

Query parameters

filterstring

Report fields to fetch; may be repeated

Example: finalVerdict
sortingstring

Sort parameters in the form field(sort_subfield:direction), direction asc or desc

otherstring

Extra options to get special data

Response fields · 9Show

flowIdstring

The scan's flow id

allFinishedboolean

True when every report of the scan is finished

reportsAmountinteger

Number of reports in the scan

prioritystring

Priority of the scan

pollPauseinteger

Suggested pause between polls

statestring

Scan state: created, queued, scanning or finished

positionInQueueinteger

Position of the scan in the queue

queueSizeinteger

Size of the queue

reportsobject

The reports of the scan, keyed by report id

curl 'https://www.filescan.io/api/scan/0f8a6c2e-1111-4222-8333-abcdefabcdef/report' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "flowId": "0f8a6c2e-1111-4222-8333-abcdefabcdef",
  "allFinished": false,
  "reportsAmount": 1,
  "priority": "5",
  "pollPause": 5,
  "state": "queued",
  "positionInQueue": 2,
  "queueSize": 7,
  "reports": {
    "report-id-example": {
      "state": "scanning"
    }
  }
}

Reputation

Combines the verdicts of Filescan.io reports for the hash into an overall verdict.

Query parameters

sha256stringrequiredtakes your file

SHA-256 hash of the file

Example: 0000000000000000000000000000000000000000000000000000000000000000
Response fields · 7Show

sha256string

The hash looked up

overall_verdictstring

unknown, benign, informational, no_threat, suspicious, likely_malicious or malicious

filescan_reports[]object

Reports that went into the verdict

verdictstring

Verdict of that report

report_idstring

Report id

report_datestring

Report date

flow_idstring

Flow id of the scan

curl 'https://www.filescan.io/api/reputation/hash?sha256=0000000000000000000000000000000000000000000000000000000000000000' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "overall_verdict": "no_threat",
  "filescan_reports": [
    {
      "verdict": "no_threat",
      "report_id": "report-id-example",
      "report_date": "2025-01-01T00:00:00Z",
      "flow_id": "0f8a6c2e-1111-4222-8333-abcdefabcdef"
    }
  ]
}

ioc_type is domain, ip or url; the value goes in the ioc_value query parameter.

Path parameters

ioc_typestringrequired

Kind of indicator

Example: domainOne of: domain, ip, url

Query parameters

ioc_valuestringrequiredtakes your domain

The domain, IP address or URL to look up

Example: example.com
Response fields · 4Show

ioc_typestring

Kind of indicator looked up

ioc_valuestring

The value looked up

overall_verdictstring

unknown, benign, informational, no_threat, suspicious, likely_malicious or malicious

filescan_reports[]object

Reports that went into the verdict, with verdict, report_id, report_date and flow_id

curl 'https://www.filescan.io/api/reputation/domain?ioc_value=example.com' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "ioc_type": "domain",
  "ioc_value": "example.com",
  "overall_verdict": "unknown",
  "filescan_reports": [
    {
      "verdict": "unknown",
      "report_id": "report-id-example"
    }
  ]
}