# CDN Detection

> CDN Detection is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Detects which CDN or WAF provider serves a website by analyzing HTTP response headers, server names, and the announcing network of the site's IP address.

## Facts

- Endpoint: GET https://intel.rallylive.ca/site/cdn
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cdn-detection-e1af01f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_48hksZvsr221tDx4nceBv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cdn-detection-e1af01f9
```

Example prompt: Can you check what CDN provider is serving example.com — I want to know if it's Cloudflare, Akamai, Fastly, or something else?

## When to prefer this

Use this endpoint when you need to identify which CDN, reverse proxy, or WAF is in front of a website using header fingerprinting and network-level signals — especially when you want broad coverage across Cloudflare, Akamai, Fastly, CloudFront, Vercel, Netlify, Imperva, Sucuri, Bunny, KeyCDN, and Gcore in a single $0.01 call.

## Known failure modes

- Site is unreachable or returns no response headers — CDN cannot be determined
- IP does not belong to a known CDN ASN and headers are absent or ambiguous — returns no match or unknown
- Rate limiting or blocking of the probe request by the target site
- Domain does not resolve — DNS failure before any header inspection can occur

## How this service works

CDN detection for a site: from response headers (cf-ray, x-served-by, via, x-cache, x-akamai, x-amz-cf-id...), server names and the announcing network of the site's IP. Cloudflare, Akamai, Fastly, CloudFront, Vercel, Netlify, Imperva, Sucuri, Bunny, KeyCDN, Gcore and more. $0.01 per site.

## Output

Returns the detected CDN or WAF provider (e.g. Cloudflare, Akamai, Fastly, CloudFront, Vercel, Netlify, Imperva, Sucuri, Bunny, KeyCDN, Gcore) based on analysis of HTTP response headers (cf-ray, x-served-by, via, x-cache, x-akamai, x-amz-cf-id, etc.), server names, and the BGP announcing network of the site's IP address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cdn-detection-e1af01f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
