SAN JOSE, Calif. — Nemanja Nikolic scored twice in the second half to break Chicago’s season goal record with 20 and the Fire beat the San Jose Earthquakes 4-1 on Wednesday night.

Chicago (15-10-6) clinched a playoff spot with the victory and Montreal’s loss to New York City. San Jose (11-14-6) lost for the first time at home in eight matches.

Nikolic made it 3-0 in the third minute of the second half to break a tie with Ante Razov for Chicago’s goal record. Nikolic added another in the 65th by heading in a ball that deflected off the crossbar.

Nikolic is tied atop the Golden Boot race with Portland’s Diego Valeri.

Eighteen-year-old Djordje Mihailovic opened the scoring in the 14th minute with his first MLS goal. In the 40th, Michael de Leeuw volleyed a cross in front of the goal and Luis Solignac headed it home for his seventh goal of the season.

Chris Wondolowski headed in San Jose’s goal in the 87th minute, tying him for third in MLS history with Jaime Moreno at 133.

Chicago’s Dax McCarty made his 300th MLS regular-season appearance.

UNITED 3, UNION 0

ATLANTA — Rookie Julian Gressel had a goal and assist and expansion Atlanta United clinched a playoff spot, beating Philadelphia.

Atlanta (15-8-7) is the first expansion team to make the playoffs since Seattle in 2009.

Gressel scored his fourth goal in the 27th minute and assisted on Josef Martinez’s 18th in the 33rd minute. It was Gressel ninth assist, one behind the league record for first-year players. Clint Mathis had 10 for the Los Angeles Galaxy in 1998.

Jacob Peterseon added his third goal in the 88th minute, and Brad Guzman had three saves for his sixth shutout. Atlanta is 10-0-2 in its last 12 home games, outscoring opponents 38-9.

New England (9-13-9) is winless in its last 11 road games.

SOUNDERS 3, WHITECAPS 0

SEATTLE — Nicolas Loderio had a goal and two assists and La Liga veteran Victor Rodriguez scored his first MLS goal to help Seattle beat Western Conference-leading Vancouver.

The Sounders (12-8-11) rebounded from a 2-0 loss at Real Salt Lake on Saturday that snapped their unbeaten streak at 13 games. Since beating Minnesota on Aug. 20, they were 0-1-4.

Vancouver (14-10-6) was unbeaten in its previous seven games.

Rodriguez, signed Aug. 2 after spending four of the last five seasons in Spain’s top league, put Seattle on the board in the 17th minute. That ended a 202-minute scoring drought for the Sounders.

Loderio made it 2-0 in the 62nd minute, and he and Clint Dempsey worked a give-and-go in the 69th for Dempsey’s team-leading 12th of the season. Stefan Frei had his career-high 11th shutout.

NEW YORK CITY FC 1, IMPACT 0

MONTREAL — Jack Harrison scored in the 10th minute and New York City FC held on to beat Montreal.

The 20-year-old Harrison fired a bouncing ball past Evan Bush into the top corner from a tricky angle for his 10th goal.

NYC FC (16-8-7) is seven points behind MLS-leading Toronto FC with three games remaining.

The Impact (11-14-6) are 1-6-0 in their last seven games. They have lost four straight home games for the first time in franchise history.

UNITED 3, RED BULLS 3, TIE

HARRISON, N.J. — Fidel Escobar’s own goal in second-half stoppage time lifted last-place D.C. United to the draw with New York.

United (9-17-5) avoided elimination from playoff contention. New York (12-11-7) had its winless streak extended to seven games.

New York took a 3-2 lead in the 78th after scoring twice in a four-minute span. Tyler Adams sent a loose ball through the legs of two players into the net and Gonzalo Veron scored on a penalty kick.

In the 91st, United’s Bruno Miranda had a throw-in headed back to him and his cross was deflected into the net by Escobar at the near post.

The game was tied at 1 at halftime. Adams scored his first MLS goal in the 19th and United’s Zoltan Stieber scored in stoppage time on a deflected free kick. D.C. United took its first lead in the 70th on Patrick Mullins’ calm finish from the penalty spot.

FC DALLAS 2, RAPIDS 0

DALLAS — Maynor Figueroa and Roland Lamah scored in the first 10 minutes and FC Dallas snapped a 10-game winless stretch with the victory over Colorado.

Dallas (10-9-11), the Supporters’ Shield winner last year, won for the first time since July 22. It was the third longest winless run in club history.

Jesse Gonzalez had his eighth shutout of the season.

Colorado (7-18-5) was eliminated from playoff contention.

ORLANDO CITY 6, REVOLUTION 1

ORLANDO, Fla. — Kaka had two goals, Yoshimar Yotun and Dominic Dwyer each had a goal and two assists and struggling Orlando City beat short-handed New England.

Xavier Kouassi was sent off for the Revolution with a red card in the 11th minute after he fouled Seb Hines. Kouassi won the ball, but his follow through went into Hines’ legs and the referee went to the video to deem the foul serious.

Yotun then assisted on goals for Antonio Nocerino in the 22nd minute and Hines 10 minutes later. Kaka scored in the 43rd and 77th off assists from Dwyer. Dwyer scored in the 84th, and Yotun in the 90th.

Orlando (10-13-8) had just one win in its previous 11 matches. It is 2-4-4 in its last 10 home games.

Lee Nguyen scored his 11th goal on a brilliant free kick in first-half stopped time for New England (11-14-5), which has allowed 28 goals in losing its last eight road games.

GALAXY 3, DYNAMO 3, TIE

HOUSTON — Alberth Elis scored two late goals and slumping Houston rallied to tie Los Angeles.

Tomas Martinez also scored for the Dynamo (10-10-10).

Roman Alessandrini and Bradford Jamieson scored for Los Angeles (7-17-7), eliminated from playoff contention when Dallas won earlier Wednesday.