# Pricing State API — Cloudflare Pricing Snapshot

> Pricing State API — Cloudflare Pricing Snapshot is a paid API for AI agents from pricing-state-api.replit.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns a structured snapshot of Cloudflare's current pricing plans, including plan names, prices, currency, billing period, and features, fetched on a ~6-hour schedule.

## Facts

- Endpoint: GET https://pricing-state-api.replit.app/api/monitors/cloudflare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pricing-state-api-cloudflare-pricing-snapshot-f254b640
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mMri4VOrm0_MVcoGqQpHV

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 pricing-state-api-cloudflare-pricing-snapshot-f254b640
```

Example prompt: What are Cloudflare's current pricing plans, including plan names, prices, and features — give me the latest structured snapshot.

## When to prefer this

Choose this endpoint when you need machine-readable, structured Cloudflare pricing data without scraping their website yourself. It is ideal for agents doing competitive analysis, pricing change detection, or populating pricing comparison tools. Prefer this over general web-scraping when you want clean, pre-parsed JSON with a known schema refreshed on a regular ~6-hour cadence, and when you are already using an x402-compatible wallet.

## Known failure modes

- 404 if the slug 'cloudflare' is not in the catalog (returned before charge)
- 503 if the monitor exists but has not completed its first successful check (returned before charge)
- Payment failure if wallet lacks sufficient USDC on Base
- x402 handshake failure if client does not support the x402 payment protocol

## How this service works

$0.01 USDC required (x402 / Base)

Paid 0.01 USDC. Structured snapshot for one catalog slug: plan names, prices, currency, billing period, price text, features when present, snapshot time. Unknown slug returns 404 and a monitor with no first successful check returns 503, both before charge.

No API key needed. Pay with any x402-compatible wallet that holds USDC on Base. If your agent does not yet have a funded wallet, set one up via Coinbase Agentic Wallet or Base MCP — then standard x402 clients will pay and retry automatically.

## Output

A structured JSON snapshot containing Cloudflare's current pricing plans: plan names, prices, currency, billing period, human-readable price text, features (when present), and the timestamp of when the snapshot was taken. Returns 404 if the slug is unknown, 503 if no successful check has been made yet — both before any charge is applied.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "example": "linear",
       "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
       "description": "One monitor slug from the free catalog at GET /api/monitors — not the only paid monitor; every enabled slug in the catalog is a paid resource. The path template itself is a placeholder, not a vendor."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/pricing-state-api-cloudflare-pricing-snapshot-f254b640/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pricing-state-api.replit.app](https://www.zero.xyz/host/pricing-state-api.replit.app/llms.txt)
