Skip to content

Instantly share code, notes, and snippets.

Created October 30, 2013 09:27
Star You must be signed in to star a gist
What would you like to do?
Getting the Alexa top 1 million sites directly from the server, unzipping it, parsing the csv and getting each line as an array.
var request = require('request');
var unzip = require('unzip');
var csv2 = require('csv2');
.on('entry', function (entry) {
entry.pipe(csv2()).on('data', console.log);
Copy link

leilii commented May 12, 2021

how to get for example 10 top list into a text file not all?

Copy link

d668 commented Jun 21, 2021

the file now ends at 427k

Copy link

CSV file is working again! Nice!
The data is not exactly up to date. I would say about 2 months. I have a site in the current the 67,000 positions today, and is in the lists 78,000s
Also how to get for example 10 top list into a text file not all?

Copy link

425k for 2021.10.11

Copy link

tomwojcik commented Dec 8, 2021

Copy link

snowman commented Dec 9, 2021

We will be retiring on May 1, 2022

Note, this is the last chance you can backup things

Copy link

ao commented Dec 14, 2021

With the Alexa top 1 million CSV/ZIP going away shortly, you can use instead, which is linked to over here: and provides a list of the top 1million websites. (Updated daily)

Copy link

chilts commented Dec 15, 2021

Thanks @ao, that's good to know! :)

Copy link


Copy link

Can confirm still works for me, 1M sites (as of May 11th 2022). I think the actual resources will be gone by December of 2022 though

Copy link

does anyone knows how to get the top-1000 from a specific Country too?
i would search for the Austrian and Germany Top 1000 List. Can anybody help me out with a link to download?

Copy link

chilts commented May 17, 2022

@ciscospirit I don't know any off the top of my head, but perhaps do a search and see what you can find.

Copy link

chilts commented May 17, 2022

Hi everyone, I just noticed this site on a fork of this gist and also seems to be kept up to date:

I don't know if it's useful to anyone, but there we go. :)

Copy link

Copy link

kostasmaneadis commented May 17, 2023

Hey everyone, when I download , the csv has ".deprecated" as file extension. This is it ? Its done ?

Copy link

skacurt commented May 17, 2023

@kostasmaneadis Yes, it's no more.

Notice: This file is deprecated and is not being updated anymore.
        This file was last updated on February 1, 2023.
        This file will not be available from after
        July 31, 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment