Search code examples
phpalexa-internet

How to know the original country of a website?


I want to know the original country of a website. I noticed that Alexa website can often detect the original country of websites. For example, Alexa can detect that the original country of stackoverflow.com website is USA and so on. How Alexa do this? and how i can do this? Thank You..


Solution

  • You can always read the country of any website from Alexa's Data from XML

    core data

    http://data.alexa.com/data?cli=10&url=http://www.flipkart.com

    full data

    http://data.alexa.com/data?cli=10&dat=snbamz&url=http://www.flipkart.com

    It will be more reliable and easier than any other self developed approach