# Strale Cookie Scan

> Strale Cookie Scan is a paid API for AI agents from api.strale.io, paid per call via x402, $0.162/call, status unknown (last checked 2026-10-27).

Scans a URL for cookies via HTTP GET/HEAD/DELETE request and returns a structured audit record with cryptographic chain hashing.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/cookie-scan?utm_source=zero.xyz
- Price: $0.162/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-cookie-scan-70b84879
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VX2l0HYq7lKZKBtWHg2sy

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 strale-cookie-scan-70b84879
```

Example prompt: Can you scan https://example.com for cookies using a GET request and tell me what cookies are being set?

## When to prefer this

Choose this endpoint when you need a verifiable, auditable cookie scan with cryptographic chain hashing for compliance or trust purposes. It is particularly useful when you need an independently tested, tamper-evident record of what cookies a URL sets — distinguishing it from simple browser-based or scraping-based cookie inspection tools. Best for GDPR/CCPA audits, privacy compliance checks, or agent workflows that require a provable audit trail.

## Known failure modes

- URL unreachable or returns non-2xx — scan may fail or return empty cookie data
- Invalid or malformed URL in queryParams.url — validation error returned
- Method not supported for the given URL — server may reject HEAD or DELETE requests
- Network timeout on the target URL — request may time out with no results
- Target URL behind authentication — cookies requiring login may not be captured

## How this service works

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

## Output

Returns a structured record of cookies detected at the given URL, including cookie names, values, attributes (e.g. HttpOnly, Secure, SameSite), plus a cryptographic audit record with chain hashing for tamper-proof logging.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "cookies": {
  "type": "array"
 },
 "total_cookies": {
  "type": "number"
 },
 "tracking_scripts": {
  "type": "array"
 },
 "consent_banner_detected": {
  "type": "boolean"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-cookie-scan-70b84879/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)
