One of the issues that you will have is that US equities trade on multiple exchanges... so the you really need all order books on a synchronized timestamp to analyze things properly.
Many of the exchanges now sell this for a pretty penny.
However, you are talking a huge ship load of data here. NYSE stocks Open Book data amounts to 5GB. Per day