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) |
---|---|---|---|
TlsTask | Tls Froward solution | 1 POINTS | $0.1/1k |
Make a POST request to the API URL. using the following form data
Parameter | Type | Required | Description |
---|---|---|---|
tls_type | string | true | chrome107/chrome124/footlocker_ios_app |
proxy | string | true | http://username:password@host:port |
method | string | true | get/post |
url | string | true | target url |
headers | object | true | {“user-agent”:"Mozilla/5.0 (Windows NT 10.0; Win64…."} |
headers_order | string | true | user-agent,sec-ch-ua,sec-ch-ua-mobile |
cookies | object | true | {“_abck“:”xxx”,”bm_sz”:”xxxx”} |
body | string | true | “data=xxxx&aa=xxxx” or “{“xxx“:”xxxxx”}” |
Create Task
Example
POST https://sync.ez-captcha.com/createSyncTask
Content-Type: application/json
{ "clientKey": "YourClientKey", "task": { "type": "TlsTask", "tls_type": type, // chrome107/chrome124/footlocker_ios_app "proxy": proxy, // http://username:password@host:port "method": method, // get/post "url": url, // https://xxxxxx "headers": headers, // {"user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64…."} "headers_order": headersorder, // user-agent,sec-ch-ua,sec-ch-ua-mobile "cookies": cookies, // {"_abck":"xxx","bm_sz":"xxxx""} "body": body // data=xxxx&aa=xxxx / {"xxx":"xxxxx"} } }
Response Example
The returned payload is submitted as sensor data to the website api via POST request.
{ "errorId": 0, "solution": { "status": 0, // 0:fail 1:success "msg": "", // fail info "code": 0, // response code "headers": {}, // response headers "cookies": {}, // response cookies "body": "", // response body }, "status": "ready" }