I'm looking for some open data that would list every area code in the NANP. And all the 3 digit exchanges that exist for that area code. And what geo location they relate too.

I have found some of this data in a smattering about wikipedia pages, for example: http://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes Which lists all the area codes, and links out to detailed pages about each area code, such as: http://en.wikipedia.org/wiki/Area_codes_416,_647,_and_437

And while i could likely build a scraper to get some of this data collected, there are other Area codes on wikipedia that do not list the exchanges / cental office codes.
For example: http://en.wikipedia.org/wiki/Area_codes_201_and_551

And also there is absolutely no consistency between the individual pages, so building the scraper is going to be a huge task.

There used to be a website called areacodedownload.com that had some of this content, it can still be seen at archive.org http://web.archive.org/web/20080302180916/http://www.areacodedownload.com/201/index.html

Does anyone know of any open data source for what i am looking for?


Edit: Ok, i think i just found a resource that has pretty much what i want: http://www.nationalnanpa.com/enas/coCodeReportUnsecured.do?reportType=7 But this only covers USA, i need Canada as well.

  • how much of the data does areacodedownload on the wayback machine have? – albert Mar 20 '15 at 21:30
  • 1
    Ahh good point i could probably just scrape that instead. i don't know why i didn't think of that. I was somewhat hoping to find a resource that would have the whole thing as a CSV already, but maybe that doesn't exist. – deweydb Mar 20 '15 at 21:44

http://www.nationalnanpa.com/nanp1/npa_report.csv with definitions found in http://www.nationalnanpa.com/area_codes/AreaCodeDatabaseDefinitions.xls

Look through nationalnanpa.com's sitemap has some valuable resources.

http://cnac.ca/data/COCodeStatus_ALL.zip gives you Canadian codes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.