Music streaming service Spotify has said it has signed a deal with Universal Music Group that lets artists release new albums exclusively on its paying premium service for two weeks.

Spotify, a rival to Apple Music, has yet to report a profit as it expands, but is under pressure from some artists who have boycotted the service and needs to show investors it can generate cash as it considers a US listing.

The multi-year licence agreement with Universal Music could make Spotify more attractive to Universal Music's artists, who include Taylor Swift, Adele, Lady Gaga, Coldplay, and Kanye West.

"We know that not every album by every artist should be released the same way, and we've worked hard with UMG to develop a new, flexible release policy," Spotify Chairman and Chief Exeuctive Officer Daniel Ek said in a statement.

"Universal artists can choose to release new albums on premium only for two weeks, offering subscribers an earlier chance to explore the complete creative work, while the singles are available across Spotify for all our listeners to enjoy," he said.

Spotify said the deal also covered collaboration on marketing campaigns and would give Universal Music "unprecedented access" to data.

Spotify did not disclose details of the agreement in the statement, such as the fee structure or its exact duration, and a company spokeswoman declined to provide further information.

Launched in 2008, Spotify said last month it had reached 50m paying subscribers, a rise of 25% in less than six months, extending its lead over Apple Music.