Many library databases include a citation tool that formats your references automatically when you pick APA from the choices. Here is an FAQ with screenshots showing where to find the Cite button in different library resources:
Can I get a citation for articles I find in the library databases?
https://chat.library.berkeleycollege.edu/faq/71961
You may also check in this table of an A-Z list of databases that shows where to find the citation tool in each.
From the APA citations brochure of the ‘Writing and Citing LibGuide' is this sample citation of an article from an electronic database in APA format:
Fortier, M. (2002). The state of the Shakespeare industry. Renaissance Quarterly, 55(3), 1038-49. https://doi.org/10.2307/1261565