Working With The NASA/JPL Horizons API
PHP Demo Programs by Jay Tanner - 2024

The NASA/JPL Horizons On-Line API

  • The NASA/JPL Horizons API v1.0 went on-line in July of 2021 and has been revised a few times since then.
    https://ssd-api.jpl.nasa.gov/doc/horizons.html#change_log

    However, the API may be a bit intimidating to newbies at first encounter, but it is not too difficult to learn to use it and PHP makes it a very simple process as numerous examples and public domain PHP source code published on this site will demonstrate.

    It is highly recommended that you experiment with the web app interface and study the API references given here, then it will be easier to visualize how to interact with it via PHP.

    The public web interface can be found here:
    https://ssd.jpl.nasa.gov/horizons/app.html

    All of the custom PHP software developed here, will apply and follow all the same rules as the NASA/JPL Horizons API.