World number one Novak Djokovic is seeking his third US Open title.
Andy Murray won the US Open title in 2012.
The 22-year-old beat Tatjana Maria 7-6 (7-5) 6-1 to qualify for the tournament.
Rafael Nadal won the US Open twice, in 2010 and 2013.
Djokovic will look to defend his US Open crown when he takes on Janowicz in the first round.
Reigning Olympic and Wimbledon champion has been placed in the same half of the draw as Stan Wawrinka.
Federer and Nadal have won 31 Grand Slam titles between them.
The 17-time grand slam champion is set to team up with Rafael Nadal at the inaugural Laver Cup next year.
The Brit recently won the singles title at the 2016 Olympics in Rio.
Rafael Nadal is currently ranked number five in the men's singles tennis rankings.
Mirza and Hingis have won 14 titles before officially separating in July.
Murray's 22-match unbeaten streak came to an end after losing to Cilic in the final of the Cincinnati Masters.
Andy Murray will be looking for a third Cincinnati Masters title when he faces Marin Cilic in the final.
The 2009 champion will compete at Flushing Meadows following his heroics at Rio 2016.
Sharapova was banned by the International Tennis Federation after she admitted to taking banned substance meldonium.
Murray sealed 7-5 4-6 6-2 7-5 victory over his Argentine opponent.
Murray looking to win his second consecutive Olympic gold medal when he faces del Potro in the final.
Nadal faces Nishikori in the bronze medal match of the men's singles tennis event on 14 August.
Juan Martin Del Porto set to face Andy Murray in men's final after seeing off Rafael Nadal.
The British number one secures third Olympic medal with two-set win in Rio
Nadal faces del Potro in the semi-finals of men's singles tennis event on 13 August.
Murray faces Nishikori in the semi-finals of men's singles tennis event on 13 August.
British duo fall to 6-4 6-4 defeat to India's Sania Mirza and Rohan Bopanna
Reigning champion will face Gael Monfils or Kei Nishikori for a place in the final after three-set win.
Andy Murray is just two wins away from another Olympic medal.
Rafael Nadal takes on Thomaz Bellucci in the quarter-finals of the Olympics.
Australian Open champion dominated Briton to seal 6-1 6-2 win.
The London 2012 gold medalist was almost scuppered by a dramatic comeback on centre court.
Gabriella Taylor was rushed into intensive care with leptospirosis, but is now recovering.
Murray is confident that he would go all the way in the competition and get his second Olympic gold medal.