Build on Cache.bz

A predictable REST API, official SDKs and a Terraform provider. Everything you can do in the dashboard, you can automate.

API referenceSDKs & tools

Your first request

Create a token in Account → API tokens, then list your sites:

curl https://api.cache.bz/v1/sites \
  -H "Authorization: Bearer $CACHEBZ_TOKEN"

 

{
  "data": [
    {
      "id": "st_8KfQ2m",
      "hostname": "www.example.com",
      "origin": "https://origin.example.com",
      "status": "active",
      "created_at": "2026-06-02T09:14:11Z"
    }
  ],
  "next_cursor": null
}

Scoped tokens

Limit each token to specific sites and permissions, with an optional expiry date.

Rate limits

1,200 requests per minute per token. Remaining quota is returned in every response header.

Webhooks

Get notified when certificates renew, purges complete or a site changes status.