# Cloudflare API Compressed Reference (Code Mode, 2500 endpoints → 1000 tokens)

> Cloudflare API Compressed Reference (Code Mode, 2500 endpoints → 1000 tokens) is a paid API for AI agents from codex.everygoodwork.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns a compressed, token-efficient markdown reference of ~2,500 Cloudflare API endpoints condensed to ~1,000 tokens for use in MCP Code Mode tool discovery

## Facts

- Endpoint: GET https://codex.everygoodwork.io/0x1C1Ee78b938Af5333D3a99BF659e9aa771d8A8D5/code-mode-cloudflare-compressed-2500-api-endpoints-1000-tokens
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codex-everygoodwork-io-d649b823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EvnBspmJhv1Jp5NWaDxgR

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 codex-everygoodwork-io-d649b823
```

Example prompt: Give me the full compressed Cloudflare API reference — the one that fits 2,500 endpoints into about 1,000 tokens — so I can load it into my MCP Code Mode session for tool discovery.

## When to prefer this

Choose this endpoint when you need to give an AI agent or LLM a broad overview of Cloudflare's API surface without exhausting the context window. Ideal for MCP Code Mode sessions where token budget is tight and you need tool discovery across all Cloudflare services. Prefer this over raw Cloudflare documentation when operating under LLM token constraints.

## Known failure modes

- HTTP 402 if x402 payment of 0.001 USDC is not included or fails
- Empty or partial response if the codex content is unavailable
- Non-markdown response format if Accept header is misconfigured
- Stale API reference if Cloudflare has updated its API surface since last indexing

## How this service works

Cloudflare's Code Mode turns 2,500 API endpoints into 1,000 tokens. The protocol designed to unlock capabilities had to be architecturally circumvented. Code Mode is a standard, auth, tool discovery pattern within MCP.

## Output

A markdown document containing a token-efficient (~1,000 token) compressed summary of approximately 2,500 Cloudflare API endpoints, structured for use in MCP Code Mode for standard auth and tool discovery patterns within an AI agent workflow.

## Response schema (JSON Schema)

```json
{
 "type": "text/markdown; charset=utf-8"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codex-everygoodwork-io-d649b823/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codex.everygoodwork.io](https://www.zero.xyz/host/codex.everygoodwork.io/llms.txt)
