# Turnstile Client Widget

**Canonical:** https://apis.io/apis/cloudflare-turnstile/client-widget/  
**Provider:** Cloudflare Turnstile — https://apis.io/providers/cloudflare-turnstile/  
**Base URL:** https://challenges.cloudflare.com/turnstile/v0/api.js  
**Documentation:** https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/

Turnstile Client Widget is one of 5 APIs that [Cloudflare Turnstile](https://apis.io/providers/cloudflare-turnstile/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include JavaScript, Widget, Frontend, Managed, and Invisible. The published artifact set on APIs.io includes API documentation.

The Turnstile client widget renders the challenge in the browser. It is loaded via a script tag at challenges.cloudflare.com/turnstile/v0/api.js and configured with a sitekey, optional theme, action, cdata, and callback functions. Widgets can be Managed, Non-interactive, or Invisible.

## Machine-readable artifacts (3)

- **Documentation** — https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/
- **ScriptURL** — https://challenges.cloudflare.com/turnstile/v0/api.js
- **Examples** — https://github.com/cloudflare/turnstile-demo-workers

## Other Cloudflare Turnstile APIs (4)

- [Turnstile Siteverify API](https://apis.io/apis/cloudflare-turnstile/siteverify/)
- [Turnstile Pre-Clearance](https://apis.io/apis/cloudflare-turnstile/pre-clearance/)
- [Cloudflare Turnstile Management API](https://apis.io/apis/cloudflare-turnstile/management-api/)
- [Cloudflare Turnstile Verification API](https://apis.io/apis/cloudflare-turnstile/cloudflare-turnstile-verification-api/)

## Tags

JavaScript, Widget, Frontend, Managed, Invisible

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cloudflare-turnstile/client-widget/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cloudflare-turnstile/.
