cloudflare/cloudflare-go
The official Go library for the Cloudflare API observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13.0
- age_days: 3926
- days_rel: 13
- days_push: 13
- n_releases_24m: 49
Adoption not part of the score
2075 stars · 776 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Go SDK for the Cloudflare REST API, generated with Stainless and covering Cloudflare products such as zones, DNS, and Zero Trust. It provides typed clients, request field helpers, and structured response objects for Go applications.
Use cases
- manage cloudflare dns records from go
- create and configure cloudflare zones programmatically
- automate cloudflare zero trust device posture integrations
- provision cloudflare resources via the rest api in a go service
- script cloudflare infrastructure automation in golang
When to choose
- you are building Go applications or tooling that needs to call the Cloudflare API
- you want an officially maintained, typed SDK instead of hand-rolled HTTP calls
- you need access to the full breadth of Cloudflare API resources including Zero Trust
When to avoid
- you use a language other than Go (use the official SDK for your language instead)
- you only need simple DNS updates and prefer a lightweight untyped client
- you target an older Go version than 1.22
Facets
library · maturity active
http-client sdk api-framework developer-tools apis cloud-computing networking security go cross-platform cloudflare api-client rest-api generated-sdk stainless dns cdn zero-trust
10 sources
- readme: https://github.com/cloudflare/cloudflare-go · fetched 2026-08-28 · fe253b984b03
- homepage: https://developers.cloudflare.com/api · fetched 2026-08-29 · 4bd7f498d8d4
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations · fetched 2026-08-29 · 6ba335b38239
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/list · fetched 2026-08-29 · 3dc4b6e97830
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/get · fetched 2026-08-29 · 6f09130e1b73
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/create · fetched 2026-08-29 · cda1fde59613
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/edit · fetched 2026-08-29 · 497756af6183
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/devices/subresources/posture/subresources/integrations/methods/delete · fetched 2026-08-29 · a9975cba7c47
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/casb/subresources/integrations · fetched 2026-08-29 · b4e1d7e82f8a
- site_page: https://developers.cloudflare.com/api/resources/zero_trust/subresources/casb/subresources/integrations/methods/list · fetched 2026-08-29 · 2cf93e6c3331
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cloudflare/cloudflare-go | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="cloudflare/cloudflare-go")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem