TSPD (F5)
TSPD (F5): parameters, request, response and the 2Captcha method of TspdTask.
On this page
TSPD (F5): the bot protection page with TS… cookies. The answer is the cookies per domain; your proxy must keep the same IP for every step.
| Status | coming soon |
| Type codes | TspdTask — with your proxy |
| Proxy | required — your proxy |
| Also accepted as | — |
| Price | set when the type is switched on — see pricing |
Rules#
- Only with your proxy: the answer is bound to the IP address it was obtained from. See Proxies.
Parameters#
Fields of the task object in createTask:
ParameterDescription
typestringrequired- Task type:
TspdTask. websiteURLstringrequired- Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
tspdCookiestringrequired- The
TS…cookies of the challenge page. One line of text, up to 8192 characters. htmlPageBase64stringrequired- The whole challenge page in base64. One line of text, up to 2097152 characters.
userAgentstring- User-Agent of the browser that will use the answer, up to 512 characters.
proxyTypestringhttp(default),https,socks4orsocks5.proxyAddressstringrequired- IP address or host name of the proxy. Private and local addresses are rejected.
proxyPortintegerrequired- Proxy port, 1–65535.
proxyLoginstring- Proxy login, up to 256 characters. Stored encrypted.
proxyPasswordstring- Proxy password, up to 256 characters. Stored encrypted.
Request#
A TspdTask task:
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "TspdTask",
"websiteURL": "https://example.com/login",
"tspdCookie": "TS01abcd=0826…",
"htmlPageBase64": "PCFET0NUWVBFIGh0bWw+…",
"proxyType": "http",
"proxyAddress": "203.0.113.10",
"proxyPort": 8080,
"proxyLogin": "user",
"proxyPassword": "pass"
}
}Response#
getTaskResult once the task is solved:
{
"errorId": 0,
"status": "ready",
"solution": {
"Domains": {
"example.com": {
"Cookies": {
"TS01abcd": "0826…",
"tspd_101_DID": "0826…"
}
}
},
"userAgent": ""
},
"cost": "0.003000",
"ip": "198.51.100.7",
"createTime": 1793370000,
"endTime": 1793370012,
"solveCount": 1
}2Captcha in.php#
The same task through the 2Captcha API: method=tspd, parameters → task fields:
| in.php | task |
|---|---|
pageurl | websiteURL |
tspd_cookie | tspdCookie |
html_page_base64 | htmlPageBase64 |
useragent | userAgent |
res.php returns the solution as a JSON object (in request with json=1).