Skip to content
Back to skills

Cloudflare Registrar

ASecurity

Cloudflare Registrar: domain availability check, prices, registration via API.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 10, 2026
ai-agentsbashrailsgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 10, 2026

npx -y skills add mouadja02/skills --skill cloudflare-registrar --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cloudflare Registrar?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cloudflare Registrar
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-cloudflare-registrar/badge)](https://www.skillsdirectory.com/skills/mouadja02-cloudflare-registrar)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…