# SiteSignal Tested Code Assets

> SiteSignal Tested Code Assets 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-16).

Download dependency-free, tested TypeScript finite-state-machine, Python token-bucket rate-limiter, and Python CSV-deduplication source files with SHA-256 hashes.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/code-assets
- 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-tested-code-assets-67de5474
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bRPJDMmfflMPKODwyefbY

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-tested-code-assets-67de5474
```

Example prompt: Can you download the Python token-bucket rate-limiter source file with its tests and SHA-256 hash from SiteSignal's tested code assets?

## When to prefer this

Choose this endpoint when you need ready-to-use, dependency-free source code implementations of a finite state machine (TypeScript), token-bucket rate limiter (Python), or CSV deduplication utility (Python), complete with tests and SHA-256 hashes for integrity verification — rather than generating code from scratch or searching general code repositories.

## Known failure modes

- Invalid asset enum value returns an error or empty response
- Network timeouts from the Cloudflare tunnel proxy
- Payment not processed results in 402 response blocking asset download
- Temporary unavailability of the Cloudflare tunnel endpoint

## How this service works

Download dependency-free, tested TypeScript finite-state-machine, Python token-bucket rate-limiter, and Python CSV-deduplication source files with executable tests and SHA-256 hashes.

## Output

Returns one or more source code files (TypeScript FSM, Python rate limiter, Python CSV deduplication utility) along with their executable test suites and SHA-256 integrity hashes. The 'all' option returns all three assets together.

## 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": [],
     "properties": {
      "asset": {
       "enum": [
        "all",
        "typescript-fsm",
        "python-rate-limiter",
        "python-csv-dedup"
       ],
       "type": "string",
       "default": "all"
      }
     }
    }
   },
   "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-tested-code-assets-67de5474/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)
