Code samples and SDKs
The samples here are complete, runnable files that read the client key from the environment variable YESCAPTCHA_CLIENT_KEY. Each task type page also has curl, Python and Node.js examples generated for that type.
PythonBalance, first request, a reusable client, concurrency, Selenium
Node.jsNode.js 18+, no dependencies
C#.NET 6+
Easy LanguageClicking demos contributed by users
To test from the command line, see the curl examples in Quickstart and getBalance.
Community SDKs
Section titled “Community SDKs”These SDKs were contributed by users and are unofficial. We haven’t reviewed their code; evaluate them before use and contact the authors with questions.
| Language | Project |
|---|---|
| Python | github.com/yescaptcha/yescaptcha-python |
| Node.js | github.com/ScoLib/yescaptcha |
| Go | github.com/FreedWu/yescaptcha |
| Go | github.com/deanxv/yescaptcha-go |
Whatever SDK you use, check that it calls api.yescaptcha.com or cn.yescaptcha.com and uses the task type names on this site.