# hCaptcha JavaScript Widget

**Canonical:** https://apis.io/apis/hcaptcha/js-widget/  
**Provider:** hCaptcha — https://apis.io/providers/hcaptcha/  
**Base URL:** https://js.hcaptcha.com/1/api.js  
**Documentation:** https://docs.hcaptcha.com/configuration

hCaptcha JavaScript Widget is one of 6 APIs that [hCaptcha](https://apis.io/providers/hcaptcha/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include JavaScript, Widget, Frontend, and Challenge. The published artifact set on APIs.io includes API documentation.

The hCaptcha JS widget renders the visible or invisible challenge on a page and produces a response token on success. Developers include a script tag pointing at js.hcaptcha.com/1/api.js and place a div with data-sitekey, optionally configuring theme, size, callback, and language. Frontend wrappers exist for React, Vue, and Angular.

## Machine-readable artifacts (5)

- **Documentation** — https://docs.hcaptcha.com/configuration
- **ScriptURL** — https://js.hcaptcha.com/1/api.js
- **SDKReact** — https://github.com/hCaptcha/react-hcaptcha
- **SDKVue** — https://github.com/hCaptcha/vue-hcaptcha
- **SDKAngular** — https://github.com/hCaptcha/ng-hcaptcha

## Other hCaptcha APIs (5)

- [hCaptcha Siteverify API](https://apis.io/apis/hcaptcha/siteverify/)
- [hCaptcha Invisible](https://apis.io/apis/hcaptcha/invisible/)
- [hCaptcha Mobile SDKs](https://apis.io/apis/hcaptcha/mobile-sdks/)
- [hCaptcha Enterprise](https://apis.io/apis/hcaptcha/enterprise/)
- [hCaptcha Siteverify API](https://apis.io/apis/hcaptcha/hcaptcha-siteverify-api/)

## Tags

JavaScript, Widget, Frontend, Challenge

---

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