castomAPI
Get your key

Developer & cloud · 37 operations

Cloudflare API

Zones, DNS, KV, R2, Pages, Workers, rulesets and cache — thirty-seven operations.

Integrations 1–3 tokens API key

Endpoints in Cloudflare

GETList KV namespaces on the connected Cloudflare account/v1/cloudflare/kv/namespaces1 token POSTCreate a KV namespace/v1/cloudflare/kv/namespaces1 token DELETEDelete a KV namespace/v1/cloudflare/kv/namespaces/{id}1 token GETList keys in a KV namespace/v1/cloudflare/kv/namespaces/{id}/keys1 token DELETEDelete a KV value/v1/cloudflare/kv/namespaces/{id}/values/{key}1 token GETRead a KV value/v1/cloudflare/kv/namespaces/{id}/values/{key}1 token PUTWrite a KV value Text values only in this pass/v1/cloudflare/kv/namespaces/{id}/values/{key}1 token GETThe connected Cloudflare account and its GRANTED scopes/v1/cloudflare/me1 token GETList Pages projects on the connected Cloudflare account/v1/cloudflare/pages/projects1 token POSTCreate a Pages project The git repository must already be authorized on…/v1/cloudflare/pages/projects1 token DELETEDelete a Pages project/v1/cloudflare/pages/projects/{projectName}1 token GETRead one Pages project/v1/cloudflare/pages/projects/{projectName}1 token GETList deployments for a Pages project/v1/cloudflare/pages/projects/{projectName}/deployments1 token POSTTrigger a new deployment from the project's already-connected git…/v1/cloudflare/pages/projects/{projectName}/deployments1 token GETRead one deployment/v1/cloudflare/pages/projects/{projectName}/deployments/{deploymentId}1 token GETRead a deployment's build logs/v1/cloudflare/pages/projects/{projectName}/deployments/{deploymentId}/history/logs1 token POSTRetry a previous deployment/v1/cloudflare/pages/projects/{projectName}/deployments/{deploymentId}/retry1 token GETList R2 buckets on the connected Cloudflare account/v1/cloudflare/r2/buckets1 token POSTCreate an R2 bucket/v1/cloudflare/r2/buckets1 token DELETEDelete an R2 bucket/v1/cloudflare/r2/buckets/{bucketName}1 token GETRead one R2 bucket/v1/cloudflare/r2/buckets/{bucketName}1 token GETList Worker scripts on the connected Cloudflare account/v1/cloudflare/workers/scripts1 token DELETEDelete a Worker script/v1/cloudflare/workers/scripts/{name}1 token GETRead a Worker script's source/v1/cloudflare/workers/scripts/{name}1 token PUTUpload (create or overwrite) a Worker script/v1/cloudflare/workers/scripts/{name}3 tokens GETList zones on the connected Cloudflare account/v1/cloudflare/zones1 token GETRead one zone/v1/cloudflare/zones/{zoneId}1 token POSTPurge cache for a zone "everything"/"tags"/"hosts"/"prefixes" are…/v1/cloudflare/zones/{zoneId}/cache/purge1 token GETList DNS records for a zone/v1/cloudflare/zones/{zoneId}/dns-records1 token POSTCreate a DNS record/v1/cloudflare/zones/{zoneId}/dns-records1 token POSTAtomically create/update/delete several DNS records in one callFLAT…/v1/cloudflare/zones/{zoneId}/dns-records/batch1 token DELETEDelete a DNS record/v1/cloudflare/zones/{zoneId}/dns-records/{recordId}1 token GETRead one DNS record/v1/cloudflare/zones/{zoneId}/dns-records/{recordId}1 token PATCHUpdate a DNS record (partial/v1/cloudflare/zones/{zoneId}/dns-records/{recordId}1 token GETList rulesets for a zone/v1/cloudflare/zones/{zoneId}/rulesets1 token GETRead one ruleset/v1/cloudflare/zones/{zoneId}/rulesets/{rulesetId}1 token GETRead all settings for a zone (56 keys) Read only/v1/cloudflare/zones/{zoneId}/settings1 token

Cost and limits

This operation costs 1–3 tokens. A call that fails is never billed. Every account gets 1000 free tokens a month; paid balances never expire.

Rate limits per minute

No key 10 · Free 60 · Pro 300 · Enterprise 1200 ·

Developer & cloud