Avviso: le richieste API sono limitate in base alla frequenza, non inviare più di 4 richieste contemporaneamente e mantenerle al di sotto di 20 RICHIESTE al minuto . Gli indirizzi IP che superano i limiti di richiesta potrebbero essere bloccati automaticamente .
L'accesso all'API ora è disponibile solo nella versione A PAGAMENTO: i prezzi per l'API BASIC sono elencati di seguito
1. Per ottenere le informazioni sul telefono, inviare una richiesta POST a:
https://www.imei.info/api/checkimei/
2. nei dati POST specificando i parametri:
API Key: in paid version imei: enter IMEI number
Un modulo di esempio per ottenere informazioni sul telefono nel browser utilizzando la chiave API:
<form action="https://www.imei.info/api/checkimei" method="POST"> API Key: <input type="text" name="key" /> Imei: <input type="text" name="imei" /> <button type="submit">Check!</button> </form>
ARRICCIARE
curl -X POST https://www.imei.info/api/checkimei/ -H 'cache-control: no-cache' -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' -F imei={imei-to-check-here} -F key={your-api-key-here}
NODE.JS
var request = require("request"); var options = { method: 'POST', url: 'https://www.imei.info/api/checkimei/', headers: { 'cache-control': 'no-cache', 'content-type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' }, formData: { imei: 'imei-to-check-here', key: 'your-api-key-here' } }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
Esempio di risultato BASIC utilizzando API - prezzi API di base elencati di seguito
{ "imei":"01341000008XXXX", "brand": "APPLE", "model": "iPhone 5" }
Esempio di risultato COMPLETO utilizzando l'API: contattaci per il prezzo se hai bisogno di più parametri rispetto alle informazioni di base sopra
{ "imei": "35XXXXXXXXXXXXX", "imei_parts": { "fac": "XX", "cd": "X", "snr": "XXXXXX", "tac": "35XXXX" }, "brand": "NOKIA", "info": { "weight": 130.0, "battery": [ "Li-Ion", 850 ], "qwerty": false, "year": [ "2002", "09" ], "talk_time_umts": 0.0, "stand_by": 200.0, "touch_scr": false, "size": { "width": 57.0, "thickness": 26.0, "height": 130.0 }, "wifi_hotspot": false, "cpu_clock": 104.0, "other_band": [], "build": "Classic", "tel_func": false, "lan": false, "talk_time": 4.0, "int_memory": "4", "gsm_band": [ "900", "1800", "1900" ], "memory_card": [ "MMC", 0 ], "umts_band": [], "hsdpa_band": [], "display": { "color": [ true, "4K" ], "type": "LCD", "size": { "width": 176, "inches": 2.1, "height": 208 } }, "lan_ports": null, "os": "Symbian 6.1", "cpu": "ARM9" }, "model": "3650" }
3. Supporto per errori
Ogni errore viene restituito in formato JSON
Per esempio:
{'error': 'Incorrect username/password'} {'error': 'Account blocked'} {'error': 'Missing username/password'} {'error': 'Exceeded the limit'} {'error': 'IMEI: 35XXXXXXXXXXXXX not found'} {'error': 'IMEI cannot be empty'} {"errors": "API key invalid or disabled"} // HTTP STATUS: 403 {"errors": "API key not activated or expired"} // HTTP STATUS: 403 {"errors": "Hourly limit exceeded"} // HTTP STATUS: 429 {"errors": "Daily limit exceeded"} // HTTP STATUS: 429
4. Controllo dello stato della chiave API:
https://www.imei.info/api/status?key={YOUR_API_KEY}
Risultato del campione:
{"Has access": true, "Activation date": "2018-10-29", "Expiration date": "2018-12-30", "Checks left (hour)": "No limit", "Checks left (day)": "No limit", "Checks left (month)": 4996}
Listino prezzi info di base (info base: marca | modello):
- 2500 / assegni: $ 50 - $ 0,02 / imei
- 10.000 / assegni: $ 100 - $ 0,01 / imei
- 100000 / assegni: $ 500 - $ 0,005 / imei
Ordina chiave API per API di base:
Acquista 50 USD BASIC API KEY Acquista 100 USD BASIC API KEY Acquista 500 USD BASIC API KEY
Seconda API (API V4) per servizi di controllo (tutte le marche) disponibile: