Peel the potatoes and shred them on the large holes of a box grater into a large bowl of ice water. Grate the onion in too. Let sit for 10 minutes.
Lift out the potatoes and onion, squeezing the moisture back into the bowl. Dry them very well with a clean kitchen towel, squeezing twice. They need to be drier than for fried latkes.
Let the potato water sit for 5 to 10 minutes so the starch settles to the bottom. Carefully pour off the water, keeping the white starch. (You can skip this and use the store-bought potato starch instead.)
Transfer the potatoes and onion to a bowl and mix in the egg, flour or matzo meal, salt, reserved starch and 1 ½ tablespoons oil.
Preheat the air fryer to 375°F. Line the basket or rack with perforated parchment so the latkes don't stick.
Scoop about ⅓ cup of the mixture per latke and press into thin patties, about ⅓ inch thick. Arrange 3 in a single layer with space between them, and brush or spray the tops with oil.
Air fry for 8 minutes. Flip the latkes, remove the parchment so the second side cooks directly on the rack, brush or spray again and cook 5 to 7 minutes more, until deep golden brown and crispy. Repeat with the remaining 3 latkes and fresh parchment.
Sprinkle with more salt and serve hot with applesauce, sour cream and scallions.