AkamaiBMP: AKAMAI(モバイル)を解決
TIP
ℹ️このタスクタイプは、Akamai BMP(モバイル)を解決するために使用されます。
タスクの作成
このタスクタイプでは、/akamaibmp/invokeを取得するための独自のエンドポイントを使用します。
タスクオブジェクトの構造
プロパティ | タイプ | 必須 | 備考 |
---|---|---|---|
type | String | Required | AntiAkamaiBMPTask |
packageName | String | Required | Package name of AkamaiBMP mobile APP, de.package.iphone |
version | String | Optional | AKAMAI BMP Version number, default is: 3.2.6 , max support 3.3.1 |
deviceId | String | Optional | If you want to have a fixed device ID in the sensor, you can pass this parameter |
deviceName | String | Optional | Input fixed deviceInfo,default is: random. example: iPhone14,2/16.0.2 |
count | Int64 | Optional | Sensor combinations acquired at once, 0 < count <= 50 , max 50 items acquired at once |
pow | String | Optional | Support: /_bm/get_params data {"mode":1,"nonce":"3764bd11365749ec62974f920eb3614c","ttl":21600,"difficulty":6000,"timeout":100,"n":490,"s_timeout":100,"checksum":"plKZ9lBBJwLeeWRjoaZ4OevBFoPf3EyJIFgp2utWwI3ly34OsW6JluR2nY+lAwapZAcMf/kCo2g5ni6daXPhBSpg=="} If this parameter is passed in, the other parameters will be ignored to generate the pow string |
サポートされるバージョン
バージョン
2.1.0 | 2.1.1 | 2.2.1 | 3.0.0 | 3.1.0 |
---|---|---|---|---|
3.2.3 | 3.2.4 | 3.2.6 | 3.3.0 | 3.3.1 |
3.3.2 | 3.3.4 | 3.3.5 |
デバイス名
iPhone10,1 | iPhone10,2 | iPhone10,3 | iPhone12,1 | iPhone12,3 |
---|---|---|---|---|
iPhone12,5 | iPhone13,1 | iPhone13,2 | iPhone13,3 | iPhone14,5 |
iPhone14,2 | iPhone14,3 | iPhone14,7 | iPhone15,2 | iPhone15,3 |
iPhone14,8 |
iOSリリース
16 | 16.0.1 | 16.0.2 | 16.0.3 | 16.1 |
---|---|---|---|---|
16.1.1 | 16.1.2 | 16.2 | 16.3 | 16.3.1 |
16.4 | 16.4.1 | 16.5 | 16.5.1 | 16.6 |
17.0 |
例のセンサーリクエスト
POST https://api.capsolver.com/akamaibmp/invoke
Host: api.capsolver.com
Content-Type: application/json
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AntiAkamaiBMPTask", //Required
"packageName": "de.package.iphone", //Required
"country": "US", //Optional
"version": "3.2.6", //Required
"deviceId": "90F9EAF5-D6E5-4E30-BC8B-B7780AD02600", //Optional
"deviceName": "iPhone14,2/16.0.2", //Optional
"count": 10 //Optional
}
}
例のセンサーレスポンス
{
"errorId": 0,
"success": true,
"state": "ready",
"solution": {
"deviceId": "D7224EA0-4773-4B0A-9DEC-0C61DE8D74B0",
"deviceName": "iPhone14,2/16.0.2",
"sensors": [
"2,i,...$29,17,57",
"2,i,...$29,17,57",
],
"version": "3.2.6"
},
"type": "AntiAkamaiBmpTask"
}
例のPowリクエスト
POST https://api.capsolver.com/akamaibmp/invoke
Host: api.capsolver.com
Content-Type: application/json
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AntiAkamaiBMPTask", //Required
"deviceId": "90F9EAF5-D6E5-4E30-BC8B-B7780AD02600", //Required
"pow": '{"mode":1,"nonce":"3764bd11365749ec62974f920eb3614c","ttl":21600,"difficulty":6000,"timeout":100,"n":490,"s_timeout":100,"checksum":"plKZ9lBBJwLeeWRjoaZ4OevBFoPf3EyJIFgp2utWwI3ly34OsW6JluR2nY+lAwapZAcMf/kCo2g5ni6daXPhBSpg=="}'//Required
}
}
例のPowレスポンス
{
"errorId": 0,
"success": true,
"state": "ready",
"solution": {
"pow":"$90F9EAF5-D6E5-4E30-BC8B-B7780AD02600;1692953907516;3764bd11365749ec62974f920eb3614c;6000;plKZ9lBBJwLeeWRjoaZ4OevBFoPf3EyJIFgp2utWwI3ly34OsW6JluR2nY+lAwapZAcMf/kCo2g5ni6daXPhBSpg==;0.779943542258,0.557086858063,0.074994427115,0.528065278473,0.196708122838,0.179729781970,0.898601813923,0.462955165004,0.445151115151,0.894151818391;144,161,166,181,186,146,123,189,135,185;11247,7896,571,2559,10966,9764,9138,13100,1074,1487"
},
"type": "AntiAkamaiBmpTask"
}
SDKリクエストの使用
# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'
import capsolver
# capsolver.api_key = "..."
solution = capsolver.solve({
"type": "AntiAkamaiBMPTask",
"packageName": "de.package.iphone",
"country": "US",
"version": "3.2.6",
"deviceId": "90F9EAF5-D6E5-4E30-BC8B-B7780AD02600",
"deviceName": "iPhone14,2/16.0.2",
"count": 10
})