Armed pirates are demanding a ransom for the release of an oil tanker they have seized off the coast of Somalia and the crew is being held captive, the European Union anti-piracy operation in the region announced late Tuesday.