How to use the free mobile phone number attribution API query interface and PHP
This article mainly introduces "how to use free mobile phone number attribution API query interface and PHP". In daily operation, I believe many people have doubts about how to use free mobile phone number attribution API query interface and PHP problems. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to use free mobile phone number attribution API query interface and PHP". Next, please follow the editor to study!
1. Taobao API
The copy code is as follows:
API address: http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=15850781443
Parameters:
Tel: mobile phone number
Return: JSON
2. API for clapping
The copy code is as follows:
API address: http://virtual.paipai.com/extinfo/GetMobileProductInfo?mobile=15850781443&amount=10000&callname=getPhoneNumInfoExtCallback
Parameters:
Mobile: mobile phone number
Callname: callback function
Amount: unknown (required)
Return: JSON
Tenpay API
The copy code is as follows:
API address: http://life.tenpay.com/cgi-bin/mobile/MobileQueryAttribution.cgi?chgmobile=15850781443
Parameters:
Chgmobile: mobile phone number
Return: xml
4. Alipay API
The copy code is as follows:
API address: https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=15850781443
Parameters:
Phone: mobile phone number
Callback: callback function
Cmd: unknown (required)
Return: JSON
5. 115API
The copy code is as follows:
API address: http://cz.115.com/?ct=index&ac=get_mobile_local&callback=jsonp1333962541001&mobile=15850781443
Parameters:
Mobile: mobile phone number
Callback: callback function
Return: JSON
VI. Youdao api interface
The copy code is as follows:
Interface address: http://www.youdao.com/smartresult-xml/search.s?type=mobile&q=13892101112
Parameter description:
Type: the attribution of the parameter phone is fixed to mobile.
Q: mobile phone number
Returns the XML format:
13892101112
Yan'an, Shaanxi Province
Or
Http://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=mobile&q= mobile phone number
Returns the JSON format:
FYodaoCallBack (1, {'product':'mobile','phonenum':'13892101112','location':' Shaanxi Yan'an'}, ")
PHP calls Taobao API instance:
The copy code is as follows: