Base Station usage API Description
Mobile Unicom Base Station positioning
Parameter Description :
name |
type |
whether you must |
Description |
 MCC |
int ( decimal ) |
Yes |
mcc country code: China Code Span style= "font-family: Microsoft Jacob Black;" >;460 |
 MNC |
int ( decimal ) |
Yes |
mnc network type Span style= "font-family: Microsoft Jacob Black;" >0 mobile 1 Unicom ( Telecom correspondence |
cell_id |
int ( decimal ) |
Yes |
base station id ( Telecom correspondence bid) |
Lac |
int ( decimal ) |
is a |
Lac ( telco corresponds to nid) |
Key |
String |
is a |
APP KEY |
Type |
Int |
No |
returns the default value of the coordinate type 0 (Google coordinates) , 1 ( Baidu coordinates ), 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 |
a 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 :
name |
type |
whether you must |
Description |
 MCC |
int ( decimal ) |
Yes |
mcc country code: China Code Span style= "font-family: Microsoft Jacob Black;" >;460 |
 MNC |
int ( decimal ) |
Yes |
mnc network type Span style= "font-family: Microsoft Jacob Black;" >0 mobile 1 Unicom ( Telecom correspondence |
cell_id |
int ( decimal ) |
Yes |
base station id ( Telecom correspondence bid) |
Lac |
int ( decimal ) |
is a |
Lac ( telco corresponds to nid) |
Key |
String |
is a |
APP KEY |
Type |
Int |
No |
returns the default value of the coordinate type 0 (Google coordinates) , 1 ( Baidu coordinates ), 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 |
a 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/11 ( Telecom Base station positioning )
HTTP://WWW.HAOSERVICE.COM/DOCS/1 ( Mobile Unicom base station positioning )
Base Station Usage API description