# cache-headers-check

> cache-headers-check 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).

Fetches and parses HTTP caching headers for a URL, including Cache-Control directives, ETag, Last-Modified, Expires, Age, and CDN cache status headers.

## Facts

- Endpoint: GET https://intel.rallylive.ca/site/cache-headers
- 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/cache-headers-check-9d737349
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sm-yRG3D--a1_nBaA0Geo

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 cache-headers-check-9d737349
```

Example prompt: Can you check the caching headers for https://example.com and tell me what Cache-Control directives are set, whether there's an ETag, and what the Cloudflare cache status is?

## When to prefer this

Use this endpoint when you need to inspect, debug, or audit HTTP caching behavior for a specific URL — especially when diagnosing CDN cache misses, verifying cache-control policies, or auditing security-sensitive pages for no-store compliance. Prefer this over manually inspecting headers when you need structured, parsed output of all caching-related directives in one call.

## Known failure modes

- URL is unreachable or returns a network error — no headers returned
- URL returns a redirect and caching headers may reflect the redirect response, not the final destination
- CDN headers like cf-cache-status absent if the site doesn't use Cloudflare or a supported CDN
- Invalid or malformed URL input — request fails with validation error
- Rate limiting or access restrictions on the target URL may prevent header retrieval

## How this service works

Caching headers check: Cache-Control directives parsed (max-age, s-maxage, public/private, no-store, immutable, stale-while-revalidate), ETag, Last-Modified, Expires, Age, and CDN cache status headers (cf-cache-status, x-cache). Debug caching and CDN behaviour. $0.01 per URL.

## Output

A structured breakdown of all HTTP caching headers for the requested URL, including parsed Cache-Control directives (max-age, s-maxage, public/private, no-store, immutable, stale-while-revalidate), ETag, Last-Modified, Expires, Age, and CDN-specific headers such as cf-cache-status and x-cache.

## 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/cache-headers-check-9d737349/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)
