Get 4G Network Information

555

# Get 4G Network Information

Path:

/api/4ginfo.json

Method: GET

Content-type: application/json; charset=utf-8

API Description: This can be used to get the detailed information of the 4G network.

Response

Name Type Example Description
deviceid String 862815036895777 IMEI or MEID
phonetype String NO_PHONE = 0
GSM_PHONE = 1
CDMA_PHONE = 2
SIP_PHONE = 3
Network mode
operatorname String CHINA MOBILE Operator code
operator String 46000 Current registered operator MCC+MNC(mobile country code + mobile network code)
networktype String UNKNOWN
GPRS
EDGE
UMTS
CDMA
EVDO_0
EVDO_A
1xRTT
HSDPA
HSUPA
HSPA
IDEN
EVDO_B
LTE
EHRPD
HSPAP
Current network type
hasicc String true Whether ICC exists
simstate String UNKNOWN: Unknown status
ABSENT: SIM card not available
PIN_REQUIRED: SIM PIN is required for unlocking
PUK_REQUIRED: SIM PUK is required for unlocking
NETWORK_LOCKED: PIN is required for unlocking
READY: Prepared
SIM card status
simoperator String 46004 SIM card operator MCC+MNC(mobile country code + mobile network code)
simoperatorname String CMCC Operator
simserial String 89860469092190175374 ICCID
linenumber String 1440698945374 Phone number
imsi String 460048989405374 imsi
msisdn String 1440698945374 Phone number in GSM mode
dataactivity String NONE: No data traffic
IN: Receiving data package
OUT: Sending data package
INOUT: Receiving and sending data package
DORMANT: Sleep
Data connection status
datastate String DISCONNECTED: Disconnected
CONNECTING: Establishing data connection
CONNECTED: Connected
SUSPENDED: Suspended
Current data connection status

Example

{
	"code": 200,
	"data": {
		"dataactivity": "OUT",
		"datastate": "CONNECTED",
		"deviceid": "862815036895777",
		"hasicc": "true",
		"imsi": "460048989405374",
		"linenumber": "1440698945374",
		"msisdn": "1440698945374",
		"networktype": "LTE",
		"operator": "46000",
		"operatorname": "CHINA MOBILE",
		"phonetype": "NO_PHONE",
		"simoperator": "46004",
		"simoperatorname": "CMCC",
		"simserial": "89860469092190175374",
		"simstate": "READY"
	},
	"msg": "200 success"
}