Brent futures rose towards $118 per barrel on Friday, heading for a fourth weekly gain as robust trade data from China bolstered the outlook for demand, while escalating tensions in the Middle East stoked concerns over supply.
China's January exports and imports beat forecasts in a Reuters poll, adding to evidence of a rebound in the world's No.2 oil consumer, although analysts remain cautious as the economy last year grew at its slowest pace since 1999.
A rise in China's crude oil imports to their third highest daily rate on record in January also buoyed prices.
Front-month Brent futures rose 50 cents per barrel to $117.74 at 11.41am UAE time, after climbing to $117.94 earlier in the session - highest in almost five months.
US crude added 9 cents to $95.92, but is still heading for its first weekly loss in nine weeks.
"We have been seeing strong economic numbers ... (and this trend) is going to underpin the oil markets for some time," said Ben le Brun, market analyst at OptionsXpress in Sydney.
The other supporting factor will be tensions in the Middle East and worries about oil supply from the region.
Fiery rhetoric by Iran's supreme leader, Ayatollah Ali Khamenei, rejecting a US offer for bilateral talks added to concern that the biggest risk factor for oil markets will not be resolved soon.
"It does not look like the tensions with Iran are going to dissipate anytime soon. They are going to be bubbling under the surface, which will keep a floor under the oil price," le Brun said.
Currently US-Iran contact is limited to talks between Tehran and a so-called P5+1 group of powers on Iran's disputed nuclear programme that are to resume on February 26 in Kazakhstan.
Adding to supply concerns is the instability in Tunisia, located between major oil producers Algeria and Libya, where the assassination of an opposition leader this week led to street riots and violence.
Brent's rally reflects "a tighter fundamental picture as demand prospects improved amidst optimism for global economic growth and on indications that Saudi oil production held steady in January," Deutsche Bank analysts said in a note.
Saudi Arabia kept oil output steady in January, an industry source said, after two months of sharp reductions that surprised oil traders and coincided with a rise in crude oil prices.
China's strong trade data for January, the first hard economic numbers of the year, showed a surge in exports and imports that was not solely explained by the timing of the Lunar New Year holiday and confirmed the rebound in the world's second-biggest economy.
Exports grew 25 percent, far outpacing analyst expectations of a 17 percent rise, while its imports jumped nearly 29 percent, faster than the 23 percent increase expected in a Reuters poll.
"The numbers are stronger than expected, which is an encouraging sign," said Ric Spooner, chief market analyst at CMC Markets in Sydney. "(But) we will need to wait until March to start getting a better sense of the medium-term trend on China."
China's crude oil imports in January rose 7.4 percent from a year ago to 5.92 million barrels per day, the third highest daily rate on record, official data showed, as refineries ramped up production ahead of the Lunar New Year.