<?php
$apiurl = "https://devicecheck.us/api/v2/checkimei";
$postdata = json_encode(array("token" => YOUR_API_KEY,"service" => SERVICE_NAME,"imei" => YOUR_IMEI));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiurl);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
print_r($result);
?>
Using the example code, you will be able to make a simple API call to our deviceCheck API
with the help of CURL and PHP.
While this example shows you one method, your options are not strictly limited to using PHP.
We have clients who use perl, python, and .NET just to name a few.
The only thing you need to send in your JSON encoded POST string is your API Token, the IMEI
of a wireless device, as well as the service you want to check your IMEI against.
For example, if you wanted to check a device against the IMEI Blacklist, your POST data
would look like such:
{"token":"r@nd0m70k3nh3r3","service":"blacklist","imei":"352978091717190"}
Our API Service operates on a tier-based billing system. Each account incurs a monthly service fee, which covers the first 2,000 IMEIs processed within that month.
At the beginning of each month, we will issue an invoice for the previous month's usage, due within 15 days. The invoice amount will include the service fee and the tiered rates for the number of IMEIs checked beyond the first 2,000.
For example, if your business processed 13,121 IMEIs during the billing period, the amount due would be calculated as follows:
{ "success": true, "data": { "service": "tmobile_financial", "results": "failed", "dcid": "xv7u145xxxxxxx", "imei": "99001675xxxxxxx", "tac": "99001675", "brand": "ONEPLUS", "marketing_name": "ONEPLUS LE2127", "model": "LE2127", "crimeWatch": "passed", "riskTracker": "passed", "phoneProbe": "failed", "check_date": "24-04-11 14:28:18", "tac_data": { "img": "https://devicecheck.us/images/phones/oneplus-9-pro-.jpg", "network": { "technology": "GSM / CDMA / HSPA / LTE / 5G", "2g_bands": "GSM 850 / 900 / 1800 / 1900 - SIM 1 & SIM 2 CDMA 800 / 1900 ", "3g_bands": "HSDPA 800 / 850 / 900 / 1700(AWS) / 1800 / 1900 / 2100 ", "4g_bands": "1, 2, 3, 4, 5, 7, 8, 12, 13, 17, 18, 19, 20, 25, 26, 28, 32, 38, 39, 40, 41, 66 - EU 1, 2, 3, 4, 5, 7, 8, 12, 13, 17, 18, 19, 20, 25, 26, 28, 30, 32, 38, 39, 40, 41, 46, 48, 66, 71 - NA 1, 2, 3, 4, 5, 7, 8, 12, 17, 18, 19, 20, 26, 34, 38, 39, 40, 41, 46 - IN 1, 2, 3, 4, 5, 7, 8, 12, 17, 18, 19, 20, 26, 34, 38, 39, 40, 41 - CN", "5g_bands": "1, 3, 5, 7, 8, 20, 28, 38, 40, 41, 66, 78 SA/NSA - EU 1, 2, 3, 7, 25, 28, 41, 66, 71, 78, 258, 260, 261 SA/NSA/mmWave - NA 41, 78 SA/NSA - IN 1, 3, 28, 41, 78, 79 SA/NSA - CN", "speed": "HSPA 42.2/5.76 Mbps, LTE-A (CA) Cat20 2000/200 Mbps, 5G" }, "launch": { "announced": "2021, March 23", "status": "Available. Released 2021, March 30" }, "body": { "dimensions": "163.2 x 73.6 x 8.7 mm (6.43 x 2.90 x 0.34 in)", "weight": "197 g (6.95 oz)", "build": "Glass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frame", "sim": "Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, dual stand-by) IP68 dust/water resistant (up to 1.5m for 30 mins)" }, "display": { "type": "LTPO Fluid2 AMOLED, 1B colors, 120Hz, HDR10+, 1300 nits (peak)", "size": "6.7 inches, 108.4 cm2 (~90.3% screen-to-body ratio)", "resolution": "1440 x 3216 pixels, 20:9 ratio (~525 ppi density)", "protection": "Corning Gorilla Glass 5 Always-on display" }, "platform": { "os": "Android 11, upgradable to Android 12, OxygenOS 12", "chipset": "Qualcomm SM8350 Snapdragon 888 5G (5 nm)", "cpu": "Octa-core (1x2.84 GHz Cortex-X1 & 3x2.42 GHz Cortex-A78 & 4x1.80 GHz Cortex-A55", "gpu": "Adreno 660" }, "memory": { "card_slot": "No", "internal": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM UFS 3.1" }, "main_camera": { "quad": "48 MP, f/1.8, 23mm (wide), 1/1.43\", 1.12µm, multi-directional PDAF, Laser AF, OIS 8 MP, f/2.4, 77mm (telephoto), 1.0µm, PDAF, OIS, 3.3x optical zoom 50 MP, f/2.2, 14mm (ultrawide), 1/1.56\", 1.0µm, AF 2 MP, f/2.4, (monochrome)", "features": "Hasselblad Color Calibration, dual-LED flash, HDR, panorama", "video": "8K@30fps, 4K@30/60/120fps, 1080p@30/60/240fps, Auto HDR, gyro-EIS" }, "selfie_camera": { "single": "16 MP, f/2.4, (wide), 1/3.06\", 1.0µm", "features": "Auto-HDR", "video": "1080p@30fps, gyro-EIS" }, "sound": { "loudspeaker_": "Yes, with stereo speakers", "35mm_jack_": "No 24-bit/192kHz audio" }, "comms": { "wlan": "Wi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct, DLNA, hotspot", "bluetooth": "5.2, A2DP, LE, aptX HD", "gps": "Yes, with dual-band A-GPS, GLONASS, BDS, GALILEO, SBAS", "nfc": "Yes", "radio": "No", "usb": "USB Type-C 3.1, USB On-The-Go" }, "features": { "sensors": "Fingerprint (under display, optical), accelerometer, gyro, proximity, compass, color spectrum" }, "battery": { "type": "Li-Po 4500 mAh, non-removable", "charging": "Fast charging 65W, 1-100% in 29 min (advertised) Fast wireless charging 50W, 1-100% in 43 min (advertised) USB Power Delivery" }, "misc": { "colors": "Morning Mist, Forest Green, Stellar Black", "models": "LE2121, LE2125, LE2123, LE2120, LE2127", "price": "$ 523.79 / C$ 1,305.00 / £ 579.00 / € 615.02 / ₹ 49,999" }, "tests": { "camera": "Photo / Video", "loudspeaker": "-24.1 LUFS (Very good)", "battery_life": "Endurance rating 86h" } } } }
You can see here the output of a sample API request using our service.
These results include details related to the IMEI, the selected service mode, as well as: