You asked

Which 50mm f 1 8 has autofocus for portraits on my aps c camera?

The 50mm f/1.8 in this guide's catalogue is the 7Artisans 50mm f/1.8, and it has no autofocus. It is manual focus only. It does fit APS-C cameras from Sony E, Fujifilm X and Micro Four Thirds, so it would work on your camera, but you would focus by hand.

For portraits, that framing suits the job. On APS-C it behaves like a 75mm lens on full frame, and its f/1.8 gives roughly the depth of field of f/2.7 there. That is a flattering, softly blurred look. Manual focus is slower and less forgiving, though, and it is harder if your subject moves. Most people starting out will find it easiest on a still subject, with time to focus carefully.

The site's portraits guide says that on APS-C, a 56mm f/1.2 to f/1.4 plays the same role as an 85mm on full frame. The lenses guide also suggests a 33-35mm f/1.4 to f/1.8 as the APS-C equivalent of a fast standard prime, which is a good choice if you want more room in the frame.

The site's catalogue has no other 50mm f/1.8 lens. The 50mm f/2 lenses it lists, the TTArtisan, Leica Summicron-M and Zeiss Loxia, are all made for full frame cameras, so they are not the APS-C match you need. The guide can't confirm their autofocus from the pages it has, so check each page before you buy.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.