# SiteCheck Tracker Detection

> SiteCheck Tracker Detection is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Scans a webpage for third-party trackers, cookies, consent managers, and analytics tools embedded on the page

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/trackers?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-tracker-detection-505e935c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tuh-MfzlEQ4BjsyLQdfUN

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 sitecheck-tracker-detection-505e935c
```

Example prompt: Can you scan https://www.nytimes.com/ for trackers and tell me what third-party scripts, cookies, and consent managers it's running?

## When to prefer this

Use this endpoint when you need to quickly identify what third-party trackers, analytics tools, cookies, and consent managers a specific webpage embeds at the static HTML level. It is ideal for privacy audits, GDPR/CCPA compliance checks, and competitive intelligence on tracking stacks. Prefer this over a full browser-based audit when speed matters and JavaScript-rendered trackers are not the primary concern.

## Known failure modes

- Invalid or malformed URL returns an error
- Non-HTTPS URLs may be rejected
- JavaScript-injected trackers are not detected (static HTML only)
- Private or localhost URLs will fail
- Rate limiting or payment failure returns 402
- Paywalled or bot-protected pages may return incomplete results

## How this service works

Third-party script and iframe hosts on a page, each classified (analytics, ads, tag manager, chat, session replay, social, consent, CDN), the cookies its first response sets (names and flags only, never values) and whether a known consent manager is present. Static HTML only: scripts added at run time are not seen.

## Output

Returns a JSON object with the scanned URL, timestamp, a list of third-party trackers with their categories, all cookies set (including security flags like Secure/HttpOnly/SameSite), the detected consent manager (if any), a total third-party count, and an attribution note. Analysis is static HTML only — JavaScript-rendered trackers are not detected.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Page address, https://…"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.wikipedia.org/",
  "note": "Static HTML only: no JavaScript is run, so scripts that a tag manager adds at run time are not seen.",
  "source": "https://www.wikipedia.org/",
  "checkedAt": "2026-10-14T07:00:49.999Z",
  "categories": [],
  "cookiesSet": [
   {
    "name": "WMF-Last-Access",
    "secure": true,
    "httpOnly": true,
    "sameSite": null
   },
   {
    "name": "WMF-Last-Access-Global",
    "secure": true,
    "httpOnly": true,
    "sameSite": null
   },
   {
    "name": "GeoIP",
    "secure": true,
    "httpOnly": false,
    "sameSite": null
   }
  ],
  "attribution": "Tracker classes from the bundled SiteCheck table (lib/data/extra-trackers.json)",
  "thirdParties": [],
  "consentManager": null,
  "thirdPartyCount": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-tracker-detection-505e935c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
