Hapax legomenon
Note that hapax legomenon refers to a word's appearance in a body of text, and does not talk about its origin nor how often it is used in speech.  For this reason, it is different from a nonce word, which may never be recorded, or which may find currency and may be widely recorded, or which may appear several times in the work which coins it, and so on.