What could be the problem?

There are times in the evening where I get hives all over my body and I will wake past midnight scratching those. I am watching the things I am eating but still I can’t figure out if this is a food allergy.