# HTTPay Cloudflare API Gateway (Create Zone)

> HTTPay Cloudflare API Gateway (Create Zone) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Creates a new Cloudflare zone via a pay-per-call API gateway using x402 micropayments, proxying the POST /zones endpoint of the Cloudflare v4 API.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/cloudflare/client/v4/zones
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-cloudflare-api-gateway-create-zone-dc3672a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hC7jf5CfN0-BzL_5TXPRn

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 httpay-cloudflare-api-gateway-create-zone-dc3672a9 -d '<json body>'
```

Example prompt: Add the domain acmecorp.com to Cloudflare as a full zone — create it under my account so I can manage its DNS and CDN settings.

## When to prefer this

Use this endpoint when you need to create Cloudflare zones programmatically without managing a Cloudflare API key subscription yourself, paying only $0.002 USDC per call via x402 micropayments. Ideal for automation pipelines, multi-tenant SaaS onboarding flows, or agents that need to spin up Cloudflare zones on demand without upfront API credential management.

## Known failure modes

- Domain already exists as a Cloudflare zone — returns 400 with duplicate zone error
- Invalid domain name format — returns 400 validation error
- Payment failure or insufficient USDC balance — returns 402 Payment Required
- Cloudflare API key or account permissions issue on the gateway side — returns 403
- Rate limiting by upstream Cloudflare API — returns 429

## How this service works

API Gateway: Cloudflare API

## Output

Returns a Cloudflare zone object including the new zone ID, assigned name servers, activation status, and plan details for the newly created zone.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-cloudflare-api-gateway-create-zone-dc3672a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
