# Website Cookie & Consent Banner Scanner

> Website Cookie & Consent Banner Scanner is a paid API for AI agents from api.strale.io, paid per call via x402, $0.162/call, status unknown (last checked 2026-09-13).

Scans a website URL for cookies, tracking scripts, and consent banners, categorizing cookies as necessary, analytics, or marketing.

## Facts

- Endpoint: GET https://api.strale.io/x402/cookie-scan
- Price: $0.162/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-8be2cc6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FndEHCaJCQuDXPcNhdyho

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 api-strale-io-8be2cc6d
```

Example prompt: Can you scan https://example.com for all the cookies it sets and tell me which ones are necessary, which are analytics, and which are marketing — and whether it shows a consent banner?

## When to prefer this

Use this endpoint when you need to audit a specific website's cookie usage and consent compliance, categorize its tracking technologies, or verify whether a site presents a GDPR-style consent banner — particularly useful for privacy audits, compliance checks, or competitive research on data collection practices.

## Known failure modes

- URL is unreachable or returns a non-200 response — scan fails with an error
- Website blocks automated scanners (bot protection) — may return incomplete results
- URL is malformed or missing — returns validation error
- Website has no cookies at all — returns empty cookie lists
- Payment not provided or insufficient — returns 402 Payment Required

## How this service works

Scan a website for cookies, tracking scripts, and consent banners. Categorizes cookies as necessary/analytics/marketing.

## Output

Returns a categorized list of cookies found on the scanned website, classified as necessary, analytics, or marketing, along with detected tracking scripts and whether a consent banner is present.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://example.com"
  }
 }
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-8be2cc6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
