Turkish authorities on Wednesday probed how a militant from Syria killed 10 mainly German tourists in a attack in the heart of Istanbul that raised alarm over security in the city.

The government said the attack was carried out by a 28-year-old Syrian man who was a member of the DAISH group and had recently entered Turkey from Syria.

Turkey, which has been vehemently criticised for not doing enough to crack down on DAISH, in the last two days has arrested dozens of suspected militants although it is not clear if the action had any link to the bombing.

Turkey has been hit by a string of deadly attacks blamed on militants in the last year, but Tuesday's bombing was the first time in recent memory tourists had been targeted in the heart of the city.

The bomber, identified as Nabil Fadli, detonated his charge on Sultanahmet Square which is home to Turkey's most visited historic sites including the Ottoman-era Blue Mosque and Hagia Sophia church.

The explosion went off by the Obelisk of Theodosius, a monument from ancient Egypt that was re-erected by the Roman Emperor Theodosius and is one of the city's most iconic landmarks.

Police on Wednesday removed a cordon set up after the attack which had prevented access to the the area, which was thronged by media and some tourists, an AFP correspondent said.

Some placed red roses to remember the victims by the obelisk, which appeared to have sustained no damage in the bombing.

READ: Istanbul blast: What we know so far


'Enemies of free people'

The Sabah daily said the bomber had entered Turkey as a refugee from Syria on January 5.

He was then fingerprinted by the Turkish migration service, explaining why the authorities were able to identify the bomber so rapidly after the attack.

The 10 killed were almost all Germans, with Ankara saying at least nine Germans were among the dead but Berlin putting the number at eight.

With Germany rocked by the attack, German Interior Minister Thomas de Maiziere is flying to Istanbul to visit the site of the attack and meet Turkish officials Wednesday.

"The terrorists are the enemies of all free people, they are enemies of humanity, be it in Syria, Turkey or France or Germany," German Chancellor Angela Merkel said, stressing that Berlin would fight terror "with determination".

The German foreign ministry has advised Germans to keep away from large groups in public places and tourist attractions in Istanbul.

German tourism giant TUI said that customers who had booked trips to Istanbul can switch destination without penalties.

Fifteen people were wounded, two of them seriously. The injured were mostly Germans but also include Norwegians, Peruvians and at least one Turk.

The tourists were part of a group of 33 people who had been staying at a boutique hotel in the upmarket Galata district on the other side of the Golden Horn and had been taken by tour bus to Sultanahmet that morning, Turkish media reports said.

[PHOTOS]: Ten killed, 15 wounded in Istanbul blast


Raids on DAISH suspects

Turkey detained 68 suspected members of the DAISH group in raids across the country on Tuesday and Wednesday but it was not clear if there was any connection with the Istanbul attack.

In Ankara, the authorities detained 16 people who were suspected of planning a major attack in the capital, Anatolia news agency said.

On Wednesday, three more suspected DAISH members were detained in the southern resort city of Antalya. All three are Russian citizens, it added.

Turkey has been on high alert after a series of attacks blamed on the DAISH group, including a double suicide bombing in October in Ankara that killed more than 100 people.

Previous attacks in 2015, including the Ankara bombings, had all targeted pro-Kurdish groups who are staunchly opposed to DAISH.

But it was the first time any recent attacks specifically targeted tourists in Turkey, whose tourism industry is a key component of the economy.

Long accused by its Western allies of not doing enough in the fight against DAISH, Turkey is now hosting aircraft from the US-led coalition engaged in deadly attacks on the militants group strongholds.