Refer to the information provided in the APA Guide to Electronic Resources (see link below).
In APA 7th the template for an Ancient Greek or Roman work reference is:
Original author. (Pub date of work viewed). Title of work. (Translators name, Trans.). URL. (Original Work published XXX)
Reference list:
Aristotle. (1925). Nichomachean ethics: Book II. (W.D. Ross, Trans.). The Internet Classics Archive. http://classics.mit.edu/Aristotle/nicomachaen.2.ii.html (Original work published 350 B.C.E)
In-text:
(Aristotle, ca. 350 B.C.E./1925)