Skip to content

检测手机号码是否已注册

调用此接口 ,可检测手机号码是否已注册

接口信息

项目
接口地址/cellphone/existence/check
请求方式GET / POST
需要登录
对应模块cellphone_existence_check
文档分类用户与登录

请求参数

参数类型必填默认值说明
phonestring-手机号码
countrycodestring86国家码,用于国外手机号,例如美国传入:1 ,默认 86 即中国

HTTP 示例

bash
GET /cellphone/existence/check?phone=13xxx

编程式调用

ts
import { cellphoneExistenceCheck } from 'hana-music-api'

const result = await cellphoneExistenceCheck({
  phone: '13xxx',
})

console.log(result.body)

补充说明

说明 : 调用此接口 ,可检测手机号码是否已注册
必选参数 :
phone : 手机号码

可选参数 :
countrycode: 国家码,用于国外手机号,例如美国传入:1 ,默认 86 即中国

接口地址 : /cellphone/existence/check

调用例子 : /cellphone/existence/check?phone=13xxx

Released under the MIT License.