# SiteSignal Public API Endpoint Sanity Check

> SiteSignal Public API Endpoint Sanity Check is a paid API for AI agents from phases-prot-shine-royal.trycloudflare.com, paid per call via x402, $0.05/call, status down (last checked 2026-09-15).

Runs a single unauthenticated GET request against a public API URL and reports HTTP status, redirects, response hash, and optional text-presence assertion results.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/api-sanity
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-public-api-endpoint-sanity-check-32196c7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PbqImu8iviONNS0mWwA-s

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 sitesignal-public-api-endpoint-sanity-check-32196c7a
```

Example prompt: Can you do a quick sanity check on https://api.example.com/v1/health to make sure it returns a 200 status and contains the text 'status: ok'?

## When to prefer this

Use this endpoint when you need a lightweight, unauthenticated probe of a single public API URL — especially when you want to combine status checking, redirect detection, response fingerprinting, and optional text assertion in a single call. Prefer this over a full monitoring service when you just need a one-off or pre-flight check without setting up recurring jobs or authentication flows.

## Known failure modes

- Target URL is unreachable or DNS fails — returns error with connection failure detail
- Target URL returns an unexpected status code — reports actual vs expected status
- Expected text string not found in response body — assertion failure indicated in result
- Redirect loop or too many redirects — reported in redirect chain with truncation
- Target URL is not a valid URI — input validation error before request is made
- Timeout on slow or unresponsive endpoints — returns timeout error

## How this service works

Run one bounded unauthenticated GET against a public API endpoint and report status, redirects, response hash, and an optional text-presence assertion.

## Output

Returns the observed HTTP status code, any redirect chain encountered, a hash of the response body for change detection, and whether the optional expected text string was found in the response body (with case sensitivity applied as specified).

## 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",
       "format": "uri"
      },
      "expectedText": {
       "type": "string",
       "maxLength": 500
      },
      "caseSensitive": {
       "type": "boolean",
       "default": false
      },
      "expectedStatus": {
       "type": "integer",
       "default": 200,
       "maximum": 599,
       "minimum": 100
      }
     }
    }
   },
   "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/sitesignal-public-api-endpoint-sanity-check-32196c7a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phases-prot-shine-royal.trycloudflare.com](https://www.zero.xyz/host/phases-prot-shine-royal.trycloudflare.com/llms.txt)
