Salamoonder Documentation
HomeLoginRegister
  • Introduction
    • What is Salamoonder?
    • Changelog
  • API
    • createTask: Create Task
    • getTaskResult: Task Result
    • 🧰SDK
  • Tasks
    • πŸ’ΆGet Balance
    • πŸ’­Kasada Solver
    • πŸ“–Twitch
      • πŸͺ›Scraper
      • βš™οΈPublic Integrity
      • 🌊Local Integrity
Powered by GitBook
On this page
  • Create Task​
  • Getting Result​

Was this helpful?

  1. Tasks

Kasada Solver

The cost for each request in this task is 0.002 cents.

PreviousGet BalanceNextTwitch

Last updated 1 month ago

Was this helpful?

Create the task with the method and get the result with .

Create Task

Create a task with the method to create a task.


Task Data

Property
Type
Required

pjs

string

Required

cdOnly

string

Required

Example Request

POST https://salamoonder.com/api/createTask
Host: salamoonder.com
Content-Type: application/json

{
    "api_key": "sr-xxxx-xxxx-xxxx",
    "task": {
        "type": "KasadaCaptchaSolver",
        "pjs": "https://example.com/xxxx/p.js",
        "cdOnly": "true/false"
    }
}

Upon successfully submitting the task to us, you should receive a 'taskId' in the response.

{
  "error_code": 0,
  "error_description": "",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}

Example Request

POST https://salamoonder.com/api/getTaskResult
Host: salamoonder.com
Content-Type: application/json

{
  "api_key": "xxx",
  "taskId": "d4611a5f-9b4e-4f4a-94a2-8303d97562e1"
}
{
  "errorId": 0,
  "solution": {
    "user-agent": "xxx",
    "x-kpsdk-cd": "xxx",
    "x-kpsdk-cr": "xxx",
    "x-kpsdk-ct": "xx",
    "x-kpsdk-r": "xxxx",
    "x-kpsdk-v": "xxxx"
    "x-kpsdk-st": "1704673650160"
  },
  "status": "ready"
}

Keep in mind that there might be websites that are not officially support and require a private server.

Example Response

Getting Result

Retrieve the results using the method.

Example Response

πŸ’­
createTask
getTaskResult
​
createTask
​
​
​
getTaskResult
​