...
Task Type | Description | Price | Price(USD) | ||||||
---|---|---|---|---|---|---|---|---|---|
KasadaTaskProxyless | Kasada solution |
| $2.5/1k | ||||||
KasadaWorkTimeTaskProxyless | KasadaWorkTime solution |
| $0.1/1k |
Usage
1. How to generate /tl Payload
Request target url and be blocked by 429 status code to get the response body with a URL to
/ips.js
.Do a GET request to the ips.js URL and store the response body, then it need to be sent to api later.
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 |
lang | string | true | The main language of your accept-language header in your request (only send the first language) |
bmscbmsz | string | true | The |
domain | string | true | The domain you are generating for e.g |
...
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 | KasadaTaskWorkTimeProxylessKasadaWorkTimeTaskProxyless |
domain | string | true | The domain you are generating for e.g |
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 |
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" } } |
...