The price ranges from 200 to over 1000 bucks per side for the lower and upper ball joints. If you got some basic mechanical skills, as well as some time and elbow grease, it’d be better to replace them yourself.
That could reduce the price dramatically as you’ll only need to purchase the joints, without having to pay for labor.