Combine ground chicken, grated onion, minced garlic, salt, and black pepper in a bowl.
Divide chicken mixture into sixteen equal portions.
Flatten one portion and press a cube of mozzarella into the center.
Enclose cheese completely and roll chicken into a smooth round ball.
Dredge each chicken ball in flour, then beaten egg, then panko breadcrumbs.
Preheat oven to 400 degrees F or heat oil to 350 degrees F.
Place balls on a baking sheet and spray generously with oil.
Bake for 18 to 20 minutes until crust is deep golden and chicken is cooked through.
Serve warm with ranch or marinara dipping sauce.