Skip to content

DHRU-Compatible IMEI API for Resellers

API documentation: DHRU-compatible REST API v1. Connect your panel or script using the standard DHRU format.

IMEI unlock and check API for DHRU panels and resellers

IMEI.DATE exposes its whole catalog through a DHRU Fusion-compatible API, so a reseller panel or any script that speaks the DHRU format can sync services, place orders and read results without manual work. Point the panel at https://imei.digital: DHRU panels append /api/index.php themselves, and https://imei.digital/api/index.php is the same endpoint as /api/v1 for direct integrations.

The API covers both service types: IMEI services (carrier and SIM-lock checks, Apple GSX reports, blacklist checks, carrier unlocks for AT&T, T-Mobile, Cricket, Verizon and other networks) and server services (tool activations and credits). accountinfo returns your balance, imeiservicelist and serverservicelist return the live price list, placeimeiorder takes one IMEI and bulkimeiorder up to 5000 IMEI in a single request, and getimeiorder / bulkgetimeiorder poll for the status and the result. Orders are processed automatically around the clock; the result is returned by the API and is also visible in your dashboard, sent by email and pushed by the Telegram bot, which can reorder your recent services with one tap. A rejected order is refunded to your balance automatically, so a failed check or unlock never costs you money.

Getting access: create an account, top up the balance and ask support to enable API access for your account. Your API key and the optional IP whitelist then appear on this page. Prices are the same as on the site: browse the IMEI services catalog to see what you can resell.

Login required

Log in to view your API credentials and manage your API key.

DHRU Connection Settings

API URL:

https://imei.digital

DHRU panels append /api/index.php themselves

Method:

POST

Format:

JSON / DHRU Standard

To connect from another DHRU panel: use the API URL above, your username, and your API access key. Supports standard, PHP array parameters[FIELD], and XML string formats.

API Endpoints

Get your account balance and information.

Request Example

curl -X POST https://imei.digital/api/v1 \
  -d "username=YOUR_USERNAME" \
  -d "apiaccesskey=YOUR_API_KEY" \
  -d "action=accountinfo"

Response Example

{
  "SUCCESS": [{
    "message": "Your Account Info",
    "Account": {
      "credit": "USD25.50USD",
      "creditraw": "25.50",
      "mail": "[email protected]",
      "currency": "USD"
    }
  }],
  "apiversion": "8.1"
}

Error Response Format

{
  "ERROR": [
    { "MESSAGE": "Authentication failed. Check username and API access key." }
  ],
  "apiversion": "8.1"
}

Order Status Codes

0
Pending
1
Processing
2
Rejected
3
Completed

PHP Integration Example

<?php
class DhruApi {
    private $url;
    private $username;
    private $apiKey;
    
    public function __construct($url, $username, $apiKey) {
        $this->url = $url;
        $this->username = $username;
        $this->apiKey = $apiKey;
    }
    
    private function request($action, $params = []) {
        $data = array_merge([
            'username' => $this->username,
            'apiaccesskey' => $this->apiKey,
            'action' => $action,
        ], $params);
        
        $ch = curl_init($this->url);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 30);
        $response = curl_exec($ch);
        curl_close($ch);
        
        return json_decode($response, true);
    }
    
    public function getBalance() {
        return $this->request('accountinfo');
    }
    
    public function getServices() {
        return $this->request('imeiservicelist');
    }
    
    public function placeOrder($serviceId, $imei) {
        return $this->request('placeimeiorder', [
            'parameters[ID]' => $serviceId,
            'parameters[IMEI]' => $imei,
        ]);
    }
    
    public function getOrder($orderId) {
        return $this->request('getimeiorder', [
            'parameters[ID]' => $orderId,
        ]);
    }
}

// Usage:
$api = new DhruApi('https://imei.digital/api/v1', 'your_username', 'your_api_key');

// Check balance
$balance = $api->getBalance();
echo "Balance: " . $balance['SUCCESS'][0]['Account']['creditraw'] . " USD\n";

// Get services
$services = $api->getServices();

// Place order
$order = $api->placeOrder(101, '123456789012345');
$orderId = $order['SUCCESS'][0]['REFERENCEID'];

// Check order status
$status = $api->getOrder($orderId);
echo "Status: " . $status['SUCCESS'][0]['STATUS'] . "\n";
echo "Result: " . $status['SUCCESS'][0]['CODE'] . "\n";
?>