Base Station Usage API description
Mobile Unicom Base Station positioning
Parameter description:
Whether the name type must be described
MCC Int (decimal) is the MCC Country code: China Code; 460
MNC int (decimal) is an MNC network type 0 Mobile 1 unicom (telco corresponding SID)
cell_idint (decimal) is the base station ID (Telecom corresponds to BID)
Lac Int (decimal) is lac (telco corresponds to NID)
Key string is the APP key
Type int No returns coordinate type default value 0 (Google coordinates), 1 (Baidu coordinate), 2 (GPS coordinates)
Return code Description:
Return Code description
1 missing key value
7 request parameter format error
2 Key not authorized
3 Key expires
4 no return value
5 Access limit reached or the number of remaining runs are exhausted
6 Invalid IP
0 Successful return
return Example:
{"Location":
{"Address":
{"Region": "Jiangsu Province",
"County": "Wuzhong District",
"Street": "Only pavilion Town",
"Street_number": "Lotus Square",
"City": "Suzhou",
"Country": "China"
},
"Addressdescription": "Suzhou Wuzhong District, Jiangsu Province, Portland Small Street, Wei Ting Town, Lotus Plaza, Portland Small Street East",
"Longitude": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"
},
"Access_token": null,
"Errcode": 0
}
Telecom Base Station positioning
Parameter description:
Whether the name type must be described
MCC Int (decimal) is the MCC Country code: China Code; 460
MNC int (decimal) is an MNC network type 0 Mobile 1 unicom (telco corresponding SID)
cell_id int (decimal) is the base station ID (Telecom corresponds to BID)
Lac Int (decimal) is lac (telco corresponds to NID)
Key string is the APP key
Type int No returns coordinate type default value 0 (Google coordinates), 1 (Baidu coordinate), 2 (GPS coordinates)
Return code Description:
Return Code description
1 missing key value
2 Key not authorized
3 Key expires
4 no return value
5 Access limit reached
0 Successful return
return Example:
{"Location":
{"Address":
{"Region": "Jiangsu Province",
"County": "Wuzhong District",
"Street": "Only pavilion Town",
"Street_number": "Lotus Square",
"City": "Suzhou",
"Country": "China"
},
"Addressdescription": "Suzhou Wuzhong District, Jiangsu Province, Portland Small Street, Wei Ting Town, Lotus Plaza, Portland Small Street East",
"Longitude": 120.7259200, "latitude": 31.2968700, "accuracy": "1000"
},
"Access_token": null,
"Errcode": 0
}
HTTP://WWW.HAOSERVICE.COM/DOCS/1 (Mobile Unicom base station positioning)
Base Station Usage API description