I've had a throbbing dull headache on the top of my head, near the front for the past few days. The headache typically lasts for five to thirty second?

Migraine. Although the briefness of the pain you're having is somewhat uncharacteristic of a migraine headache, the other characteristics are migrants and nature, so I would conclude that you're having a type of migraine headache. Many factors can bring him on, such as allergies, head trauma, changes and sleep pattern, certain medications, processed foods. Just something to think about.