Skip to main content

手机号查询充值运营商

接口说明

根据手机号查询手机号归属的运营商

接口地址

https://api.paynicorn.com/trade/topup/api/queryOperatorCode

请求方法:post

请求参数

参数名参数类型填写要求描述
nationalPhoneNostringM手机号
countryCodestringM国家码

响应参数

参数名参数类型填写要求描述
codeintM请求处理的标识
msgstringM请求处理信息
resultJsonObjM返回结果

result对象参数

参数名参数类型填写要求描述
countryCodestringM国家编码
currencystringM币种编码
areaCodestringM国家区号
operatorCodestringMPAYNICORN运营商编码
operatorNamestringM运营商全程

示例

Request

  {
"countryCode": "NG",
"nationalPhoneNo": "07012345678"
}

Response

  {
"code": 1200,
"msg": "success",
"result": {
"countryCode": "NG",
"currency": "NGN",
"areaCode": "234",
"operatorCode": "NG_AIRTEL",
"operatorName": "Airtel Nigeria"
}
}