The US Justice Department has shut down the dark web marketplace AlphaBay, working with international partners to knock offline the site accused of allowing hundreds of thousands of people to buy and sell drugs, firearms, computer hacking tools and other illicit goods.

The action marked one of the largest law enforcement actions ever taken against criminals on the dark web, authorities said, striking a blow to the international drug trade that has increasingly moved online in recent years.

AlphaBay mysteriously went offline earlier this month. It was widely considered the biggest online black market for drugs, estimated to host daily transactions totalling hundreds of thousands of dollars.

The site allowed users to sell and buy opioids, including fentanyl and heroin, contributing to a rising drug epidemic in the United States, Attorney General Jeff Sessions said.

"The dark net is not a place to hide," Sessions said at a news briefing in Washington on Thursday, DC to announce the action. "This is likely one of the most important criminal investigations of the year - taking down the largest dark net marketplace in history."

The Justice Department said law enforcement partners in the Netherlands had taken down Hansa Market, another dark web marketplace.

AlphaBay and Hansa Market were two of the top three criminal marketplaces on the dark web, Europol chief Rob Wainwright said at the press conference.

The international operation to seize AlphaBay's servers also involved authorities in Thailand, Lithuania, Canada, Britain and France.

The operation included the arrest on July 5 of suspected AlphaBay founder Alexandre Cazes, a Canadian citizen arrested on behalf of the United States in Thailand.

Cazes, 25, apparently took his life a week later while in Thai custody, the Justice Department said. He faced charges relating to narcotics distribution, identity theft, money laundering and related crimes.

FBI Acting Director Andrew McCabe said AlphaBay was ten times as large as Silk Road, a dark website the agency had shut down in 2013.