# Cloudflare Radar API

> Cloudflare Radar returns domain rankings and internet outage data as a workflow and API.

Cloudflare Radar, also called CF Radar, uses Get domain rank to return popularity, categories, and weekly history for a website domain or URL. List internet outages returns recent and ongoing outages, filtered optionally by country, lookback days, and maximum results.

- Page: https://fous.com/tools/cloudflare-radar
- Handle: `@cloudflare-radar`
- Category: [Marketing](https://fous.com/tools/category/marketing)
- Source website: https://radar.cloudflare.com
- Last verified: Sep 29, 2026

## Methods

### Get domain rank

Operation `get_domain_rank`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get a website’s worldwide popularity bucket, exact rank when shown, categories, and recent weekly rank history from Cloudflare Radar. Historical rank points are available only for top-100 domains; other ranked domains have an empty history.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `website` | string | yes | `"https://google.com/search"` | Website domain or URL, for example notion.so or https://notion.so/help. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "website"
  ],
  "properties": {
    "website": {
      "type": "string",
      "description": "Website domain or URL, for example notion.so or https://notion.so/help.",
      "examples": [
        "https://google.com/search",
        "notion.so"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "website": "https://google.com/search"
    },
    {
      "website": "notion.so"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `domain` | string | `"google.com"` |  |
| `categories` | array |  |  |
| `exact_rank` | integer or null | `1` |  |
| `radar_link` | string | `"https://radar.cloudflare.com/domains/domain/google.com"` |  |
| `rank_history` | array |  | Weekly rank points when the domain is in the top 100. |
| `rank_history[].date` | string | `"2026-09-29"` |  |
| `rank_history[].rank` | integer | `1` |  |
| `rank_history[].bucket` | string | `"Top 100"` |  |
| `popularity_rank_bucket` | string | `"Top 100"` |  |

**Example input**

```json
{
  "website": "https://google.com/search"
}
```

**Example output**

```json
{
  "domain": "google.com",
  "categories": [
    "Search Engines"
  ],
  "exact_rank": 1,
  "radar_link": "https://radar.cloudflare.com/domains/domain/google.com",
  "rank_history": [
    {
      "date": "2026-09-29",
      "rank": 1,
      "bucket": "Top 100"
    },
    {
      "date": "2026-09-22",
      "rank": 1,
      "bucket": "Top 100"
    },
    {
      "date": "2026-09-15",
      "rank": 1,
      "bucket": "Top 100"
    }
  ],
  "popularity_rank_bucket": "Top 100"
}
```

### List internet outages

Operation `list_internet_outages`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

List recent and ongoing outages shown in Cloudflare Radar’s Outage Center, optionally for one country. Countries and scope are null when the Outage Center does not identify them.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `days` | integer | no | `7` | Number of days to look back, such as 7. |
| `country` | string | no | `"Iraq"` | Country name or two-letter code, such as Iraq or IQ; omit for all countries. |
| `max_results` | integer | no | `3` | Maximum outages to return, such as 50. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "days": {
      "type": "integer",
      "default": 7,
      "maximum": 90,
      "minimum": 1,
      "description": "Number of days to look back, such as 7.",
      "examples": [
        7,
        30,
        1
      ]
    },
    "country": {
      "type": "string",
      "default": "",
      "description": "Country name or two-letter code, such as Iraq or IQ; omit for all countries.",
      "examples": [
        "Iraq",
        "US",
        "Guyana"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 50,
      "maximum": 200,
      "minimum": 1,
      "description": "Maximum outages to return, such as 50.",
      "x-fous-developer": true,
      "examples": [
        3,
        200
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "days": 7
    },
    {
      "days": 30,
      "country": "Iraq",
      "max_results": 3
    },
    {
      "days": 1,
      "country": "US"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `outages` | array |  |  |
| `outages[].end` | string or null | `"2026-09-28T03:45:00+00:00"` | Outage end, or null while ongoing. |
| `outages[].cause` | string or null | `"Government directed"` | Reported cause in words. |
| `outages[].scope` | string or null |  | Reported scope when provided. |
| `outages[].start` | string | `"2026-09-28T03:30:00+00:00"` | Outage start, ISO 8601 with UTC offset. |
| `outages[].country` | string or null | `"Iraq"` | Affected country or countries, if specified. |
| `outages[].ongoing` | string | `"no"` |  |
| `outages[].radar_link` | string | `"https://radar.cloudflare.com/traffic/iq?dateStart=2026-09-28&dateEnd=2026-09-28"` | Cloudflare Radar traffic chart for the outage. |
| `outages[].affected_region_or_network` | string or null | `"AS199739, AS203214, AS51684, AS58322, AS59588"` | Affected networks, if shown. |

**Example input**

```json
{
  "days": 7
}
```

**Example output**

```json
{
  "outages": [
    {
      "end": "2026-09-28T03:45:00+00:00",
      "cause": "Government directed",
      "scope": null,
      "start": "2026-09-28T03:30:00+00:00",
      "country": "Iraq",
      "ongoing": "no",
      "radar_link": "https://radar.cloudflare.com/traffic/iq?dateStart=2026-09-28&dateEnd=2026-09-28",
      "affected_region_or_network": "AS199739, AS203214, AS51684, AS58322, AS59588"
    },
    {
      "end": "2026-09-28T00:45:00+00:00",
      "cause": "Unknown",
      "scope": null,
      "start": "2026-09-27T22:00:00+00:00",
      "country": null,
      "ongoing": "no",
      "radar_link": "https://radar.cloudflare.com/traffic/as206065?dateStart=2026-09-27&dateEnd=2026-09-28",
      "affected_region_or_network": "AS206065"
    },
    {
      "end": "2026-09-26T03:45:00+00:00",
      "cause": "Government directed",
      "scope": null,
      "start": "2026-09-26T03:30:00+00:00",
      "country": "Iraq",
      "ongoing": "no",
      "radar_link": "https://radar.cloudflare.com/traffic/iq?dateStart=2026-09-26&dateEnd=2026-09-26",
      "affected_region_or_network": "AS199739, AS203214, AS51684, AS58322, AS59588"
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@cloudflare-radar",
  "visibility": "public",
  "operation": "get_domain_rank",
  "version": 1,
  "input": {
    "website": "https://google.com/search"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@cloudflare-radar\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_domain_rank\",\n  \"version\": 1,\n  \"input\": {\n    \"website\": \"https://google.com/search\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@cloudflare-radar",
  "visibility": "public",
  "operation": "get_domain_rank",
  "version": 1,
  "input": {
    "website": "https://google.com/search"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/cloudflare-radar`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_domain_rank`: Get domain rank. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `list_internet_outages`: List internet outages. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-cloudflare-radar https://api.fous.com/mcp/tools/cloudflare-radar --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Compare a website’s popularity rank and categories.
- Track weekly rank history for top-100 domains.
- Review recent and ongoing outages by country.
- Summarize outage causes, affected areas, and timing.

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Cloudflare Radar tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Cloudflare Radar account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from radar.cloudflare.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What is a website’s worldwide rank?

Get domain rank returns its popularity bucket and exact rank when shown.

### How has a website’s rank changed over time?

Get domain rank returns weekly rank history for top-100 domains.

### Which internet outages are recent or ongoing?

List internet outages returns outages for a chosen lookback period, optionally filtered by country.

## Related

- [Similarweb API](https://fous.com/tools/similarweb.md): Similarweb provides website traffic estimates and digital market intelligence, including monthly traffic, rankings, engagement, top countries, and category and country leaders; anonymous access may limit results.
- [Downdetector API](https://fous.com/tools/downdetector.md): Real-time user reports of service outages and problems.
- [BuiltWith API](https://fous.com/tools/builtwith.md): Discover technologies used by websites.
- [Google Trends API](https://fous.com/tools/google-trends.md): Google Trends compares relative search interest over time and by region, shows related searches and current trends, with daily peaks for seven-day views.
- [Google Public DNS API](https://fous.com/tools/google-public-dns.md): Public DNS lookups and DNS-over-HTTPS from Google.
- [IMF API](https://fous.com/tools/imf.md): IMF economic data provides country and regional forecasts with actual or forecast labels, and country rankings by World Economic Outlook indicators, excluding groups and missing values.
- [Bilibili API](https://fous.com/tools/bilibili.md): Bilibili provides public video details and statistics, plus current overall or category rankings; movie rankings omit some video details.
- [Flightradar24 API](https://fous.com/tools/flightradar24.md): Flightradar24 provides live flight tracking, recent history, flight status and times, plus upcoming airport departures and arrivals; history and schedules are limited to recent and upcoming flights.
- [All Marketing tools](https://fous.com/tools/category/marketing)
