Create a task through sync api https://sync.ez-captcha.com/createSyncTask
, and get the result directly
If you obtain an invalid token, please contact us. It will usually work normally after we optimize it.
Task Type
Task Type | Description | Price | Price(USD) |
---|---|---|---|
KasadaTaskProxyless | Kasada solution | 25 POINTS | $2.5/1k |
KasadaTaskWorkTimeProxyless | KasadaTaskWorkTimeProxyless solution | 5 POINTS | $0.5/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) |
bmsc | string | true | The |
domain | string | true | The domain you are generating for e.g |
Create Task
Example
POST https://sync.ez-captcha.com/createSyncTask
Content-Type: application/json
{ "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", "bmsc": "xxxx", "domain": "xxx.xxx.com" } }
Response Example
Get dt from response and use it as header
X_*****_Dt
on the/tl
postGet ct from response and use it as header
X_*****_Ct
on the/tl
postAPI will return a base64 encoded response. You need to decode this response to a byte array and then post it to
/tl
{ "errorId": 0, "solution": { "ct": "0rRUrDIrbJtVlXV38QPOg1vxJVyn7mGaaEyHb2b3ehOjQBGzi8OB9c42Sl5Tie4xctIT8lq1gRU8KW8IJs5E7GUd4MtNfwovogsGLqE8vHZ8rEogLWcIQQT7CHtOdZSVLRBPOU439Mh1FKsk8JqwCYJGvlTQ", "dt": "118hy2kz01k4x3gz6s6y78", "tl": "xxxxxxxxxxxxxxxxxxx" }, "status": "ready" }
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 | KasadaTaskWorkTimeProxyless |
st | string | true | The st value in response header of |
workTime | string | optional | you can pregenerate your header with providing this timestamp value |
Create Task
Example
POST https://sync.ez-captcha.com/createSyncTask
Content-Type: application/json
{ "clientKey": "YourClientKey", "task": { "type": "KasadaTaskWorkTimeProxyless", "st": "1704442141209", "workTime": "1704471401730" } }
Response Example
This API will return a json value of header x-****-cd
{ "errorId": 0, "solution": { "payload": "{"data":"{\"workTime\":1704471401730,\"id\":\"548c6682ca1bc5375e665c64d9b55af2\",\"answers\":[2,1],\"duration\":12.1,\"d\":-371,\"st\":1704442141209,\"rst\":1704442141582}","error":"","status":"success"}" }, "status": "ready" }