Question: what is the chance of getting a legendary enderman pet?
Answer: According to the wiki which may not be accurate, it says it is a 1/10,000 chance for legendary. 1/5,000 for epic and 1/1,000 for rare.