Stocks ended near session lows Wednesday, with the S&P 500 and Nasdaq down more than 1 percent each, following the Federal Reserve's meeting minutes and as investors paused a day after all three major averages closed at fresh multi-year highs.

(Read More: After-Hours Buzz: TSLA, PAY, CAKE & More)