Prepare the onions: Peel and thinly slice the onions. Place them in a mixing bowl and add salt. Let them rest for 5 minutes to release moisture.
Make the batter: Add gram flour, red chili powder, and carom seeds. Mix well. Add a little water only if needed to make a thick coating.
Heat the oil: Heat oil in a deep frying pan over medium heat.
Fry the pakoras: Drop small portions of the onion mixture into the hot oil. Fry until golden brown and crispy, turning occasionally.
Serve hot: Remove the pakoras and drain excess oil on a paper towel. Serve hot with green chutney or ketchup.