Back to skills
SKILL.md
Cloudflare Registrar
ASecurityCloudflare Registrar: domain availability check, prices, registration via API.
- 10 stars
- 0 votes
- 0 copies
- 0 views
- Added October 10, 2026
Works with
Security analysis
100/100npx -y skills add mouadja02/skills --skill cloudflare-registrar --agent claude-codeAre you the author of Cloudflare Registrar?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mouadja02-cloudflare-registrar)---
name: cloudflare-registrar
description: "Cloudflare Registrar: domain availability check, prices, registration via API."
source: "https://github.com/steipete/agent-scripts"
attribution: "steipete/agent-scripts by Peter Steinberger"
version: "1.0.0"
---
# Cloudflare Registrar
> **Attribution:** Sourced from [steipete/agent-scripts](https://github.com/steipete/agent-scripts) by [Peter Steinberger](https://github.com/steipete).
## When to Use
- Checking domain name availability via Cloudflare API
- Querying Cloudflare Registrar pricing for TLDs
- Registering domains through the Cloudflare Registrar API
Use for Cloudflare Registrar domain availability, pricing, listing, and registration.
## Guardrails
- Always run `domain-check` immediately before registration.
- Registration is billable/non-refundable. Get explicit confirmation before registering.
- Do not print tokens or secrets.
## Required Credentials
- `CLOUDFLARE_ACCOUNT_ID`
- `CLOUDFLARE_API_TOKEN` (with Registrar permissions)
## Check Availability / Pricing
```bash
curl -s -X POST \
"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/registrar/domain-check" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains": ["example.com"]}' | jq '.result'
```
## List Registrations
```bash
curl -s \
"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/registrar/registrations" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" | jq '.result[] | {domain, expires_at, auto_renew}'
```
## Register (after explicit confirmation)
```bash
curl -s -X POST \
"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/registrar/registrations" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"domain_name": "example.com",
"auto_renew": false,
"privacy_mode": "redaction"
}' | jq '.result'
```
## Notes
- Always confirm pricing in `domain-check` before registering.
- Registration is immediate and non-reversible — require explicit user confirmation.
- `privacy_mode: "redaction"` enables WHOIS privacy.
Attribution
Comments
Loading comments…