Sloan digital sky survey galaxies
Use the Optical Spectra Query Form. You'll want to set PRIMTARGET to "GALAXY". Here's the list of possible parameters it can return http://skyserver.sdss3.org/dr10/en/help/docs/QS_UserGuide.aspx#Spectroscopy. Note, there is a query limit of 500,000 rows, so you'll have to break up the query since you'll have more spectra than that.