Put gram flour in a bowl.
Add carom seeds, red chili powder, garam masala powder, and salt.
Put in 1 cup of thinly sliced onions.
Mix everything well and cover it for 30 minutes. During this time, the onions will release their water.
Depending on how wet it gets, add some water to make a thick batter. I added ¼ cup of water.
Heat some oil in a pan for frying.
Once the oil is hot enough, carefully drop spoonfuls of the pakora batter into the oil.
Cook them until one side is partly done, then flip and cook the other side.
Fry until the pakoras are crispy and golden.
Take them out of the oil and let them drain on a paper towel to remove excess oil.
Fry the pakoras in batches like this. Once they're all done, set them aside.