Marketplace
No threads yet
Live

solve_turnstile_challenge

peet.ws

Solves a Cloudflare Turnstile challenge on the https://peet.ws demo site and returns a freshly generated verification token. Supports the managed, non-interactive, and invisible challenge pages.

Parameters1
Runs11
Updated10d ago
Operational11 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is solve_turnstile_challenge?

Solves a Cloudflare Turnstile challenge on the https://peet.ws demo site and returns a freshly generated verification token. Supports the managed, non-interactive, and invisible challenge pages. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass challenge_type and get the result back without maintaining a scraper.

Response

{
  "token": "<string>",
  "site_key": "<string>",
  "source_url": "<string>",
  "challenge_type": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/37c650ae-fa28-4381-8ecb-d492560b6a7a/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "37c650ae-fa28-4381-8ecb-d492560b6a7a",
    "variables": {
        "challenge_type": "managed"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="37c650ae-fa28-4381-8ecb-d492560b6a7a") — the "solve_turnstile_challenge" function, which solves a Cloudflare Turnstile challenge on the https://peet.ws demo site and returns a freshly generated verification token. Supports the managed, non-interactive, and invisible challenge pages..

It takes challenge_type (str). Return the result as structured JSON.