Allergic reactions occur when IgE molecules become crosslinked by antigens such as food proteins. Here we create the 'AllerScan' programmable phage display system to characterize the binding specificities of anti-allergen IgG and IgE antibodies in serum against thousands of allergenic proteins from hundreds of organisms at peptide resolution. Using AllerScan, we identify robust anti-wheat IgE reactivities in wheat allergic individuals but not in wheat-sensitized individuals. Meanwhile, a key wheat epitope in alpha purothionin elicits dominant IgE responses among allergic patients, and frequent IgG responses among sensitized and non-allergic patients. A double-blind, placebo-controlled trial shows that alpha purothionin reactivity, among others, is strongly modulated by oral immunotherapy in tolerized individuals. AllerScan may thus serve as a high-throughput platform for unbiased analysis of anti-allergen antibody specificities.