I don't think the price was out of line.
It pays to look at the item and maybe do some shopping elsewhere. Paying someone to shop for me is costly, but sometimes very convenient.
Having the right part or a rare part available at all is often a life-saver. Nothing junks a tractor faster than not being able to come up with a part, because it is NLA (no longer available).
Carrying inventory of all the parts (and includes all the different size bolts) for the different tractors (in this case Mahindra) is in itself very expensive and many dealers have been forced to give up that inventory. Either that or go out of business.
I like to keep my dealer and parts guys happy, as they are important to me when I need their help, and I'd be lost and up the crick if they closed their doors.
Hope this doesn't sound too much like a lecture, but on the other hand....it's life. And soon it will get much worse, if anyone is aware of what is happening and what lies ahead to pay our way out of this mess.