Turkish President Recep Tayyip Erdogan has already promised that those who committed the "act of treason" would have to "pay a heavy price".
There was chaos in Istanbul as angry crowds took to the streets to boo the passing tanks, with smaller numbers welcoming the troops.
By 5am, it became clear that the coup attempt had failed.
The agency says, another 200 unarmed soldiers and officers surrendered to the police.
The attempted coup by the armed forces ended with 194 people dead and more than 1,000 injured. He said 2,839 plotters had been detained.
Following violent clashes which erupted overnight, the death toll is now estimated at over 161.
All of them were in the building of the Turkish General Staff. A pro-Gulen group said it found the attempted coup "strange and interesting" but rejected any attack on democracy, fearing renewed attacks on its movement.
"The President [Barack Obama] and Secretary of State [John Kerry] agreed that all parties in Turkey should support the democratically elected government of Turkey, show restraint and avoid any violence or bloodshed", a statement said.
The coup attempt began on Friday night with a statement from the military saying it had seized control "to reinstall the constitutional order, democracy, human rights and freedoms, to ensure that the rule of law once again reigns in the country, for law and order to be reinstated".
Soldiers blocked entry to Istanbul's main Ataturk Airport, where four tanks were stationed, according to the private Dogan news agency. Erdogan called on Turks to take to the streets across the country, and many did, marching through the streets of Izmir and Istanbul, waving Turkish flags and gathering in the main square in Ankara.
"The situation now appears quieter in Istanbul, and the bridges across the Bosphorus are reopening".
By early Saturday, the putsch appeared to have fizzled out, as police, soldiers and civilians loyal to the government confronted coup plotters. NTV reported that one helicopter was shot down. Turkey demanded their extradition.
Erdogan flew into Ataturk airport early Saturday and was greeted by large crowds. The president, whom 52% of the people brought to power, is in charge. "I never believed in a power higher than the power of the people", he said. Television footage showed images of broken glass and other debris strewn across a lobby leading to the assembly hall.
Erdogan's Islamist government has also been accused of playing an ambiguous role in Syria.
"Yes of course it's got its own internal divisions and difficulties vis-a-vis the Kurdish aspect of that conflict but it's really important that we can work reliably and dependably with Turkey because Turkey is an important part in this fight, really critical fight, to defeat Islamic State".
A Turkish official who did not want to be named said soldiers had been deployed in other cities in Turkey, but did not specify which ones. Gulen promotes a philosophy that blends a mystical form of Islam with staunch advocacy of democracy, education, science and interfaith dialogue.
Earlier, President Erdogan has blamed a "parallel structure" for the coup-attempt.
All the while, Turkey is still processing the night's startlingly violent events - a classic tanks-and-bombs coup that played out in a postmodern spectacle of interrupted news broadcasts, martial law imposed in name only, and a president mobilising his people against a coup from a phone screen held up to a TV camera.
Prime Minister Binali Yildirim ordered the military to shoot down aircraft being used by coup plotters.
There have always been tensions between the military - which saw itself as the protector of the secular Turkish state - and Erdogan's Islamic-influenced AKP party. Arrests of officers were under way, and the "cleansing of the military" would go up the ranks, he said.