How do I cite a website in APA style?
Look carefully at the item you want to cite. Many of the documents that you find on the web are more than just "a website." If it is an article in an online journal, then it should be treated as a journal article. If it is an electronic book, the same principle applies.
Other possibilities are blog posts, online videos, electronic mailing list (listserv) posts, technical reports, and raw data sets. In all of these cases, the Publication Manual offers specific guidelines. Only if no more specific category fits your source should you use the guidelines in section 10.16 of the Manual (7th ed.).
The general template for a website citation consists of: author, date, title of work, title of website, URL.
Villeneuve, M. (2020, May 5). Judge restores New York Democratic Primary for June 23. HuffPost. https://www.huffpost.com/entry/new-york-democratic-primary-reinstated-coronavirus_n_5eb1fd13c5b62b850f93cc00
Centers for Disease Control and Prevention. (n.d.). Cleaning and disinfecting your home. https://www.cdc.gov/coronavirus/2019-ncov/prevent-getting-sick/disinfecting-your-home.html
A "retrieved" date is only needed if you know that the site will change, for example if it features continually updated data.
The New York Times. (n.d.). Coronavirus in the U.S.: latest map and case count. Retrieved May 6, 2020 from https://www.nytimes.com/interactive/2020/us/coronavirus-us-cases.html
For more on citation styles, see our Citation guide.