Currently browsing as 38.103.XXX.XXX .
Search the engines by committee.





Animated Gif Captcha :: Google Suggest Scraper :: Tabbed Browser




Interactive Web Stats API

Alpha testing in progress, contact me for more information.

QueryThe.Net's Web Stats API is set up so webmasters can fetch a sites PR, number of site backlinks, number of direct homepage links, number of indexed pages, the page's title & description in a text format for use on your web site. From here you are free to do whatever you please with this informtion as this API is licensed under the lgpl.

AddThis Social Bookmark Button

    Web Stats API roadmap

  1. Login or register for an account at QueryThe.Net. FTP access to your site is required

  2. Request API key (in cPanel after login)

  3. Construct your url - Your finished query will look something like this ...

    http://querythe.net/api/?type=txt&info=all&domain=http://www.ebay.com/&api=demo (Click to show results)

    Variables

    type - (txt,csv or xml) text only now, others coming soon
    info - (all,pr,backlinks,deeplinks,dmoz) All fetches everything (explode at '\n'), others only return requested stat.
    domain - (url) The complete URL starting with 'http://' and ending with '.html'. URL calls can be made for any domain, not just yours.
    api - enter your api code for access

  4. Interpreting Statistics - If the value for the variable info is pr, backlinks or dmoz, the resulting file will return the stat for your selection (pr would yeild a number [0-10], backlinks would return the total number [100000] & dmoz would return 1 for 'included' and 0 for 'not included')

    Example:
    http://querythe.net/api/?type=txt&info=pr&domain=http://www.ebay.com/
    http://querythe.net/api/?type=txt&info=backlinks&domain=http://www.ebay.com/
    http://querythe.net/api/?type=txt&info=deeplinks&domain=http://www.ebay.com/
    http://querythe.net/api/?type=txt&info=dmoz&domain=http://www.ebay.com/

    If the value for the variable info is all, a file will be returned with a newline character (\n) separating each value. For example, the results for http://querythe.net/api/?type=txt&info=all&domain=http://www.ebay.com/ would look like ...

      Ebay results  

    Can't connect to the MySQL server. Please contact the webmaster.

    0.0
    0




    To translate the above stats...
    • Google's PageRank - {9}
    • Total Yahoo! Backlinks found for this domain - {92800000}
    • Deeplink Percentage - {91600000}
    • # of pages indexed by Y! - {112000000}
    • The page's title - {eBay - New ... at low prices}
    • The page's description - {Buy and sell electronics ... anything on eBay.com}
    • DMOZ inclusion - {1} (1=yes 0=no)


  5. Real World Statistics Usage

      PHP code  

    <?
    $url_data = file_get_contents('http://querythe.net/api/?type=txt&info=all&domain=http://www.ebay.com/&api=demo') ;
    $data = explode("\n",$url_data) ;
    echo $data[0] ; //for displaying PR
    echo $data[1] ; //for displaying Total Yahoo! Backlinks
    echo number_format(($data[2]*100),1) ; //for displaying Deeplink Percentage
    echo number_format($data[3]) ; //for displaying indexed pages
    echo htmlentities($data[4]) ; //for displaying the page's title
    echo htmlentities($data[5]) ; //for displaying the page's description
    ($data[6]==1 ? "yes" : "no") //for displaying dmoz inclusion

    ?>



  6. Getting only one statistic

      PHP code  

    <?
    $data = file_get_contents('http://querythe.net/api/?type=txt&info=pr&domain=http://www.ebay.com/&api=demo') ;
    echo $data ; //for displaying PR
    ?>



We certainly hope these stats and this api is useful but we will not guarantee the information accurate. This service was designed to be developer friendly & is released to you under the LGPL for maximum flexibility.

  Leave a comment - show / hide  

Bot-spam free thanks to AnimatedCaptcha.


© The internet - Quality Search Results Served up by QueryThe.Net
Privacy Policy