# Which Anti-Bot Protects This Site? Cloudflare, DataDome, Akamai (`that_red_bird/anti-bot-detector`) Actor

Will my scraper work? For each URL: which anti-bot or WAF vendor protects it (Cloudflare, DataDome, Akamai, HUMAN, Imperva, Kasada, AWS WAF), the challenge type, whether a datacenter fetch passes, and which proxy tier to use. One request per profile, observation only.

- **URL**: https://apify.com/that_red_bird/anti-bot-detector.md
- **Developed by:** [mohamed alaya](https://apify.com/that_red_bird) (community)
- **Categories:** Developer tools, Automation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 url checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Which Anti-Bot Protects This Site? Cloudflare, DataDome, Akamai

For each URL: which anti-bot or WAF vendor protects it (Cloudflare, DataDome, Akamai, HUMAN/PerimeterX, Imperva, Kasada, AWS WAF and more), what kind of challenge it serves, whether a plain datacenter fetch gets through, and which proxy tier to plan for.
Built for scraper builders and data teams who want a "will my scraper work?" preflight before they invest.

### Input examples

```json
{ "urls": ["https://www.example.com/", "https://www.nike.com/"] }
```

Also test the Apify datacenter proxy:

```json
{ "urls": ["https://www.zillow.com/"], "proxyTiersToTest": ["datacenter"] }
```

URLs from a dataset (for example a Google Maps scraper):

```json
{ "datasetId": "YOUR_DATASET_ID", "websiteField": "website" }
```

### Input guide

| Field | Meaning |
|---|---|
| `urls`, `datasetId`, `websiteField` | What to check |
| `proxyTiersToTest` | `datacenter` and/or `residential`: repeat the browser-like request through that Apify proxy tier (residential is billed to your Apify account by data and needs a plan that includes it) |
| `maxUrls`, `concurrency`, `timeoutSeconds` | Limits |

### Output (one row per URL)

| Field | Meaning |
|---|---|
| `antiBotVendor`, `vendorConfidence`, `vendorEvidence[]` | Best match and the headers / cookies / page markers behind it |
| `otherVendorsSeen[]` | Other vendors or captcha providers seen |
| `challengeType` | `none`, `passive-sensor`, `js-challenge`, `captcha`, `block`, `rate-limit` |
| `datacenterFetchPasses` | A browser-header GET from an Apify datacenter IP returned 2xx without a challenge |
| `browserHeadersFetch`, `bareClientFetch` | Status / pass / time for a Chrome-like request and for a bare scraper-style client |
| `proxyTests` | Result per requested proxy tier |
| `recommendedProxyTier`, `recommendation` | `none`, `datacenter`, `browser`, `residential+browser` and advice |

Sample row (shortened):

```json
{ "type": "url", "url": "https://www.zillow.com/", "antiBotVendor": "HUMAN (PerimeterX)", "challengeType": "captcha",
  "datacenterFetchPasses": false, "browserHeadersFetch": { "status": 403 }, "recommendedProxyTier": "residential+browser" }
```

### Use it with

Run it before building a scraper for a target list; feed the passing URLs to a cheap HTTP scraper and the blocked ones to a browser Actor. Different from `tech-stack-detector`, which detects the CDN and technologies, not bot challenges.

### FAQ

**Does it bypass anything?** No. It sends one ordinary GET per profile and reads the response. Nothing is solved, replayed or forged.

**"Cloudflare (CDN/WAF in front, no bot challenge seen)"?** The site uses Cloudflare but served normal content to this request.

### Honest limits

A plain Node.js client from a datacenter IP: vendors that fingerprint TLS or run JavaScript may treat a real browser differently, and a site can protect only some paths or challenge after repeated requests. Some vendors (Amazon, Ticketmaster, Reddit in testing) block without exposing a recognisable vendor signature, so `antiBotVendor` can be empty while the fetch is blocked. Proxy tier advice is measured only for tiers you ask to test; otherwise it is a vendor heuristic.

### Price

**$0.002 per URL checked** (`url-checked`); errors free. Example: 500 URLs = $1.00.

# Actor input Schema

## `urls` (type: `array`):

Public URLs you plan to scrape or monitor, one per line. Each URL is fetched once with browser-like headers and once with a plain scraper-style client, and the responses are analysed for anti-bot vendors and challenges.

## `datasetId` (type: `string`):

Pick any dataset that has a column of website addresses, for example a Google Maps scraper run. Those URLs are added to the list above. Social-media links are skipped.

## `websiteField` (type: `string`):

Name of the field in the dataset that holds the address. Google Maps scrapers use 'website'. Only used when a dataset is selected.

## `proxyTiersToTest` (type: `array`):

Add 'datacenter' and/or 'residential' to repeat the browser-like request through that Apify proxy tier and report whether it passes. Residential traffic is billed to your Apify account by data used and needs a plan that includes it. Leave empty to test the direct datacenter fetch only.

## `maxUrls` (type: `integer`):

Upper limit on how many URLs are checked in one run.

## `concurrency` (type: `integer`):

How many URLs are checked at the same time. Different URLs on the same site are still requested one after another per check, so the load per site stays tiny.

## `timeoutSeconds` (type: `integer`):

How long to wait for a response before the request counts as failed.

## Actor input object example

```json
{
  "urls": [
    "https://www.cloudflare.com/",
    "https://www.nike.com/",
    "https://www.zillow.com/",
    "https://example.com/"
  ],
  "websiteField": "website",
  "proxyTiersToTest": [],
  "maxUrls": 50,
  "concurrency": 4,
  "timeoutSeconds": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `downloadCsv` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.cloudflare.com/",
        "https://www.nike.com/",
        "https://www.zillow.com/",
        "https://example.com/"
    ],
    "websiteField": "website",
    "proxyTiersToTest": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("that_red_bird/anti-bot-detector").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://www.cloudflare.com/",
        "https://www.nike.com/",
        "https://www.zillow.com/",
        "https://example.com/",
    ],
    "websiteField": "website",
    "proxyTiersToTest": [],
}

# Run the Actor and wait for it to finish
run = client.actor("that_red_bird/anti-bot-detector").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.cloudflare.com/",
    "https://www.nike.com/",
    "https://www.zillow.com/",
    "https://example.com/"
  ],
  "websiteField": "website",
  "proxyTiersToTest": []
}' |
apify call that_red_bird/anti-bot-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,that_red_bird/anti-bot-detector"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eSB2mg8MiBooffwP9/builds/Bq0aYV5MJe9TiFZ93/openapi.json
