Oil prices were higher on Wednesday after trading lower on Tuesday following reports from the American Petroleum Institute (API) that showed U.S. crude inventories dropped by 4.2 million barrels last week.