FRP and FDL unlock API

Use one JSON endpoint to submit FRP or FDL jobs, deduct credit only on success, and receive the unlock payload. API access must be enabled on the account by an administrator.

Endpoint

POST https://powertoolauth.com/login/api/api_sell.php

Send JSON with Content-Type: application/json. Form-urlencoded bodies are also accepted. Always use HTTPS.

Authentication

Use the same username and password as the Power Tool Auth account. The password is verified against the stored hash. The account must be active and have API Access enabled.

API access is not the same as a DHRU reseller key. Ask an admin to enable API access, then use username + password here.

Supported services

soc = frp soc = fdl
socServiceWhat you sendWhat you get
frp FRP Bypass Base64 JSON with token, deviceName, productName Unlock token in data.response
fdl FDL Unlock Same blob shape from a fastboot/FDL read: token, deviceName (model), productName Signed payload in data.response to write back to the device

Pricing follows the account: custom per-user price if set, otherwise reseller or user price for that service.

Request body

FieldRequiredDescription
usernameYesAccount username
passwordYesAccount password in plain text
socYesfrp or fdl (case-insensitive)
configblobYesBase64-encoded JSON object. Must decode to valid JSON

configblob JSON

{
  "productName": "XIAOMI GLOBAL",
  "deviceName": "gale_global",
  "token": "DEVICE_TOKEN_HERE"
}

Encode that JSON as base64 and send it as configblob.

Response format

Every response is JSON with HTTP status 200. Use success to decide if the job worked.

{
  "status": 200,
  "success": true,
  "message": "",
  "request_id": "req_698e280729d3c8.71204931",
  "timestamp": "2026-02-12T19:30:45Z",
  "data": {
    "response": "65D1EF3F15EFEF24C8D8EF8577D3A9EF...",
    "credit": 7.5,
    "pricing_type": "user",
    "amount_charged": 3.0,
    "service": "frp"
  }
}

Credit is deducted only when success is true and a valid payload is returned. Failed jobs do not charge the account.

Examples

FRP — cURL

curl -X POST https://powertoolauth.com/login/api/api_sell.php \
  -H "Content-Type: application/json" \
  -d '{
    "username": "john_doe",
    "password": "mypassword123",
    "soc": "frp",
    "configblob": "BASE64_JSON_HERE"
  }'

FDL — cURL

curl -X POST https://powertoolauth.com/login/api/api_sell.php \
  -H "Content-Type: application/json" \
  -d '{
    "username": "john_doe",
    "password": "mypassword123",
    "soc": "fdl",
    "configblob": "BASE64_JSON_HERE"
  }'

PHP

<?php
$url = 'https://powertoolauth.com/login/api/api_sell.php';
$data = [
    'username'   => 'john_doe',
    'password'   => 'mypassword123',
    'soc'        => 'fdl', // or 'frp'
    'configblob' => base64_encode(json_encode([
        'productName' => 'XIAOMI GLOBAL',
        'deviceName'  => 'gale_global',
        'token'       => 'DEVICE_TOKEN_HERE',
    ])),
];

$ch = curl_init($url);
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => json_encode($data),
    CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);

if (!empty($result['success'])) {
    echo $result['data']['response'];
} else {
    echo $result['message'] ?? 'Request failed';
}

Common errors

MessageMeaningCharged
Missing required fieldsusername, password, soc, or configblob missingNo
Invalid SOC model. Supported values: frp, fdlsoc is not frp or fdlNo
Invalid username or passwordCredentials do not matchNo
API access is not enabled for this accountAdmin must enable API accessNo
Not enough creditBalance is below the service priceNo
Invalid configblob: Not valid base64 JSONBlob is not base64 JSONNo
No active FRP/FDL server configuredUpstream server for that service is offlineNo
API request failedUpstream returned an error or empty payloadNo

Need access or a price for FDL? Contact support on Telegram.