Device Info — Hardware & Network
curl --request GET \
--url https://api.stealthera.in/api/device/{deviceId}/info \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.stealthera.in/api/device/{deviceId}/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.stealthera.in/api/device/{deviceId}/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.stealthera.in/api/device/{deviceId}/info"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"deviceId": "<string>",
"nickname": "<string>",
"model": "<string>",
"firmwareVersion": "<string>",
"phone": "<string>",
"macAddress": "<string>",
"networkType": "<string>",
"networkOperator": "<string>",
"simIccid": "<string>",
"battery": 123,
"signal": 123,
"status": "<string>",
"lastSeen": "<string>"
}{
"error": "<string>"
}Device Info
Device Info — Hardware & Network
Returns hardware and network metadata for a device, plus current connectivity status.
Response fields:
| Field | Type | Description |
|---|---|---|
deviceId | string | Device IMEI |
nickname | string | Human-readable label (defaults to device ID) |
model | string | Device model |
firmwareVersion | string | Installed firmware version |
phone | string | Associated phone number |
macAddress | string | Device MAC address |
networkType | string | Cellular network type (e.g. LTE) |
networkOperator | string | Mobile network operator code |
simIccid | string | SIM card ICCID |
battery | number | Battery level (%) |
signal | number | Cellular signal strength in dBm (may be negative) |
status | string | Online / Offline |
lastSeen | string | Timestamp of last update (IST) |
GET
/
api
/
device
/
{deviceId}
/
info
Device Info — Hardware & Network
curl --request GET \
--url https://api.stealthera.in/api/device/{deviceId}/info \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.stealthera.in/api/device/{deviceId}/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.stealthera.in/api/device/{deviceId}/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.stealthera.in/api/device/{deviceId}/info"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"deviceId": "<string>",
"nickname": "<string>",
"model": "<string>",
"firmwareVersion": "<string>",
"phone": "<string>",
"macAddress": "<string>",
"networkType": "<string>",
"networkOperator": "<string>",
"simIccid": "<string>",
"battery": 123,
"signal": 123,
"status": "<string>",
"lastSeen": "<string>"
}{
"error": "<string>"
}Authorizations
Per-client API key issued by Stealthera.
Path Parameters
Device IMEI