The quickest way to get your feet wet is to use the python package Skyfield which can load and read ephemerides for you and give you both (x, y, z) positions in space and relative apparent positions (altitude, azimuth) observed from a point on earth, corrected for the finite speed of light. But if you want to get in deeper, the SPICE toolkit mentioned in the other answers may be more what you want. Just for example, the answers to this question may be worth reading.
The actual ephemerides can be found here. These are produced by fitting to a large body of observational data - mostly optical, radar, and telemetry from exploration satellites where available, and then integrating equations of motion with high precision and attention to detail, forwards and backwards in time (future and past). They contain positions at fixed time intervals, and coefficients so you can interpolate positions to any point in time between to the same level of accuracy.
FREE: Yes!
ACCURATE: In a word, Yes, but it really depends what you mean by "accurate", and which body in which ephemeride. For practical purposes - "where are the planets right now, and where were they and where will they be?" they are all good, and you can choose one that is not too large and covers the time span and list of bodies you need. If you are navigating a satellite close fly-by of a planet or moon, or predicting a planetary occultation of a star seen from a point on earth, then you should look deeper into the various accuracies.
UPDATED: These are not updated, they are fixed, published tables, that apply to any time within their range. If something happens in the solar system - for example a previously undiscovered comet visits and hits a small moon of a planet and changes its orbit, the existing ephemerides will not be updated to reflect that. Of course a revision may be published as a new ephemeride at some point - or some method or "patch" to handle those moons may be issued - that's another question altogether.
For artificial satellites, it's a whole different story. They are frequently observed and their orbits are best described using the most recently published set of two-line elements, which is accurate for a short period of time.