You'd have to buy that information.
Quoting from this page,
Commercial Historical Data
Higher resolution and more complete datasets are generally not available for free. Below is a list of vendors which have passed our quality screening (in total, we screened over a dozen vendors). To qualify, the vendor must aggregate data from all US national/regional exchanges as only complete datasets are suitable for research use. The last point is especially important as there are many vendors who just get data from a couple sources and is missing important information such as dark pool trades.
They offer some alternatives for free data:
Daily Resolution Data
1) Yahoo! Finance– Daily resolution data, with split/dividend adjustments can be downloaded from here. The download procedure can be automated using this tool. Note, Yahoo quite frequently has errors in its database and does not contain data for delisted symbols.
2) QuantQuote Free Data– QuantQuote offers free daily resolution data for the S&P500 at this web page under the Free Data tab. The data accounts for symbol changes, splits, and dividends, and is largely free of the errors found in the Yahoo data. Note, only 500 symbols are available unlike Yahoo which provides all listed symbols.
And they list recommendations about who to buy the data from.