CapSolver
capsolverCapSolver provides APIs for CAPTCHA recognition and token-solving workflows, including task creation, polling, account balance, and solution feedback.
Acciones disponibles (16)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Classify AWS WAF ImageCAPSOLVER_CLASSIFY_AWS_WAFAcciónClassify one AWS WAF challenge image or a nine-image grid and return the immediate geometric or object result. This is a paid CapSolver operation.
CAPSOLVER_CLASSIFY_AWS_WAFAcciónClassify one AWS WAF challenge image or a nine-image grid and return the immediate geometric or object result. This is a paid CapSolver operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
questionstringObligatorioenumProvider-documented AWS WAF challenge question identifier.
aws:toycarcity:carcityaws:grid:bagaws:grid:bedaws:grid:beltsaws:grid:binocularaws:grid:bucketaws:grid:chairaws:grid:clockaws:grid:cooking potaws:grid:curtainaws:grid:forkaws:grid:hat+5website_urlstringOptional URL of the page containing the challenge.
images_base64string[]ObligatorioBase64 challenge images. Supply exactly nine images for an aws:grid question and exactly one for aws:toycarcity:carcity.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Classify reCAPTCHA V2 ImageCAPSOLVER_CLASSIFY_RECAPTCHA_V2AcciónClassify a reCAPTCHA v2 challenge image for a documented object category and return the immediate selection result. This is a paid CapSolver operation.
CAPSOLVER_CLASSIFY_RECAPTCHA_V2AcciónClassify a reCAPTCHA v2 challenge image for a documented object category and return the immediate selection result. This is a paid CapSolver operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
questionstringObligatorioenumObject category named by the challenge prompt. Choose from taxis, bus (generic buses), school_bus (school buses), motorcycles, tractors, chimneys, crosswalks, traffic_lights, bicycles, parking_meters, cars, bridges, boats, palm_trees, mountains_or_hills, fire_hydrant, or stairs.
taxisbusschool_busmotorcyclestractorschimneyscrosswalkstraffic_lightsbicyclesparking_meterscarsbridges+5website_keystringOptional reCAPTCHA site key associated with the challenge.
website_urlstringOptional URL of the page containing the challenge.
image_base64stringObligatorioBase64-encoded reCAPTCHA challenge image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get BalanceCAPSOLVER_GET_BALANCEAcciónReturn the connected CapSolver account balance and non-secret package metadata. Package access tokens are never returned.
CAPSOLVER_GET_BALANCEAcciónReturn the connected CapSolver account balance and non-secret package metadata. Package access tokens are never returned.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Task ResultCAPSOLVER_GET_TASK_RESULTAcciónGet one asynchronous CapSolver task result, or optionally poll it every three seconds for a bounded time. This action never creates or retries a task.
CAPSOLVER_GET_TASK_RESULTAcciónGet one asynchronous CapSolver task result, or optionally poll it every three seconds for a bounded time. This action never creates or retries a task.
Parámetros de entrada
task_idstringObligatorioTask identifier returned by a CapSolver task-creation operation.
wait_until_readybooleanPoll every three seconds until the task is ready or the timeout expires. False performs exactly one result request.
wait_timeout_secondsintegerWindow for scheduling polls (3-300 seconds). A final scheduled request may use its network timeout; then the latest state and task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run Vision EngineCAPSOLVER_RUN_VISION_ENGINEAcciónRun one documented CapSolver vision module and return its immediate points, distance, angle, rectangles, or text result. This is a paid operation.
CAPSOLVER_RUN_VISION_ENGINEAcciónRun one documented CapSolver vision module and return its immediate points, distance, angle, rectangles, or text result. This is a paid operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
modulestringObligatorioenumProvider module and contract: botdeflector requires image_base64 and background_image_base64 and returns points as x/y pairs; slider_1 requires both images and returns distance; rotate_1 requires both images and returns an angle; rotate_2 uses image_base64 and returns an angle; shein requires image_base64 and question and returns ordered rectangles; ocr_gif uses a base64 GIF and returns recognized text. The selected value is sent to CapSolver unchanged.
botdeflectorslider_1rotate_1rotate_2sheinocr_gifquestionstringChallenge question. Required only for the shein module.
website_urlstringOptional URL of the page containing the visual challenge.
image_base64stringObligatorioRaw base64 foreground or challenge image without a data-URI prefix or newlines.
background_image_base64stringRaw base64 background image. Required for botdeflector, slider_1, and rotate_1; optional for the other modules.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve AWS WAFCAPSOLVER_SOLVE_AWS_WAFAcciónCreate one AWS WAF token task with or without a caller-supplied proxy and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_AWS_WAFAcciónCreate one AWS WAF token task with or without a caller-supplied proxy and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
Parámetros de entrada
proxystringCaller-controlled proxy in a CapSolver-supported format. Required for variant=proxy and never returned.
app_idstringOptional CapSolver application identifier for usage attribution.
aws_ivstringSensitive AWS WAF initialization vector from the challenge data.
aws_keystringAWS WAF key extracted from the challenge data, when available.
variantstringenumWhether CapSolver connects directly or through the supplied proxy.
proxylessproxyaws_api_jsstringSensitive AWS API JavaScript URL documented by CapSolver.
aws_api_keystringSensitive challenge-specific AWS API key; never returned.
aws_contextstringSensitive AWS WAF context from the challenge data.
website_urlstringObligatorioFull URL protected by AWS WAF.
aws_problem_urlstringSensitive AWS WAF challenge problem URL, when available.
wait_for_resultbooleanWait for a ready result after creating the task; false returns the task ID immediately.
aws_challenge_jsstringSensitive challenge JavaScript URL or value documented by CapSolver.
aws_existing_tokenstringSensitive existing AWS WAF token; never returned.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve BotDeflectorCAPSOLVER_SOLVE_BOTDEFLECTORAcciónCreate exactly one proxyless BotDeflector task from a target flow token and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_BOTDEFLECTORAcciónCreate exactly one proxyless BotDeflector task from a target flow token and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
domainstringObligatorioDomain used by the target's pow/get or icon/get request. It may differ from website_url.
flow_tokenstringObligatorioFresh target flow token, sometimes named botReflectorJwtToken. It is sent only to CapSolver and never returned.
website_urlstringObligatorioFull URL of the page protected by BotDeflector.
wait_for_resultbooleanWait for a ready result after creating the task; false returns the task ID immediately.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its three-second network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve Cloudflare ChallengeCAPSOLVER_SOLVE_CLOUDFLARE_CHALLENGEAcciónCreate one Cloudflare challenge task through a sticky caller-supplied proxy and optionally poll every three seconds for bounded clearance output. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_CLOUDFLARE_CHALLENGEAcciónCreate one Cloudflare challenge task through a sticky caller-supplied proxy and optionally poll every three seconds for bounded clearance output. This is a paid CapSolver operation.
Parámetros de entrada
htmlstringFresh challenge HTML obtained through the same sticky proxy. It is sent upstream and never returned.
proxystringObligatorioStatic or sticky caller-controlled proxy in a CapSolver-supported format. Its session must remain stable for at least three minutes and it is never returned.
app_idstringCapSolver application identifier for usage attribution.
user_agentstringChrome user agent matching the client and sticky proxy session that will use the clearance result.
website_urlstringObligatorioFull URL protected by the Cloudflare challenge.
wait_for_resultbooleanWait for a ready result; false returns the task ID immediately.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its three-second network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve Cloudflare TurnstileCAPSOLVER_SOLVE_CLOUDFLARE_TURNSTILEAcciónCreate one proxyless Cloudflare Turnstile task and optionally poll every three seconds for a bounded time. Returns the task ID for continuation. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_CLOUDFLARE_TURNSTILEAcciónCreate one proxyless Cloudflare Turnstile task and optionally poll every three seconds for a bounded time. Returns the task ID for continuation. This is a paid CapSolver operation.
Parámetros de entrada
cdatastringSecret Turnstile custom data value from widget metadata, when present.
actionstringTurnstile action value from widget metadata, when present.
app_idstringCapSolver application identifier for usage attribution, when used.
website_keystringObligatorioTurnstile site key from the target page.
website_urlstringObligatorioFull URL of the page containing the Turnstile widget.
wait_for_resultbooleanWait for a ready result; false returns the task ID immediately.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve DataDomeCAPSOLVER_SOLVE_DATADOMEAcciónCreate exactly one DataDome slider task with a caller-supplied proxy and optionally wait a bounded time for its solution cookie. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_DATADOMEAcciónCreate exactly one DataDome slider task with a caller-supplied proxy and optionally wait a bounded time for its solution cookie. This is a paid CapSolver operation.
Parámetros de entrada
htmlstringFresh challenge HTML, sent only to CapSolver and never returned.
proxystringObligatorioCaller-controlled proxy in a CapSolver-supported format. Its IP must not be banned by the target, and the value is never returned.
app_idstringOptional CapSolver application identifier for usage attribution.
user_agentstringObligatorioProvider-supported browser user agent that exactly matches the client which will use the returned cookie.
captcha_urlstringObligatorioFresh DataDome captcha URL with query parameter t=fe. A URL with t=bv indicates that the proxy IP is banned.
wait_for_resultbooleanWait for a ready result after creating the task; false returns the task ID immediately.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve GeeTestCAPSOLVER_SOLVE_GEETESTAcciónCreate one GeeTest v3 or v4 token task and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_GEETESTAcciónCreate one GeeTest v3 or v4 token task and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
versionstringObligatorioenumGeeTest protocol version used by the target page.
v3v4challengestringFresh GeeTest v3 challenge value; required for version v3.
risk_typestringOptional GeeTest v4 risk type when required by the target.
captcha_idstringGeeTest v4 captcha identifier; required for version v4.
website_urlstringObligatorioFull URL of the page containing GeeTest.
geetest_v3_idstringGeeTest v3 site identifier. Required for version v3; obtain the provider field named gt together with challenge from the target site's fresh GeeTest initialization request. Do not copy a stale value directly from browser developer tools.
wait_for_resultbooleanWait for a ready result after creating the task; false returns the task ID immediately.
api_server_subdomainstringOptional GeeTest API server subdomain used by the target.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its three-second network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve Image To TextCAPSOLVER_SOLVE_IMAGE_TO_TEXTAcciónRecognize text or number answers from base64-encoded images and return the immediate recognition result. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_IMAGE_TO_TEXTAcciónRecognize text or number answers from base64-encoded images and return the immediate recognition result. This is a paid CapSolver operation.
Parámetros de entrada
app_idstringOptional CapSolver application identifier for usage attribution.
modulestringenumRecognition mode: common returns text; number returns answers for multiple images.
commonnumberwebsite_urlstringOptional source page URL associated with the image challenge.
image_base64stringRaw base64 image without a data-URI prefix or newlines; required when module is common.
images_base64string[]One to nine raw base64 images; required when module is number.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve MTCaptchaCAPSOLVER_SOLVE_MTCAPTCHAAcciónCreate one proxyless or caller-proxied MTCaptcha token task and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_MTCAPTCHAAcciónCreate one proxyless or caller-proxied MTCaptcha token task and optionally poll every three seconds for a bounded time. Returns the task ID when processing continues. This is a paid CapSolver operation.
Parámetros de entrada
proxystringCaller-controlled proxy in a CapSolver-supported format. Required for the proxy variant and never returned.
app_idstringCapSolver application identifier for usage attribution.
variantstringenumWhether CapSolver connects directly or through the supplied proxy.
proxylessproxywebsite_keystringObligatorioMTCaptcha site key from the target page.
website_urlstringObligatorioFull URL of the page containing MTCaptcha.
wait_for_resultbooleanWait for a ready result; false returns the task ID immediately.
wait_timeout_secondsintegerWindow for scheduling polls. A final scheduled request may use its three-second network timeout; then processing and the task ID are returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve reCAPTCHA V2CAPSOLVER_SOLVE_RECAPTCHA_V2AcciónSolve one standard or enterprise reCAPTCHA v2 challenge in task or synchronous mode. Task mode creates exactly one task and may poll for a bounded time; synchronous mode calls getToken exactly once. This is a paid CapSolver operation.
CAPSOLVER_SOLVE_RECAPTCHA_V2AcciónSolve one standard or enterprise reCAPTCHA v2 challenge in task or synchronous mode. Task mode creates exactly one task and may poll for a bounded time; synchronous mode calls getToken exactly once. This is a paid CapSolver operation.
Parámetros de entrada
proxystringCaller-controlled proxy in a CapSolver-supported format. Required only for proxy variants and never returned.
app_idstringCapSolver application identifier for usage attribution.
data_sstringSecret recaptchaDataSValue captured from the target page, when present.
cookiesobject[]Target cookies for supported sites. Values are sent upstream and never returned.
variantstringenumTask variant. Proxy variants require proxy; enterprise variants may use enterprise_payload.
proxylessproxyenterprise_proxylessenterprise_proxyapi_domainstringreCAPTCHA API domain used by the target page, when non-default. Common values are http://www.google.com/ and http://www.recaptcha.net/.
is_sessionbooleanWhether CapSolver should request a session-capable solution.
page_actionstringAction value from the target widget's anchor request, when present.
website_keystringObligatorioreCAPTCHA site key from the target page.
website_urlstringObligatorioFull URL of the page containing reCAPTCHA v2.
is_invisiblebooleanWhether the target uses invisible reCAPTCHA v2.
execution_modestringenumHow CapSolver should solve the challenge: task creates exactly one asynchronous task and may poll it; synchronous calls getToken exactly once and returns only a ready result.
tasksynchronouswait_for_resultbooleanTask mode only: wait for a ready result; false returns the task ID immediately. Ignored in synchronous mode.
enterprise_payloadobjectSecret enterprise payload required by some enterprise integrations.
wait_timeout_secondsintegerTask mode only: window for scheduling polls. A final scheduled request may use its network timeout; then processing and the task ID are returned. Ignored in synchronous mode.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Solve reCAPTCHA V3CAPSOLVER_SOLVE_RECAPTCHA_V3AcciónSolve a standard, enterprise, or M1 reCAPTCHA v3 challenge in task or synchronous mode. Task mode creates exactly one task and may poll for a bounded time. Synchronous mode calls getToken exactly once and rejects M1. M1 variants are high-cost and require provider and site-specific enablement.
CAPSOLVER_SOLVE_RECAPTCHA_V3AcciónSolve a standard, enterprise, or M1 reCAPTCHA v3 challenge in task or synchronous mode. Task mode creates exactly one task and may poll for a bounded time. Synchronous mode calls getToken exactly once and rejects M1. M1 variants are high-cost and require provider and site-specific enablement.
Parámetros de entrada
proxystringCaller-controlled proxy in a CapSolver-supported format. Required only for proxy variants and never returned.
app_idstringCapSolver application identifier for usage attribution.
variantstringenumreCAPTCHA v3 task variant. Variants ending in _proxy require proxy. M1 variants are high-cost and require provider and site-specific enablement; use them only when that enablement is confirmed.
proxylessproxyenterprise_proxylessenterprise_proxym1_proxylessm1_proxyenterprise_m1_proxylessenterprise_m1_proxyapi_domainstringreCAPTCHA API domain used by the target page, when non-default. Common values are http://www.google.com/ and http://www.recaptcha.net/.
is_sessionbooleanWhether CapSolver should request a session-capable solution.
page_actionstringAction value whose reCAPTCHA v3 score token is requested.
website_keystringObligatorioreCAPTCHA site key from the target page.
website_urlstringObligatorioFull URL of the page containing reCAPTCHA v3.
execution_modestringenumHow CapSolver should solve the challenge: task creates exactly one asynchronous task and may poll it; synchronous calls getToken exactly once and returns only a ready result. Synchronous mode does not support M1 variants.
tasksynchronouswait_for_resultbooleanTask mode only: wait for a ready result; false returns the task ID immediately. Ignored in synchronous mode.
enterprise_payloadobjectSecret enterprise payload required by some target integrations. Accepted only by enterprise variants and never returned.
wait_timeout_secondsintegerTask mode only: window for scheduling polls. A final scheduled request may use its network timeout; then processing and the task ID are returned. Ignored in synchronous mode.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Submit Task FeedbackCAPSOLVER_SUBMIT_TASK_FEEDBACKAcciónReport whether a previously returned CapSolver token worked, using only the documented minimal task and result fields.
CAPSOLVER_SUBMIT_TASK_FEEDBACKAcciónReport whether a previously returned CapSolver token worked, using only the documented minimal task and result fields.
Parámetros de entrada
solvedbooleanObligatorioWhether the returned token successfully solved the target challenge.
task_idstringOptional task identifier from the original result.
task_typestringObligatorioExact CapSolver task type originally submitted, such as ReCaptchaV2TaskProxyLess.
website_keystringOptional website key from the original task when that family used one.
website_urlstringObligatorioWebsite URL from the original task; no other original task fields are accepted or returned.
result_error_idintegerProvider errorId from the original result; defaults to zero for a successful result.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not