# SiteSignal Docs to OpenAPI

> SiteSignal Docs to OpenAPI 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).

Extracts API operations observed in public documentation and produces a conservative OpenAPI draft without inventing schemas.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/docs-openapi
- 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-docs-to-openapi-b8d79d90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rd1M0G_THY5iGskwxZN71

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-docs-to-openapi-b8d79d90
```

Example prompt: Can you pull the public API docs at https://stripe.com/docs/api and extract all the observed API operations into an OpenAPI JSON draft — don't invent any schemas, just what's actually documented there?

## When to prefer this

Choose this endpoint when you need a machine-readable OpenAPI draft grounded strictly in what a public documentation page actually says — ideal for integrating with third-party APIs that lack an official OpenAPI spec, auditing API surface area, or bootstrapping client generation. Prefer it over manual spec authoring or LLM hallucination when accuracy and source-fidelity matter. Not suitable for private or auth-gated documentation.

## Known failure modes

- Documentation URL is not publicly accessible or returns non-200 response
- Documentation page contains no recognizable API operations
- URL points to non-documentation content (e.g. marketing page)
- Rate limiting or bot protection on the target docs site blocks access
- Output truncated if documentation is very large and exceeds bounded fetch limits
- Invalid docsUrl format triggers schema validation error

## How this service works

Extract source-observed API operations from public documentation into a conservative OpenAPI draft without inventing schemas.

## Output

Returns a conservative OpenAPI draft (JSON or YAML) containing only API operations explicitly observed in the provided public documentation, including paths, HTTP methods, and schemas found in the source — without hallucinating or inventing missing details.

## 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": [
      "docsUrl"
     ],
     "properties": {
      "docsUrl": {
       "type": "string",
       "format": "uri"
      },
      "targetFormat": {
       "enum": [
        "json",
        "yaml"
       ],
       "type": "string",
       "default": "json"
      },
      "endpointFocus": {
       "type": "string"
      }
     }
    }
   },
   "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-docs-to-openapi-b8d79d90/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)
