# Solve captchas with one JSON API

> YesCaptcha is a captcha recognition API. Solve reCAPTCHA, hCaptcha, Cloudflare Turnstile, FunCaptcha, AWS WAF and image captchas through one JSON API, paid per task, with failed and timed-out tasks refunded automatically.

Source: https://docs.yescaptcha.com/en/ · Last verified: 2026-10-15

YesCaptcha solves reCAPTCHA, hCaptcha, Cloudflare Turnstile, FunCaptcha, AWS WAF and alphanumeric image captchas. You pay per task in points (1,000 points = ¥1); failed and timed-out tasks are refunded automatically. A browser extension can also complete captchas on web pages for you.

[Quickstart](https://docs.yescaptcha.com/en/getting-started/quickstart/)[Browser extension](https://docs.yescaptcha.com/en/extension/)

Machine-readable versions:[`llms.txt`](https://docs.yescaptcha.com/llms.txt)[`llms-full.txt`](https://docs.yescaptcha.com/llms-full.txt)[`OpenAPI`](https://docs.yescaptcha.com/openapi.json)[`Markdown`](https://docs.yescaptcha.com/en/index.md)

YesCaptcha may only be used for lawful purposes. Any illegal use is prohibited.

## Three steps

1.  1
    
    **Create a task**
    
    Send the task type and site parameters to `createTask` to get a `taskId`. Synchronous types, such as image recognition and image-to-text, return the result right away.
    
2.  2
    
    **Get the result**
    
    Call `getTaskResult` every 5 seconds. When `status` is `ready`, the result is in `solution`.
    
3.  3
    
    **Submit it to the site**
    
    Put the token into the page form or request. Tokens are single use; submit within 60 seconds.
    

POST /createTask

```json
{
  "clientKey": "YOUR_CLIENT_KEY",
  "task": {
    "type": "NoCaptchaTaskProxyless",
    "websiteURL": "https://www.google.com/recaptcha/api2/demo",
    "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
  }
}
```

POST /getTaskResult

```json
{
"errorId": 0,
"status": "ready",
"solution": {
  "gRecaptchaResponse": "03AGdBq25SxXT-pmSeBXjzScW-EiocHwwpwqtk1QXlJnGnU..."
}
}
```

## Supported captchas

[reCAPTCHAv2, v3, Enterprise, and v2 image recognitionFrom 6 points](https://docs.yescaptcha.com/en/tasks/recaptcha-v2/)[hCaptchaGet a token, or recognize the images and click them yourselfFrom 8 points](https://docs.yescaptcha.com/en/tasks/hcaptcha/)[Cloudflare TurnstileTurnstile verification tokensFrom 25 points](https://docs.yescaptcha.com/en/tasks/turnstile/)[FunCaptchaArkose Labs tokens and image recognitionFrom 3 points](https://docs.yescaptcha.com/en/tasks/funcaptcha/)[AWS WAF / bCaptchaGrid image recognitionFrom 8 points](https://docs.yescaptcha.com/en/tasks/aws-bcaptcha-classification/)[Image to textAlphanumeric image captchas, returned synchronouslyFrom 2 points](https://docs.yescaptcha.com/en/tasks/image-to-text/)

## Popular pages

-   [**Task types and pricing**Prices and modes of every public task type](https://docs.yescaptcha.com/en/tasks/)
-   [**Error codes**What each error means and what to do](https://docs.yescaptcha.com/en/api/errors/)
-   [**Rate limits**Concurrency limits and automatic pauses](https://docs.yescaptcha.com/en/api/rate-limits/)
-   [**Billing and refunds**Points, pre-charging, refunds and report refunds](https://docs.yescaptcha.com/en/getting-started/billing/)
-   [**Contact us**WeChat, QQ, Telegram and email, 9:00–21:00 UTC+8](https://docs.yescaptcha.com/en/help/contact/)
-   [**Console**Sign up, copy your client key, top up](https://yescaptcha.com/)
