Skip to content
OSINTtools.io

ANY.RUN API

Interactive malware sandbox where you watch and control a sample's execution in a live virtual machine.

Base URL
https://api.any.run
Sign-in
API key
Format
REST
Endpoints
6

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

Introduction

ANY.RUN publishes two APIs under one host: a Sandbox API for interactive malware analysis (submit a file or URL, read the report, IOCs and AI summary) and a Threat Intelligence API (TI Lookup search over indicators, YARA search, TAXII 2 feeds).

This reference covers the read endpoints useful in an investigation: task history, a task report and its IOCs, the environment and limits listings, and the TI Lookup search. Submitting a file or URL for analysis (POST /v1/analysis/) is a multipart form upload and is not described here; TAXII feeds and YARA search are also left out. See the official reference for them.

Requests go to https://api.any.run with the header Authorization: API-Key YOUR_API_KEY (the literal prefix API-Key is part of the value). The Sandbox spec also lists HTTP Basic authentication. The TI Lookup spec lists 400, 401, 402 (payment required), 403, 429 and 500 responses.

Quick start

  1. Get a key

    Create an account with ANY.RUN and copy your api key. Where to get it

  2. Make your first request

    List the account's last analysis tasks (up to 100) with basic information.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.any.run/v1/analysis/' \
      -H 'Authorization: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    [
      {
        "uuid": "00000000-0000-0000-0000-000000000000",
        "verdict": "No threats detected",
        "name": "sample.exe",
        "related": "https://app.any.run/tasks/00000000-0000-0000-0000-000000000000",
        "date": "2026-05-01T10:00:00Z",
        "tags": [
          "example"
        ],
        "hashes": {
          "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
        }
      }
    ]

Authentication

Send your API key in the Authorization header of every request.

Value is "API-Key YOUR_API_KEY", including the prefix.

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 as a fixed figure; GET /v1/user/ returns the account's per-minute, hour, day and month API limits.

  • CommunityFree · Public interactive analyses, basic reports, 60s VM timeout, 16 MB max file
  • HunterContact sales · Private analyses, Windows 11, residential proxy, 660s timeout, 100 MB files
  • Enterprise SuiteContact sales · Full sandbox, macOS/Linux VMs, teams and SSO, 1,500+ API tasks/month, TI Lookup

Plans from any.run, checked Nov 25, 2026.

Errors

StatusMeaning
400Bad request
401Unauthorized
402Payment required (TI Lookup)
403Forbidden
429Too many requests
500Internal server error

Threat Intelligence

Returns related incidents, files, DNS records, URLs, network threats, destination IPs and source analyses associated with the indicator. The query accepts an indicator or a structured field query with boolean operators.

Request body (JSON) · 3Show

querystringalways present

Indicator or structured field query that filters the results

startDatestring

Date to search from

endDatestring

Date to search to

Response fields · 11Show

destinationPortarray

Destination port numbers

destinationIPgeoarray

Destination IP countries

asnstring

Destination IP autonomous system

relatedTasksarray

Links to related ANY.RUN sandbox analyses

threatNamestring

Threat name

countnumber

Count for the threat name

countryNamestring

Country of submissions

industryNamestring

Industry

taskstring

Link to the sandbox analysis

timestring

Creation time

MITREarray

MITRE technique ids

curl -X POST 'https://api.any.run/v1/intelligence/api/search' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"example.com","startDate":"2026-01-01","endDate":"2026-11-29"}'
Replace YOUR_API_KEY with your key
Response
{
  "destinationPort": [
    443
  ],
  "destinationIPgeo": [
    "NL"
  ],
  "relatedTasks": [
    "https://app.any.run/tasks/00000000-0000-0000-0000-000000000000"
  ],
  "threatName": [
    {
      "threatName": "example-family",
      "count": 3
    }
  ],
  "relatedIncidents": [
    {
      "task": "https://app.any.run/tasks/00000000-0000-0000-0000-000000000000",
      "time": "2026-05-01T10:00:00Z",
      "MITRE": [
        "T1071"
      ]
    }
  ]
}

Sandbox

  • Passive: the target is not contacted

Use team=true to read the team's history.

Query parameters

teamboolean

Set to true to receive team history

Example: falseDefault: false
skipinteger

Number of elements to skip

Example: 0Default: 0
limitinteger

Number of elements returned

Example: 25Default: 25
Response fields · 8Show

uuidstring

Task UUID

verdictstring

Overall threat level

namestring

Name of the main object

relatedstring

URL of the analysis report

jsonstring

URL of the JSON report

datestring

Creation time of the analysis

tagsarray

Tags

sha256string

SHA256 of the object

curl 'https://api.any.run/v1/analysis/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "uuid": "00000000-0000-0000-0000-000000000000",
    "verdict": "No threats detected",
    "name": "sample.exe",
    "related": "https://app.any.run/tasks/00000000-0000-0000-0000-000000000000",
    "date": "2026-05-01T10:00:00Z",
    "tags": [
      "example"
    ],
    "hashes": {
      "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
    }
  }
]
  • Passive: the target is not contacted

Returns the full report under data; the schema in the docs does not break the report down further.

Path parameters

taskUuidstringrequired

Task UUID

Example: 00000000-0000-0000-0000-000000000000
Response fields · 2Show

errorboolean

False for a successful request

dataobject

Report data

curl 'https://api.any.run/v1/analysis/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "error": false,
  "data": {
    "analysis": {
      "uuid": "00000000-0000-0000-0000-000000000000"
    }
  }
}
  • Passive: the target is not contacted

Returns indicators of compromise with category, type, value and reputation.

Path parameters

taskUuidstringrequired

Task UUID

Example: 00000000-0000-0000-0000-000000000000
Response fields · 5Show

categorystring

IOC category

typestring

IOC type

namestring

IOC name

iocstring

IOC value

reputationinteger

Numeric reputation

curl 'https://api.any.run/report/00000000-0000-0000-0000-000000000000/ioc/json' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "category": "network",
    "type": "domain",
    "name": "example.com",
    "ioc": "example.com",
    "reputation": 0
  }
]

Account

  • Passive: the target is not contacted

Operating system, version, bitness, build and installed software for each environment.

Response fields · 5Show

osstring

Operating system name

versionstring

Major version

bitnessinteger

32 or 64 bit

buildinteger

Build number

namestring

Installed application

curl 'https://api.any.run/v1/environment/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "os": "Windows",
    "version": "10",
    "bitness": 64,
    "build": 19044,
    "software": {
      "apps": [
        {
          "name": "Example App",
          "version": "1.0"
        }
      ]
    }
  }
]
  • Passive: the target is not contacted

A value of -1 means unlimited.

Response fields · 5Show

minuteinteger

Interactive usage limit per minute

minuteinteger

API usage limit per minute

dayinteger

API usage limit per day

totalinteger

Total parallel runs

availableinteger

Parallel runs available

curl 'https://api.any.run/v1/user/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "web": {
    "minute": 5,
    "hour": 50,
    "day": 100,
    "month": 1000
  },
  "api": {
    "minute": 5,
    "hour": 50,
    "day": 100,
    "month": 1000
  },
  "parallels": {
    "total": 2,
    "available": 2
  }
}