An antonym means "opposite". So an antonym for the word synonym is antonym.
Opposite.
a synonym are two words that mean the same thing like daring and adveturous while an antonym are two words that are totally opposite like solved and unsolved
opposite
Synonyms mean the same, antonyms mean the opposite.