Bottas started third on the grid, but was nearly immediately promoted to second thanks to a poor start by team-mate Lewis Hamilton.
"Without the mistakes and the 10-second penalty, it would have been better but I tried".
The Monaco man was also in the points at the time, and it brings an end to his stunning run of five top-10s in six races.
Lewis Hamilton lead Sebastian Vettel eaely in the race before things started falling apart.
Hamilton's body language as he kept away from Raikkonen in the pre-podium room and during the champagne spraying told its own story.
The world champion, who trails Vettel by a point in the drivers' championship, increased his record total of career poles to 76 with a dazzling record lap under pressure in the closing seconds.
The German secured victory with an overtake of Valtteri Bottas in a truly gripping finale to the race.
The Queen to meet President Donald Trump during UK visit
Trump will depart Britain Friday for Finland to prepare for a summit with Russian President Vladimir Putin Monday in Helsinki. Protests are also planned in Scotland when he travels to play golf at his Trump Turnberry course.
"I was a bit concerned [about my neck injury] going into the race but I was fine". Unexpectedly, Ricciardo made a second stop after 31 laps, lifting Hamilton to fifth as the Australian rejoined sixth, but on softs.
The appearance of the safety vehicle on the 33rd of 52 laps, after Sauber's Marcus Ericsson crashed, was greeted with a huge cheer from the 140,500 crowd and was just what Hamilton needed to close the gap.
Immediately after the race, Hamilton had said the move was "interesting tactics" while Toto Wolff, the Mercedes boss, said the spate of first-lap crashes by Ferrari drivers into his Silver Arrows cars was either "deliberate or incompetent".
"I lost almost 3kg [in body fluids] trying to get back to the top for you and my team", he said, addressing his 6.7 million followers on the social media platform.
With 11 races to go this season, it heats up the title race even more as we approach the German GP in two weeks' time.
Sebastian Vettel won the grand prix, extending his points lead in the championship to eight.
"Obviously we're in a tough battle this year and it's the most intense battle that I think we've probably all had but I'm very, very grateful that the vehicle was still in one piece after the first turn three incident".
"I think it worked because we gained track position", he said.