# SiteSignal Public API Endpoint Sanity Check

> SiteSignal Public API Endpoint Sanity Check is a paid API for AI agents from trinity-throw-thursday-gravity.trycloudflare.com, paid per call via x402, $0.05/call, status down (last checked 2026-09-16).

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

## Facts

- Endpoint: GET https://trinity-throw-thursday-gravity.trycloudflare.com/x402/api-sanity
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-public-api-endpoint-sanity-check-bf3b7174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0SMZ1JJRnny_B3Z2Ao5nQ

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-bf3b7174
```

Example prompt: Can you sanity-check https://api.example.com/health for me — confirm it returns a 200 and that the response body contains the word 'ok'?

## When to prefer this

Choose this endpoint when you need a fast, cheap, unauthenticated one-shot probe of a public API URL to verify liveness, status code, redirect behavior, and optional text presence — without setting up a full monitoring service. Ideal for pre-deployment checks, dependency validation, or quick sanity confirmation in an automated pipeline.

## Known failure modes

- Target URL is unreachable or times out — returns error status indicating connection failure
- URL fails URI format validation — returns 400-level error before request is made
- Expected text not found in response — assertion fails and result reflects mismatch
- Target returns unexpected HTTP status vs expectedStatus — assertion marked as failed
- Redirect loop or excessive redirects on target endpoint — may result in error or truncated chain report

## 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 final HTTP status code, any redirect chain encountered, a hash fingerprint of the response body, whether the optional expected text was found in the response, and overall pass/fail of the sanity check assertions.

## 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-bf3b7174/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trinity-throw-thursday-gravity.trycloudflare.com](https://www.zero.xyz/host/trinity-throw-thursday-gravity.trycloudflare.com/llms.txt)
