Skip to content
OSINTtools.io

urlDNA API

URL scanner that captures screenshots, page data and infrastructure, with query-language search over past scans.

Base URL
https://api.urldna.io
Sign-in
Bearer token
Free tier
Free tier
Format
REST
Endpoints
5

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

Introduction

The urlDNA API scans a URL in a headless browser and returns what it found: classification, redirect chains, IP address, certificate, cookies, HTTP transactions, technologies, WHOIS and a screenshot. It can also search earlier scans and give a quick SAFE, MALICIOUS or UNRATED verdict for a URL.

Requests go to https://api.urldna.io with an Authorization: Bearer header holding the key from your urlDNA profile page. Scans are asynchronous: create a scan, then fetch it by ID until its status is DONE.

Quotas are daily: 100 requests on the free plan and 5,000 on premium. The docs list no per-second limit. Query, brand-monitoring, chat and takedown endpoints exist and are not covered here.

Quick start

  1. Get a key

    Create an account with urlDNA and copy your bearer token (free tier). Where to get it

  2. Make your first request

    Fetch a scan and its results.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.urldna.io/v1/scan/scan_example_0001' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "scan": {
        "id": "scan_example_0001",
        "submitted_url": "https://www.example.com",
        "domain": "www.example.com",
        "target_url": "https://www.example.com/",
        "status": "DONE"
      }
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Key is on your urlDNA profile page.

Get a key from urlDNA

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

Rate limits and pricing

Daily quota: 100 requests (Free), 5,000 (Premium). Show Scan counts only when the scan is DONE or ERROR. No per-second limit stated.

Free tier.

Errors

StatusMeaning
401API key is missing or invalid
404Scan not found
422Validation error
429Quota or rate limit exceeded
500Server error

Scans

Returns the new scan with status PENDING; fetch it with GET /v1/scan/{scan_id}. The page is loaded by urlDNA's browser, so the target is contacted.

Request body (JSON) · 9Show

submitted_urlstringalways present

URL to scan

devicestring

DESKTOP (default) or MOBILE

user_agentstring

User agent to scan with

http_refererstring

Referer to send

widthinteger

Viewport width

heightinteger

Viewport height

waiting_timeinteger

Seconds to wait, 3 to 15 (default 5)

private_scanboolean

Keep the scan private (default false)

submitter_tagsarray

Your own tags

Response fields · 7Show

idstring

Scan ID

submitted_urlstring

URL submitted

devicestring

DESKTOP or MOBILE

statusstring

PENDING, RUNNING, DONE, ERROR or PAGE_NOT_AVAILABLE

private_scanboolean

Whether the scan is private

submitted_datestring

Submission time

originstring

USER, API or TELEGRAM

curl -X POST 'https://api.urldna.io/v1/scan' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"submitted_url":"https://www.example.com","device":"DESKTOP","waiting_time":5,"private_scan":false}'
Replace YOUR_API_KEY with your key
Response
{
  "id": "scan_example_0001",
  "submitted_url": "https://www.example.com",
  "device": "DESKTOP",
  "width": 1920,
  "height": 1080,
  "scanned_from": "DEFAULT",
  "origin": "API",
  "private_scan": false,
  "status": "PENDING",
  "submitted_date": "2026-01-01T12:00:00Z"
}

Fetch a scan and its results.

GET/v1/scan/{scan_id}

  • Passive: the target is not contacted
  • Cost: 1 request of the daily quota when status is DONE or ERROR

The scan object is always present; certificate, cookies, DOM, HTTP transactions, IP address, classification, WHOIS, screenshot, redirect chains and technologies appear when available.

Path parameters

scan_idstringrequired

ID returned when the scan was created

Example: scan_example_0001
Response fields · 8Show

idstring

Scan ID

statusstring

PENDING, RUNNING, DONE, ERROR or PAGE_NOT_AVAILABLE

domainstring

Domain scanned

target_urlstring

Final URL after redirects

ip_addressobject

IP address details

classificationobject

Threat classification

technologiesarray

Technologies detected

redirect_chainsarray

Redirect chains seen

curl 'https://api.urldna.io/v1/scan/scan_example_0001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "scan": {
    "id": "scan_example_0001",
    "submitted_url": "https://www.example.com",
    "domain": "www.example.com",
    "target_url": "https://www.example.com/",
    "status": "DONE"
  }
}

Returns an array of scans, newest first.

Request body (JSON) · 3Show

querystringalways present

Query string or CQL, 3 to 200 characters

max_resultsinteger

1 to 32 (default 32)

pageinteger

Page number, from 1

Response fields · 5Show

idstring

Scan ID

submitted_urlstring

URL submitted

domainstring

Domain scanned

statusstring

Scan status

submitted_datestring

Submission time

curl -X POST 'https://api.urldna.io/v1/search' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"example.com","max_results":10,"page":1}'
Replace YOUR_API_KEY with your key
Response
[
  {
    "id": "scan_example_0001",
    "submitted_url": "https://www.example.com",
    "domain": "www.example.com",
    "status": "DONE",
    "submitted_date": "2026-01-01T12:00:00Z"
  }
]
  • Takes: URL
  • Passive: the target is not contacted
  • Cost: 1 request of the daily quota

scan_id is omitted when the URL is not yet in the system.

Request body (JSON) · 1Show

urlstringalways present

URL to check, 10 to 500 characters

Response fields · 4Show

urlstring

URL checked

statusstring

SAFE, MALICIOUS or UNRATED

malicious_scorenumber

Score from 0 to 1

scan_idstring

Matching scan, if any

curl -X POST 'https://api.urldna.io/v1/fast-check' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.example.com/login"}'
Replace YOUR_API_KEY with your key
Response
{
  "url": "https://www.example.com/login",
  "status": "UNRATED",
  "malicious_score": 0.1,
  "scan_id": "scan_example_0001"
}

Account

  • Passive: the target is not contacted

Shows your API quota for the current 24-hour period.

Response fields · 3Show

daily_quota_limitinteger

Maximum requests per 24-hour period

quotainteger

Requests used in the current period

remaininginteger

Requests left

curl 'https://api.urldna.io/v1/user/usage' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "daily_quota_limit": 100,
  "quota": 12,
  "remaining": 88
}