How does zillow get there database of homes?

How does internet companies like zillow, trulia, etc get their database of homes all over the USA?
Is there a list of database i can purchase? Can i go to the state or county and purchase these database? Where can i get a list of all the homes in the USA?
Update: Where do i go to get these databases? How can i acquire this kind of information?
3 answers 3