API for resellers
Sell our services on your own website or panel. The API uses the common Dhru Fusion format.
API address (send POST requests here)
https://new.unlockerhub.com/api/index.phpGet started
- Create an account and write to us to enable API access for it.
- Sign in, open Account > API and create your API key. It is shown once, so keep it safe.
- Optional: write the IP addresses of your server in the same page. Then only they can use your key.
- In your panel, add a new supplier of the type Dhru Fusion with the address above, your email as the username and your key as the API key.
What you can do
| Action | What it does |
|---|---|
accountinfo | Shows your balance. |
imeiservicelist | Lists the services and your prices. |
placeimeiorder | Places an order. Give the service id and the IMEI or the details the service needs. |
getimeiorder | Shows the status and the reply of an order. Status 4 = done, 3 = rejected (refunded), 1 = in process, 0 = new. |
Example
curl -X POST https://new.unlockerhub.com/api/index.php \ -d "username=you@example.com" \ -d "apiaccesskey=YOUR_API_KEY" \ -d "action=accountinfo"
Answers are JSON. A good answer has SUCCESS and a wrong one has ERROR with a message. Too many wrong tries, or too many requests in a minute, are refused for a short time.