# Cloudflare Radar API reference

> Cloudflare's API includes Radar, with internet traffic and attack data, and a URL Scanner that loads a page and reports its requests, IPs, domains, certificates, technologies and verdicts. An investigator can use the scanner to see what a suspicious URL contacts and whether it is flagged. Requests…

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

- Base URL: https://api.cloudflare.com/client/v4
- Authentication: Bearer token in the `Authorization` header. Get a key: https://dash.cloudflare.com/profile/api-tokens
- Rate limits: Not stated in the docs
- Vendor docs: https://developers.cloudflare.com/radar/

## Overview

Cloudflare's API includes Radar, with internet traffic and attack data, and a URL Scanner that loads a page and reports its requests, IPs, domains, certificates, technologies and verdicts. An investigator can use the scanner to see what a suspicious URL contacts and whether it is flagged.

Requests go to `https://api.cloudflare.com/client/v4` with `Authorization: Bearer <API_TOKEN>`. For Radar, create a custom token with Account, Radar, Read. For the URL Scanner the token needs Account, URL Scanner, Edit, and paths include your account ID. The docs say Radar's API is free and its data is licensed CC BY-NC 4.0. Rate limits are not stated on the pages read.

Only a few endpoints are described here; the full Radar reference is at https://developers.cloudflare.com/api/resources/radar/. Scan results are kept for 12 months. Bulk scans (up to 100 URLs) and the screenshot and HAR endpoints exist but are not described. The scan search endpoint is not described because the docs read do not show its response.

## URL Scanner

### Submit a URL for scanning.

`POST /accounts/{account_id}/urlscanner/v2/scan`

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

Queues a scan and returns its uuid. Poll the result endpoint every 10 to 30 seconds. Public scans appear in recent scans and search; unlisted ones are reachable only by scan ID.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `account_id` | path | string | yes | Your Cloudflare account ID Example: YOUR_ACCOUNT_ID |

Response fields:

- `uuid` (string): ID of the scan

```bash
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_ID/urlscanner/v2/scan' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com/","visibility":"Unlisted"}'
```

Example response (200):

```json
{
  "uuid": "00000000-0000-4000-8000-000000000000"
}
```

### Get the report of a finished scan.

`GET /accounts/{account_id}/urlscanner/v2/result/{scan_id}`

- Footprint: passive (the target is not contacted)

Returns 404 while the scan is in progress and 200 when it has finished.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `account_id` | path | string | yes | Your Cloudflare account ID Example: YOUR_ACCOUNT_ID |
| `scan_id` | path | string | yes | The uuid returned when the scan was submitted Example: 00000000-0000-4000-8000-000000000000 |

Response fields:

- `task.uuid` (string): Scan ID
- `task.url` (string): Submitted URL
- `task.success` (boolean): Whether the scan worked
- `task.status` (string): For example Queued, InProgress, Finished
- `page.url` (string): Final URL after redirects
- `page.country` (string): Country of the page
- `data.requests` (array): Requests the page made
- `meta.processors` (object): Domain categories, phishing, Radar rank and detected technologies
- `lists.ips` (array): IPs contacted
- `lists.domains` (array): Domains contacted, with DNS records
- `verdicts.overall.malicious` (boolean): Overall verdict

```bash
curl 'https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_ID/urlscanner/v2/result/00000000-0000-4000-8000-000000000000' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "task": {
    "uuid": "00000000-0000-4000-8000-000000000000",
    "url": "https://example.com/",
    "success": true,
    "status": "Finished"
  },
  "page": {
    "url": "https://example.com/",
    "country": "US"
  },
  "lists": {
    "ips": [
      "192.0.2.10"
    ],
    "domains": [
      "example.com"
    ]
  },
  "verdicts": {
    "overall": {
      "malicious": false
    }
  }
}
```

## Radar

### Share of HTTP traffic by device type.

`GET /radar/http/summary/device_type`

- Footprint: passive (the target is not contacted)

The docs use this as the first-request example. Radar has many other summary and time-series endpoints in its reference.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `dateRange` | query | string | no | Period to cover Example: 7d |
| `format` | query | string | no | Output format Example: json |

Response fields:

- `success` (boolean): Whether the call worked
- `errors` (array): Errors, if any
- `result.summary_0.desktop` (string): Percent of desktop traffic
- `result.summary_0.mobile` (string): Percent of mobile traffic
- `result.summary_0.other` (string): Percent of other traffic
- `result.meta.dateRange` (object): Start and end time of the data
- `result.meta.normalization` (string): Normalization method, such as PERCENTAGE

```bash
curl 'https://api.cloudflare.com/client/v4/radar/http/summary/device_type' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "success": true,
  "errors": [],
  "result": {
    "summary_0": {
      "desktop": "50.000000",
      "mobile": "49.900000",
      "other": "0.100000"
    },
    "meta": {
      "dateRange": {
        "startTime": "2026-01-01T00:00:00Z",
        "endTime": "2026-01-08T00:00:00Z"
      },
      "normalization": "PERCENTAGE"
    }
  }
}
```

---

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/
