You asked

How many megapixels do I need?

The guide doesn't give a megapixel number, and it doesn't say how many you need. What it does say is that the right camera depends on what you want to photograph. Its home page starts there, because subject decides the size of the camera, the lenses and the budget.

For street photography, the guide's view is that a small, quiet camera you can shoot without thinking matters more than resolution. Its street page says small and quiet beats megapixels every time. Pixel count is one spec among many, and it shouldn't drive the choice on its own.

For video, the guide looks at resolution differently. Its video page asks for full-width 4K, meaning 4K without a heavy crop, along with 10-bit recording and a headphone jack.

If you're weighing the cost of more resolution, the buying used page explains that a body one or two generations old is often most of the camera for a fraction of the price.

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