Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Task Type

Description

Price

Price(USD)

KasadaTaskProxyless

Kasada solution

Status
colourBlue
title25 POINTS

$2.5/1k

KasadaWorkTimeTaskProxylessKasadaWorkTimeTaskProxyless

KasadaWorkTime solution

Status
colourBlue
title5 1 POINTS

$0.51/1k

Usage

1. How to generate /tl Payload

  1. Request target url and be blocked by 429 status code to get the response body with a URL to /ips.js.

  2. Do a GET request to the ips.js URL and store the response body, then it need to be sent to api later.

  3. Make a POST request to API with the following form data:

Parameter

Type

Required

Description

clientKey

string

true

Your client key

type

string

true

KasadaTaskProxyless

ua

string

true

Your user-agent, please keep it consistent with the one your program uses.

ipsContent

string

true

The response body from /ips.js

lang

string

true

The main language of your accept-language header in your request (only send the first language)

bmscbmsz

string

true

The ak_bmsc or ak_bmsc_** bm_sz cookie value

domain

string

true

The domain you are generating for e.g xx.xxxx.com

...

Code Block
{
    "clientKey": "YourClientKey",
    "task": {
        "type": "KasadaTaskProxyless",
        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
        "ipsContent": "xxxx",
        "lang": "en",
        "bmscbmsz": "xxxx",
        "domain": "xxx.xxx.com"
    }
}

...

Code Block
{
	"errorId": 0,
	"solution": {
		"ct": "0rRUrDIrbJtVlXV38QPOg1vxJVyn7mGaaEyHb2b3ehOjQBGzi8OB9c42Sl5Tie4xctIT8lq1gRU8KW8IJs5E7GUd4MtNfwovogsGLqE8vHZ8rEogLWcIQQT7CHtOdZSVLRBPOU439Mh1FKsk8JqwCYJGvlTQ",
		"dt": "118hy2kz01k4x3gz6s6y78",
		"tl": "xxxxxxxxxxxxxxxxxxx"
	},
	"status": "ready"
}

* After request /tl with these parameters, the header in the response will return a new ct (x-kpsdk-ct), which needs to be included in the next request for other URLs.

The response will also return st (x-kpsdk-st), which is used to generate the worktime below.

2. How to bypass WorkTime

After post payload generate by our api to /tl , The x-*****-st value will be returned in response headers, you can use it to generate the worktime headers

Parameter

Type

Required

Description

clientKey

string

true

Your client key

type

string

true

KasadaWorkTimeTaskProxyless

domain

string

trueKasadaTaskWorkTimeProxyless

The domain you are generating for e.g xx.xxxx.com

userAgent

string

true

Your user-agent, please keep it consistent with the one your program uses.

st

string

true

The st value in response header of /tl post

workTime

string

optional

you can pregenerate your header with providing this timestamp value

...

Code Block
{
    "clientKey": "YourClientKey",
    "task": {
        "type": "KasadaTaskWorkTimeProxyless": "KasadaWorkTimeTaskProxyless",
        "domain": "xxx.xxx.com",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
        "st": "1704442141209",
        "workTime": "1704471401730"
    }
}

...

Code Block
{
	"errorId": 0,
	"solution": {
		"payload": "{"data":"{\'{"workTime\":17044714017301704481749062,\"id\":\"548c6682ca1bc5375e665c64d9b55af2\698d9725a8b5ae681ca83d2a38ac9a9c",\"answers\":[24,16],\"duration\":1210.12,\"d\":-371278,\"st\":17044421412091704442141582,\"rst\":1704442141582}","error":"","status":"success"}"1704442141862}'
	},
	"status": "ready"
}