Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fetching Alexa data [closed]

Tags:

php

api

alexa

How is it possible to get traffic data, sub domains data, country rank in percentage like in http://www.websiteoutlook.com/www.google.com?

like image 235
Prakash Avatar asked Sep 09 '10 12:09

Prakash


People also ask

Why is Alexa closed?

Alexa Rank discontinued On May 1, 2022, Amazon shut down Alexa Internet which subsequently discontinued Alexa Rank with it. While Alexa Internet didn't publicly state why they retired the service, it's likely because of the lack of interest from digital marketers.

What is data Alexa com?

Alexa.com is a subsidiary company of Amazon and it's widely known for its global ranking system which uses web traffic data from its partners to list the most popular internet companies.


1 Answers

NB: This approach doesn't work anymore. The endpoint simply returns "Ok", even for URLs which aren't assigned.

There is a free API (though I haven't been able to find any documentation for it anywhere).

http://data.alexa.com/data?cli=10&url=%YOUR_URL% 

You can also query for more data the following way:

http://data.alexa.com/data?cli=10&dat=snbamz&url=%YOUR_URL% 

All the letters in dat are the ones that determine which info you get. This dat string is the one I've been able to find which seems to have more options. Also, cli changes the output completely, this option makes it return an XML with quite a lot of information.

EDIT: This API is the one used by the Alexa toolbar.

like image 94
Lumbendil Avatar answered Oct 04 '22 07:10

Lumbendil