You asked

Which small camera with a viewfinder is best for street photography under 400 euros?

For street work under 400 euros, the guide's logic is that small and quiet beats megapixels. The catalogue's value picks that fit a viewfinder and that budget are two cameras, and the two cameras that lack a viewfinder are ruled out.

The Olympus OM-D E-M10 Mark III is the strongest fit. It's a small, entry-level OM-D with Micro Four Thirds sensor, and the street guide notes that Micro Four Thirds bodies are small, light and cheap with small primes. Its used price is 369–379 €. Its page doesn't mention a viewfinder, so confirm that before buying. Pair it with a small prime, which keeps the kit compact.

The Nikon D3500 is the smallest and cheapest option, used at 294–314 €. It's a simple DSLR with long battery life. A DSLR is built around an optical viewfinder, but its page doesn't spell that out, so check it in person. Its bulk is larger than a mirrorless body, which matters more for street work.

The Olympus PEN E-PL10 and Fujifilm X-A5 are both small and within budget, but their pages say they have no viewfinder, so they don't meet your brief.

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