稳定、快速、免费的 API 接口服务
查询手机号码所属地区
接口地址: https://api.qqsuu.cn/api/dm-mobilelocal
返回格式: JSON
请求方式: GET/POST
请求示例: https://api.qqsuu.cn/api/dm-mobilelocal?phone=1522150
所有接口需携带秘钥,以免更新导致请求失败!
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| phone | 是 | String | 手机号码 |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| mobileprovice | String | 归属地省份 |
| mobilearea | String | 归属地地区 |
| proviceid | String | 归属地省份ID |
| areaid | String | 归属地地区ID |
| mobiletype | String | 运营商类别 |
| areacode | String | 城市区号 |
| postcode | String | 邮政编码 |
返回示例:
{
"code": 200,
"msg": "success",
"result": {
"mobileprovice": "上海",
"mobilearea": "上海",
"proviceid": "310000",
"areaid": "310000",
"mobiletype": "中国移动",
"areacode": "021",
"postcode": "200000"
}
}
错误码格式说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| code | int | 成功 |
| msg | String | 错误 |
代码示例:
暂无示例。