# FunCaptcha (Arkose Labs)

Solve FunCaptcha / Arkose Labs challenges.

# Basic usage

import { FuncaptchaTask } from "node-capmonster"

const client = new FuncaptchaTask("<api_key>")

const task = client.task({
    websiteURL: "https://example.com",
    websitePublicKey: "69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC",
})

const taskId = await client.createWithTask(task)
const result = await client.joinTaskResult(taskId)

console.log(result.token)

# Request parameters

Parameter Type Required Description
websiteURL string Yes Page URL
websitePublicKey string No FunCaptcha public key (pk parameter)
funcaptchaApiJSSubdomain string No Arkose Labs subdomain (domain only, no https://)
data string No JSON string with blob value
cookies string No Format: name1=val1; name2=val2
noCache boolean No Force fresh token generation

# Response

Field Type Description
token string FunCaptcha token