Steam 注册 / 找回
Steam 账号找回与注册的 Preflight + Enterprise 完整流程
快速开始:免费注册获取 User-Token → | 请求头可填
Developer-Id: hqLmMS请先参考 hCaptcha 预请求接口(Preflight API),调用预请求接口获取对应的 User-Agent、region 及 allowPassProxy 标记。
JAVASCRIPT
preflight = request(
"http://api.nocaptcha.io/api/wanda/hcaptcha/preflight",
{ "User-Token": "your_token", "Developer-Id": "hqLmMS" },
{
sitekey: "steam_recovery", // 账号找回使用 steam_recovery,注册使用 steam_register
},
);
if (preflight.success) {
preflight_uuid = preflight.data.preflight_uuid;
userAgent = preflight.data.data.navigator.userAgent;
region = preflight.data.data.region;
} else {
// 分数过低或其他原因
return;
}
if (preflight.data.allowPassProxy) {
proxy = `socks5://xxxxxx-${region}-xxxxxx-sessTime-5:xxx@ip:port`;
} else {
proxy = null;
}
// 账号找回(recovery)
url = "https://help.steampowered.com/en/wizard/RefreshCaptcha";
headers = `Connection: keep-alive
Content-Length: 77
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie:
Origin: https://help.steampowered.com
User-Agent: ${userAgent}
X-Requested-With: XMLHttpRequest
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://help.steampowered.com/en/wizard/HelpWithLoginInfo?issueid=406
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9`;
// 账号注册(register)
url = "https://store.steampowered.com/join/refreshcaptcha/";
headers = `Host: store.steampowered.com
Connection: keep-alive
Content-Length: 18
Accept: text/javascript, text/html, application/xml, text/xml, */*
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Cookie:
Origin: https://store.steampowered.com
User-Agent: ${userAgent}
X-Prototype-Version: 1.7
X-Requested-With: XMLHttpRequest
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://store.steampowered.com/join/
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9`;
resp = request(url, headers, proxy);
sitekey = resp.sitekey;
if (
sitekey !== "eb9cbe72-814a-4392-b9b2-f8965f3686ee" &&
sitekey !== "e18a349a-46c2-46a0-87a8-74be79345c92" &&
sitekey !== "de4aa7b0-f4a6-41a6-8334-358c70743fbc" &&
sitekey !== "20e8e2a6-6908-4840-9814-912e9ea4683c"
) {
// 不在支持列表内则跳过并更换下一个代理 IP
return;
}
resp = request(
"http://api.nocaptcha.io/api/wanda/hcaptcha/enterprise",
{ "User-Token": "your_token", "Developer-Id": "hqLmMS" },
{
preflight_uuid: preflight_uuid, // 保持同一会话
proxy: proxy,
sitekey: sitekey,
region: region,
},
proxy,
);
token = resp.data.generated_pass_UUID;
// 使用 token 向 Steam 提交请求准备接入 Steam 注册 / 找回? 免费注册获取 API Key → | 查看服务目录与状态 →