If you use the library to find a source, there often is an automatic citation generator built in to give you an APA citation. Look for a tool, often near the top of the page that says something like, Save, Cite or Export to do this.
For example, in VCU Libraries Search, it is under the button that says Actions: