# urlDNA API reference

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

Source: https://osinttools.io/apis/urldna/ (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/urldna/

- Base URL: https://api.urldna.io
- Authentication: Bearer token in the `Authorization` header. Get a key: https://urldna.io/ Key is on your urlDNA profile page.
- Free tier: yes
- Rate limits: Daily quota: 100 requests (Free), 5,000 (Premium). Show Scan counts only when the scan is DONE or ERROR. No per-second limit stated.
- Vendor docs: https://docs.urldna.io/
- OpenAPI spec: https://docs.urldna.io/api-reference/openapi.json

## Overview

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.

## Errors

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

## Scans

### Submit a URL to be scanned in a headless browser.

`POST /v1/scan`

- Takes: URL, Domain
- Footprint: active (contacts the target)
- Cost: 1 request of the daily quota

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.

Response fields:

- `id` (string): Scan ID
- `submitted_url` (string): URL submitted
- `device` (string): DESKTOP or MOBILE
- `status` (string): PENDING, RUNNING, DONE, ERROR or PAGE_NOT_AVAILABLE
- `private_scan` (boolean): Whether the scan is private
- `submitted_date` (string): Submission time
- `origin` (string): USER, API or TELEGRAM

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

Example response (200):

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

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `scan_id` | path | string | yes | ID returned when the scan was created Example: scan_example_0001 |

Response fields:

- `scan.id` (string): Scan ID
- `scan.status` (string): PENDING, RUNNING, DONE, ERROR or PAGE_NOT_AVAILABLE
- `scan.domain` (string): Domain scanned
- `scan.target_url` (string): Final URL after redirects
- `ip_address` (object): IP address details
- `classification` (object): Threat classification
- `technologies` (array): Technologies detected
- `redirect_chains` (array): Redirect chains seen

```bash
curl 'https://api.urldna.io/v1/scan/scan_example_0001' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

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

## Search

### Search earlier scans with a query string or CQL.

`POST /v1/search`

- Takes: URL, Domain
- Footprint: passive (the target is not contacted)
- Cost: 1 request of the daily quota

Returns an array of scans, newest first.

Response fields:

- `[].id` (string): Scan ID
- `[].submitted_url` (string): URL submitted
- `[].domain` (string): Domain scanned
- `[].status` (string): Scan status
- `[].submitted_date` (string): Submission time

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

Example response (200):

```json
[
  {
    "id": "scan_example_0001",
    "submitted_url": "https://www.example.com",
    "domain": "www.example.com",
    "status": "DONE",
    "submitted_date": "2026-01-01T12:00:00Z"
  }
]
```

### Quick SAFE, MALICIOUS or UNRATED verdict for a URL.

`POST /v1/fast-check`

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

Response fields:

- `url` (string): URL checked
- `status` (string): SAFE, MALICIOUS or UNRATED
- `malicious_score` (number): Score from 0 to 1
- `scan_id` (string): Matching scan, if any

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

Example response (200):

```json
{
  "url": "https://www.example.com/login",
  "status": "UNRATED",
  "malicious_score": 0.1,
  "scan_id": "scan_example_0001"
}
```

## Account

### Daily quota, used and remaining requests.

`GET /v1/user/usage`

- Footprint: passive (the target is not contacted)

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

Response fields:

- `daily_quota_limit` (integer): Maximum requests per 24-hour period
- `quota` (integer): Requests used in the current period
- `remaining` (integer): Requests left

```bash
curl 'https://api.urldna.io/v1/user/usage' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "daily_quota_limit": 100,
  "quota": 12,
  "remaining": 88
}
```

---

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/
