May 032013

This time we launched a basic service seo information for websites, the service consists of three interfaces, a website, an iframe to embed on your site and json api to use from any project.

First we have the website available at the following link if we want to link the site and show data directly linking our website it as follows.

We put the domain in the following way for example

We should note that the estimated value of the site and daily ad revenue are approximate and our formula works with sites with an Alexa of between 10000 and 400000

Now we will see the iframe, for that you must enter the following code into your site.

<iframe src="" height="125" width="250" frameborder="0" scrolling="no"></iframe>

For example for our site the code is as follows

<iframe src="" height="125" width="250" frameborder="0" scrolling="no"></iframe>

Which would look as follows

And now he json interface (we will see an example in PHP)

$url = "";
$url_data = "".$url;

$json_data = file_get_contents($url_data);
$seo_data = json_decode($json_data,true);
  foreach($seo_data as $key => $value)
    print "$key -> $value \n";

As we see once we make the data json_decode get a settlement that arrangement keys indicate the following data

DOMAIN -> The domain queried.
RANK -> The Alexa ranking.
LINKSIN -> The amount of sites that link (according to Alexa).
DMOZ -> True if the site is in the dmoz directory.
COUNTRY -> The Alexa ranking in the country better located. (not always available).
COUNTRY_NAME -> The country where the Alexa ranking is better located. (not always available).
PR -> Google Page Rank.
TIME -> The unix time where data were taken.

We hope this article will be useful to webmasters and programmers.

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.