Where did you go? Try the local junkyards. A reman. axle should be around $50 or a little more. So, for both, just over a hundred bucks. Unless your car is in exceptional shape and you're modding or you plain on selling down the road (and want as high resale value as possible), you don't have to pay such high prices. If the car is decent, I'd buy the reman. axle but would go for a bit more on the ball joints (i.e. buy the quality ones).
If you're talking about repair prices, did you buy the parts yet? If you get it done at a shop, buy those parts like I mentioned and bring them to the shop.