get precise ephemerides for solar-system bodies from jpl horizons

domain: ssd.jpl.nasa.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call GET https://ssd.jpl.nasa.gov/api/horizons.api with COMMAND set to the target body's designation (e.g. a planet/barycenter code, or a small-body DES= lookup), and CENTER set to the observing point.
  2. Set MAKE_EPHEM=YES and EPHEM_TYPE to OBSERVER, VECTORS, or ELEMENTS depending on whether you want apparent RA/Dec-style quantities, Cartesian state vectors, or osculating orbital elements.
  3. Set START_TIME, STOP_TIME, and STEP_SIZE to define the ephemeris time window and cadence.
  4. Use QUANTITIES (for EPHEM_TYPE=OBSERVER) to select which specific columns are returned, and format=json (or text) for the response body.
  5. If COMMAND is ambiguous, Horizons returns a list of candidate matches instead of ephemeris data — inspect the response and refine COMMAND before retrying.

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans