# Filescan.io API reference

> 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…

Source: https://osinttools.io/apis/filescan-io/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/filescan-io/

- Base URL: https://www.filescan.io
- Authentication: API key in the `X-Api-Key` header. Get a key: https://www.filescan.io/ The spec says the key is optional; calls without one get the limits of an anonymous user.
- Rate limits: Not stated in the docs; the API answers 429 when there are too many requests.
- Vendor docs: https://www.filescan.io/api/docs
- OpenAPI spec: https://www.filescan.io/openapi.json

## Overview

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).

## Errors

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

## Scans

### Submit a URL for analysis in the sandbox.

`POST /api/scan/url`

- Takes: URL
- Footprint: active (contacts the target)

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.

Response fields:

- `flow_id` (string): Identifier of the scan, used to fetch its reports
- `priority.applied` (integer): Priority applied to the scan
- `priority.max_posibble` (integer): Highest priority possible for the account (spelled as in the spec)
- `priority.note` (string): Optional note about the priority

```bash
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
}'
```

Example response (200):

```json
{
  "flow_id": "0f8a6c2e-1111-4222-8333-abcdefabcdef",
  "priority": {
    "applied": 5,
    "max_posibble": 5
  }
}
```

### Get all reports of a scan, with its state and queue position.

`GET /api/scan/{flow_id}/report`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `flow_id` | path | string | yes | Flow id returned when the scan was submitted Example: 0f8a6c2e-1111-4222-8333-abcdefabcdef |
| `filter` | query | string | no | Report fields to fetch; may be repeated Example: finalVerdict |
| `sorting` | query | string | no | Sort parameters in the form field(sort_subfield:direction), direction asc or desc |
| `other` | query | string | no | Extra options to get special data |

Response fields:

- `flowId` (string): The scan's flow id
- `allFinished` (boolean): True when every report of the scan is finished
- `reportsAmount` (integer): Number of reports in the scan
- `priority` (string): Priority of the scan
- `pollPause` (integer): Suggested pause between polls
- `state` (string): Scan state: created, queued, scanning or finished
- `positionInQueue` (integer): Position of the scan in the queue
- `queueSize` (integer): Size of the queue
- `reports` (object): The reports of the scan, keyed by report id

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

Example response (200):

```json
{
  "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"
    }
  }
}
```

## Search

### Search reports and uploaded files by hash, filename, verdict, IOC and other tokens.

`GET /api/reports/search`

- Takes: Domain, IP address, URL, File
- Footprint: passive (the target is not contacted)

The simple search uses only the query parameter (and some defaults); the other parameters are ignored. Pass the IOC or hash as the query. The longer list of filters in the spec (sha256, domain, ip, url, tag, date range and more) belongs to the advanced search.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `query` | query | string | no | Search token: a hash, filename, domain, IP, URL or tag Example: example.com |
| `page` | query | integer | no | Page number starting from 1 Example: 1 |
| `page_size` | query | integer | no | Page size Example: 10 One of: 5, 10, 20 |
| `age` | query | integer | no | Search reports of this age in days; -1 for no limit Example: 30 |
| `verdict` | query | string | no | Filter by verdict Example: malicious |

Response fields:

- `items[]` (object): Matching reports and files
- `count` (integer): Number of matches
- `method` (string): Search method used

```bash
curl 'https://www.filescan.io/api/reports/search' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "report_id": "report-id-example",
      "verdict": "no_threat"
    }
  ],
  "count": 1,
  "method": "or"
}
```

## Reputation

### Reputation verdict for one SHA-256 hash.

`GET /api/reputation/hash`

- Takes: File
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `sha256` | query | string | yes | SHA-256 hash of the file Example: 0000000000000000000000000000000000000000000000000000000000000000 |

Response fields:

- `sha256` (string): The hash looked up
- `overall_verdict` (string): unknown, benign, informational, no_threat, suspicious, likely_malicious or malicious
- `filescan_reports[]` (object): Reports that went into the verdict
- `filescan_reports[].verdict` (string): Verdict of that report
- `filescan_reports[].report_id` (string): Report id
- `filescan_reports[].report_date` (string): Report date
- `filescan_reports[].flow_id` (string): Flow id of the scan

```bash
curl 'https://www.filescan.io/api/reputation/hash?sha256=0000000000000000000000000000000000000000000000000000000000000000' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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"
    }
  ]
}
```

### Reputation verdict for one domain, IP or URL.

`GET /api/reputation/{ioc_type}`

- Takes: Domain, IP address, URL
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ioc_type` | path | string | yes | Kind of indicator Example: domain One of: domain, ip, url |
| `ioc_value` | query | string | yes | The domain, IP address or URL to look up Example: example.com |

Response fields:

- `ioc_type` (string): Kind of indicator looked up
- `ioc_value` (string): The value looked up
- `overall_verdict` (string): 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

```bash
curl 'https://www.filescan.io/api/reputation/domain?ioc_value=example.com' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ioc_type": "domain",
  "ioc_value": "example.com",
  "overall_verdict": "unknown",
  "filescan_reports": [
    {
      "verdict": "unknown",
      "report_id": "report-id-example"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
