Skip to content
OSINTtools.io

urlscan.io extension API

urlscan.io's browser extension that shows what urlscan.io knows about the current site and submits pages or links for a new scan.

Base URL
https://urlscan.io
Sign-in
API key
Format
REST
Endpoints
4

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

Introduction

The urlscan.io API submits a URL for a scan in a sandbox browser, returns the result of a finished scan, and searches the archive of earlier scans by domain, IP, ASN, hash and other attributes. An investigator uses it to see what a page loaded, where it was hosted and what verdicts it received.

Requests go to https://urlscan.io with the key in the api-key header. Unauthenticated users only receive minor quotas. After submitting, the docs advise waiting at least 10 seconds, then polling the result every 2 seconds. Pro endpoints, live scanning, saved searches, incidents and data dumps exist and are not described here.

Quick start

  1. Get a key

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

  2. Make your first request

    Get the full result of a finished scan.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://urlscan.io/api/v1/result/00000000-0000-0000-0000-000000000000/' \
      -H 'api-key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "task": {
        "uuid": "00000000-0000-0000-0000-000000000000",
        "url": "https://example.com/",
        "visibility": "unlisted"
      },
      "page": {
        "url": "https://example.com/",
        "domain": "example.com",
        "ip": "192.0.2.10",
        "server": "example-server",
        "country": "US",
        "asn": "AS64496"
      },
      "lists": {
        "ips": [
          "192.0.2.10"
        ],
        "domains": [
          "example.com"
        ]
      },
      "verdicts": {
        "overall": {
    …

Authentication

Send your API key in the api-key header of every request.

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

Scanning

Returns a scan UUID. Poll the result endpoint with it, waiting at least 10 seconds before the first poll.

Request body (JSON) · 6Show

urlstringalways present

The URL to scan

visibilitystring

public, unlisted or private

countrystring

Country to scan from, ISO 3166-1 alpha-2; chosen automatically if omitted

tagsstring[]

User-defined tags

refererstring

Overrides the HTTP referer

customagentstring

Overrides the HTTP User-Agent

Response fields · 4Show

uuidstring

UUID of the scan result (the scanId)

countrystring

Country the scan was run from

visibilitystring

Visibility determined for the scan

urlstring

URL scanned, as determined by the service

curl -X POST 'https://urlscan.io/api/v1/scan' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com","visibility":"unlisted","country":"US","tags":["example"]}'
Replace YOUR_API_KEY with your key
Response
{
  "uuid": "00000000-0000-0000-0000-000000000000",
  "country": "US",
  "visibility": "unlisted",
  "url": "https://example.com/"
}

Get the full result of a finished scan.

GET/api/v1/result/{scanId}/

  • Passive: the target is not contacted

Returns raw data, statistics, enrichment, task details, page details, lists of unique IPs and domains, and verdicts. Wait at least 10 seconds after submitting, then poll every 2 seconds, with an upper timeout.

Path parameters

scanIdstringrequired

UUID of the scan result

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

uuidstring

Scan UUID

urlstring

URL submitted

visibilitystring

public, unlisted or private

urlstring

Final page URL

domainstring

Page domain

ipstring

Page IP address

serverstring

Server header

countrystring

Server country

asnstring

Autonomous system

ipsstring[]

Unique IPs contacted

domainsstring[]

Unique domains contacted

scoreinteger

-100 (benign) to 100 (malicious)

maliciousboolean

Overall malicious verdict

curl 'https://urlscan.io/api/v1/result/00000000-0000-0000-0000-000000000000/' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "task": {
    "uuid": "00000000-0000-0000-0000-000000000000",
    "url": "https://example.com/",
    "visibility": "unlisted"
  },
  "page": {
    "url": "https://example.com/",
    "domain": "example.com",
    "ip": "192.0.2.10",
    "server": "example-server",
    "country": "US",
    "asn": "AS64496"
  },
  "lists": {
    "ips": [
      "192.0.2.10"
    ],
    "domains": [
      "example.com"
    ]
  },
  "verdicts": {
    "overall": {
      "score": 0,
      "malicious": false
    }
  }
}

Account

  • Passive: the target is not contacted

Returns the quota scope and, for the daily period, limit, used, remaining and percent.

Response fields · 5Show

scopestring

Scope of the quota limits

limitinteger

Maximum allowed usage

usedinteger

Usage so far

remaininginteger

Quota remaining

percentnumber

Percentage used

curl 'https://urlscan.io/api/v1/quotas' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "scope": "read",
  "limits": {
    "private": {
      "day": {
        "limit": 1000,
        "used": 250,
        "remaining": 750,
        "percent": 25
      }
    }
  }
}