Wash the potatoes thoroughly with the skin on and grate them.
Add a pinch of salt to the grated potatoes and squeeze out the moisture.
In a bowl, mix the potatoes, eggs, chopped onion, and pepper well.
Divide the batter evenly into muffin molds.
Bake in a preheated oven at 180°C (356°F) for 20 minutes.