Visa
Yes, a tourist visa is required, which allows you to stay for 90 days out of 180. Many others function as middlemen, and you pay for their services, which has treble the usual visa price in some circumstances.
Check the Turkish Ministry of Foreign Affairs' website to learn what your country's specific entry requirements are. Americans can acquire their visa in as little as 5 minutes after applying online and paying $20. I applied for and acquired Turkey visa while standing in line to meet the border officer because my first trip to Turkey was unexpected (I missed my connecting connection).
Because the bar code and the approval page and number will be an online link, remember to print or screen record them. The approval information will not be sent to you through email. Check the expiry date in your passport before applying for your visa to ensure you have at least 90 days left.