You asked

Which aps c camera works best with a 50mm f 1 8 for headshots in a small room?

For headshots with this lens, the guide's pick is a Fujifilm X body. The 7Artisans 50mm f/1.8 frames like about 75mm on APS-C, and the portrait notes say a longer view flatters faces because you stand further back. In a small room, that's still workable, though you'll need to keep your distance.

The lens is manual focus and has no stabilisation, so the camera body matters more than usual:

Because you focus by hand, pick a camera whose focus aids you trust, and practise on a still subject before a real session. For prices, check each camera's page, since they change.

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}.