Until the regular season ended Sunday, the Yankees did not know which team they would face in Tuesday night’s wild-card game, or even if they would play at home.

But the Yankees began selling playoff tickets long before their wild-card opponent was determined. The Yankees, who missed the playoffs in the previous two seasons, put postseason tickets on sale last month. That gave fans plenty of time to make plans to see what turned out to be a wild-card game against the Houston Astros at Yankee Stadium.

“Ticket sales are going tremendously,” Lonn Trost, the Yankees’ chief operating officer, said in a telephone interview Monday.

He said the Stadium was sold out except for a smattering of seats, including some for fans in wheelchairs, and some standing-room tickets.