I told them, "If you think it best, give me my pay but if not, keep it."  So they paid me thirty pieces of silver. Then the Lord said to me, "Throw it to the potter, that magnificent price at which I was valued by them."  So I took the thirty pieces of silver and threw them to the potter in the house of the Lord.  Zechariah 11:12-13  written 520 b.c.

Then one of the twelve, the one called Judas Iscariot, went to the chief priests and asked, "What are you willing to give me if I hand him over to you?"  So they counted out for him thirty silver coins.  From then on, Judas watched for an opportunity to hand him over.  Matthew 26-14-16

They bound him, led him away and handed him over to Pilate, the governor.  When Judas, who had betrayed him, saw that Jesus was condemned, he was seized with remorse and returned the thirty silver coins to the chief priests and the elders.  "I have sinned," he said, "for I have betrayed innocent blood."  "What is that to us?" they replied.  "That's your responsibility."  So Judas threw the money into the temple and left.  Then he went away and hanged himself.  The chief priests picked up the coins and said, "It is against the law to put this into the treasury since it is blood money."  So they decided to use the money to buy the potter's field as a burial place for foreigners.  That is why it has been called the Field of Blood to this day.  Matthew 27:2-8

The Lord predicts his betrayal price roughly 500 years before hand.