I was told that the top of the head is the hardest and you ahould be able to take more there if you mean sort of forehead area. I'm not sure about the very top as if something is dropped on you from directly above.

Did it happen during sparring in a club and do you know what punch/ combo you were hit with? That info might help someone more knowledgable answer your Q.