On sites like SNPedia, some pages contain the frequency of the SNP in question in different populations, based on published research. I'm trying to write a script that takes 23andme data and compares it with SNP frequency to find rare SNPs that the user possesses. I'm thinking that the only way to do this might be to scrape it from a SNP database. Is there anywhere you know of that makes this information available in a more accessible format, ideally preformatted for parsing?
You might be able to get some raw data on SNP frequency by batch querying the dbSNP database. I have not used it myself, though.
This is one of the reasons the 1000 genomes project was created.
Have you looked at ALFRED (The ALlele FREquency Database)? The data is from 2011, but seems extensive and has downloadable zip files at http://alfred.med.yale.edu/alfred/alfredDataDownload.asp