### Install Node.js SDK Source: https://v1.captchaly.com Install the official Captchaly Node.js SDK. ```bash npm install captchaly ``` -------------------------------- ### reCAPTCHA GET Request Example Source: https://v1.captchaly.com Example of a GET request to the reCAPTCHA endpoint with URL and sitekey parameters. ```http https://v1.captchaly.com/recaptcha?url=https://example.com/mypath&sitekey=6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 ``` -------------------------------- ### Install Python SDK Source: https://v1.captchaly.com Install the official Captchaly Python SDK. ```bash pip install captchaly ``` -------------------------------- ### Request Geetest Solution Source: https://v1.captchaly.com/docs Example request to the Geetest endpoint. ```http https://v1.captchaly.com/geetest?url=https://example.com/mypath&captchaId=e392e1d7fd421dc63325744d5a2b9c73 ``` -------------------------------- ### GET /recaptcha Source: https://v1.captchaly.com Obtain a reCAPTCHA token in a single GET request by providing the target URL and site key. ```APIDOC ## GET /recaptcha ### Description Obtain a reCAPTCHA token in a single GET request by providing the target URL and site key. ### Method GET ### Endpoint https://v1.captchaly.com/recaptcha ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the page where the captcha is used. - **sitekey** (string) - Required - The reCAPTCHA site key. ### Request Example https://v1.captchaly.com/recaptcha?url=https://example.com/mypath&sitekey=6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 ### Response #### Success Response (200) - **token** (string) - The captcha token. #### Response Example { "token": "captcha-token-value" } ``` -------------------------------- ### Request Turnstile Solution Source: https://v1.captchaly.com/docs Example request to the Turnstile endpoint. ```http https://v1.captchaly.com/turnstile?url=https://example.com/mypath&sitekey=0x4AAAAAAAA-1LUipBaoBpsG ``` -------------------------------- ### GET /recaptchav3 Source: https://v1.captchaly.com Obtain a reCAPTCHA v3 token in a single GET request by providing the target URL and site key. ```APIDOC ## GET /recaptchav3 ### Description Obtain a reCAPTCHA v3 token in a single GET request by providing the target URL and site key. ### Method GET ### Endpoint https://v1.captchaly.com/recaptchav3 ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the page where the captcha is used. - **sitekey** (string) - Required - The reCAPTCHA v3 site key. ### Request Example https://v1.captchaly.com/recaptchav3?url=https://example.com/mypath&sitekey=6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 ### Response #### Success Response (200) - **token** (string) - The captcha token. #### Response Example { "token": "captcha-token-value" } ``` -------------------------------- ### GET /turnstile Source: https://v1.captchaly.com Get a Cloudflare Turnstile token by providing the target URL and site key. ```APIDOC ## GET /turnstile ### Description Get a Cloudflare Turnstile token by providing the target URL and site key. ### Method GET ### Endpoint https://v1.captchaly.com/turnstile ### Parameters #### Query Parameters - **sitekey** (string) - Required - The Turnstile site key. - **action** (string) - Optional - The action parameter for Turnstile. - **cdata** (string) - Optional - The cdata parameter for Turnstile. - **url** (string) - Required - The URL of the page where the captcha is used. ### Request Example https://v1.captchaly.com/turnstile?sitekey=your-sitekey&url=https://example.com ### Response #### Success Response (200) - **token** (string) - The captcha token. #### Response Example { "token": "captcha-token-value" } ``` -------------------------------- ### Request Hcaptcha Solution Source: https://v1.captchaly.com/docs Example request to the Hcaptcha endpoint. ```http https://v1.captchaly.com/hcaptcha?url=https://example.com/mypath&sitekey=a5f74b19-9e45-40e0-b45d-47ff91b7a6c2 ``` -------------------------------- ### GET /recaptchav2 Source: https://v1.captchaly.com Obtain a reCAPTCHA v2 token in a single GET request by providing the target URL and site key. ```APIDOC ## GET /recaptchav2 ### Description Obtain a reCAPTCHA v2 token in a single GET request by providing the target URL and site key. ### Method GET ### Endpoint https://v1.captchaly.com/recaptchav2 ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the page where the captcha is used. - **sitekey** (string) - Required - The reCAPTCHA v2 site key. ### Request Example https://v1.captchaly.com/recaptchav2?url=https://example.com/mypath&sitekey=6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 ### Response #### Success Response (200) - **token** (string) - The captcha token. #### Response Example { "token": "captcha-token-value" } ``` -------------------------------- ### GET /geetest Source: https://v1.captchaly.com/docs Solves a GeeTest challenge by providing the target URL and captcha ID. ```APIDOC ## GET /geetest ### Description Solves a GeeTest challenge by providing the target URL and captcha ID. ### Method GET ### Endpoint /geetest?url={url}&captchaId={captchaId} ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the page containing the GeeTest challenge. - **captchaId** (string) - Required - The GeeTest captcha ID. ### Request Example https://v1.captchaly.com/geetest?url=https://example.com/mypath&captchaId=e392e1d7fd421dc63325744d5a2b9c73 ### Response #### Success Response (200) - **token** (string) - The solved GeeTest token. #### Response Example { "token": "example-token" } ``` -------------------------------- ### GET /hcaptcha Source: https://v1.captchaly.com/docs Solves an hCaptcha challenge by providing the target URL and site key. ```APIDOC ## GET /hcaptcha ### Description Solves an hCaptcha challenge by providing the target URL and site key. ### Method GET ### Endpoint /hcaptcha?url={url}&sitekey={sitekey} ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the page containing the hCaptcha. - **sitekey** (string) - Required - The hCaptcha site key. ### Request Example https://v1.captchaly.com/hcaptcha?url=https://example.com/mypath&sitekey=a5f74b19-9e45-40e0-b45d-47ff91b7a6c2 ### Response #### Success Response (200) - **token** (string) - The solved hCaptcha token. #### Response Example { "token": "example-token" } ``` -------------------------------- ### Authenticate with URL Query String Source: https://v1.captchaly.com Attach your API key as the 'apikey' query string parameter. ```http https://v1.captchaly.com/account?apikey=CP_8yrT3dq68UyAIxZwaGUXCWQThF3kPXTBwjaFHwhUECKU ``` -------------------------------- ### Authenticate with Bearer Authorization Header Source: https://v1.captchaly.com Attach your API key prefixed with 'Bearer ' to the Authorization header. ```http Authorization: Bearer CP_8yrT3dq68UyAIxZwaGUXCWQThF3kPXTBwjaFHwhUECKU ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.