CaptchaNo
[ INTEGRATION ]

Captcha solver for
n8n

Resolve the challenge inside the run instead of failing the job. A working JSON example, and the three things that decide whether your token is accepted.

n8n · JSON
HTTP Request node
  Method:          POST
  URL:             https://api.captchano.com/v1/solve?wait=60
  Authentication:  Header Auth
                   Name:  Authorization
                   Value: Bearer cn-YOUR_API_KEY
  Send Body:       JSON
  Body:
  {
    "type": "turnstile",
    "sitekey": "{{ $json.sitekey }}",
    "url": "{{ $json.pageUrl }}"
  }

The node outputs { status, solution: { token, userAgent }, cost } —
pass {{ $json.solution.token }} to the next step.

What decides whether the token is accepted

  1. Pass your proxy through. The token should be minted behind the same exit IP that submits it. For session-graded systems this is mandatory, not an optimisation.
  2. Match the user agent. Turnstile and several anti-bot systems bind the token to a user agent. We return the one used so you can replay it exactly.
  3. Request late. Tokens expire in roughly 120 seconds. Ask for one when you are ready to submit.

Blocking or polling

The example uses ?wait=60, so the call returns the finished solve and your n8n step stays linear. If you would rather not hold a connection, drop the parameter, keep the returned id, and poll GET /v1/task/{id} every five seconds. A token you have paid for stays retrievable for ten minutes, so a dropped connection does not cost you the solve.

Cost

$0.00598 per successful reCAPTCHA v2 solve, with failed solves never billed. See pricing for every challenge type, or the API reference for the full request shape.

[ HOW IT FITS ]

How the solve fits into n8n

In n8n the solve is a single HTTP Request node between the step that loads the page and the step that submits it.

  1. 01
    Add credentials

    Create a Header Auth credential with Authorization: Bearer cn-…

  2. 02
    Add an HTTP Request node

    POST to the API with ?wait=60 and a JSON body built from earlier nodes.

  3. 03
    Map the token

    Use an expression to pass solution.token to the next node.

  4. 04
    Handle failures

    Branch on status so a failed solve retries or alerts instead of submitting nothing.

Getting the token into the page

Map the token from the HTTP Request node's output into the field of the request or browser node that submits the form.

[ PITFALLS ]

Where integrations usually go wrong

Node timeout

Raise the HTTP Request node's timeout above the wait value, or it will cut the call off.

Hard-coded keys

Keep the key in n8n credentials, not in the node body, so it is not exported with the workflow.

[ FAQ ]

n8n captcha FAQ

Is there a CaptchaNo community node?

No, and you do not need one. The built-in HTTP Request node covers the whole API with one call.

Can an n8n AI agent call the solver?

Yes. Expose the HTTP Request as a tool to the AI Agent node, as shown on our n8n agent guide.

Does it work on n8n cloud and self-hosted?

Yes. It is an outbound HTTPS call, which both allow.

How do I keep costs predictable in a workflow?

Every response includes the cost of the solve. Sum it in the workflow and stop when a budget is reached.

[ READ NEXT ]

Guides that help

Ready to build?

Start with a free 7-day trial of the Hobby plan, then pay per successful solve or keep the plan as your traffic grows. Cancel before the trial ends and you pay nothing.

See our plans
Are you an AI agent? See setup options →