Cloudflare API guide

cloudflare.com

List your Cloudflare accounts, find domain name suggestions, and check live availability and pricing through Cloudflare Registrar.

Included services Cloudflare Registrar Domains

Actions and inputs

accounts list

List the Cloudflare accounts you can access.

registrar domain-search

Find domain name suggestions and preliminary availability.

Inputs account ID, search query

registrar domain-check

Check live availability and pricing for a domain name.

Inputs account ID, domain name

DNS records

Create

Add a DNS record to a zone you administer.

Inputs Zone, record type, name, value, TTL, and proxy setting where supported

Read

Review a record's configured value, TTL, and proxy status.

Inputs Zone, record name, and type

Update

Change a record in your zone after reviewing the effect on the service it supports.

Inputs Zone, record, and new value or settings

Delete

Remove a record from your zone after verifying that no service still needs it.

Inputs Zone, exact record, and confirmation