recently in the National Industry Classification information web site, need to use the mobile phone number ownership display function, so the shuttle in the major authoritative sites between the API to steal the interface address. Share it out, and you can use it to take it, uh,
Free mobile phone number attribution of the API query interface and PHP use instance sharing recently in the National Industry Classification information website, need to use the mobile phone number attribution to display function, so shuttle between the major authoritative sites to steal the API interface address. Share it out, you can use it and take it, uh. One, Taobao api code as follows: API address: Http://tcc.taobao.com/cc/json/mobile_tel_segment.htm? tel=15850781443 Parameters: Tel: mobile phone number Return:json II, Pat api code 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 (must) return:json III, Tenpay api code as follows: API address: http://life.tenpay.com/cgi-bin/mobile/MobileQueryAttribution.cgi? chgmobile=15850781443 parameters: chgmobile: Mobile phone number return:xml Four, hundred Bao api code as follows: API address: https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=15850781443 parameter: Phone: Mobile number Callback: callback function cmd: unknown (must) return:json Five, 115api code as follows: API address: Http://cz.115.com/?ct=index&ac=get_mobile_local&callback=jsonp1333962541001&mobile=15850781443 Parameters: Mobile: Phone number callback: callback function return:json Six, Youdao API interface code as follows: interface address: http:/ /www.youdao.com/smartresult-xml/search.s?type=mobile&q=13892101112 parameter Description: type: Parameter mobile phone ownership is fixed Q: Mobile number return XML format: <?xml version= "1.0" encoding= "GBK"?> <smartresult> < Product type= "mobile" > <phonenum>13892101112</phonenum> <location> Shaanxi Yanan </ location> </product> </smartresult> or http://www.youdao.com/ smartresult-xml/search.s?jsflag=true&type=mobile&q= Mobile number return JSON format: fyodaocallback (1, {' Product ': ' Mobile ', ' phonenum ': ' 13892101112′, ' location ': ' Shaanxi Yanan '}, '; PHP invoke Taobao API instance: & nbsp code as follows:<?php $mobile = "15018788111"; //to query phone number $content = Get_mobile_area ($mobile); Print_r ($content); function Get_mobile_area ($mobile) { $sms = Array (' Province ' => '), ' Supplier ' => '); //initialization variable //According to Taobao database call return value $url = "http://tcc.taobao.com/cc/json/ Mobile_tel_segment.htm?tel= ". $mobile." &t= ". Time (); $content = file_get_contents ($url); $sms [' province '] = su BSTR ($content, "56", "4"); //Intercept string $sms [' supplier '] = substr ($content, "Bayi", "4"); return $sms; } Other APIs are free to play oh.