{"id":"astronomy/phenomena","method":"POST","url":"https://astro-agent.dev/v1/astronomy/phenomena","price_usd":"0.10","tier":"premium","title":"Planetary phenomena: oppositions, conjunctions, elongations","summary":"Every conjunction with the Sun (inferior / superior for Mercury and Venus), opposition, greatest elongation, conjunction between two planets, perihelion and aphelion between two dates, to the second.","description":"For almanacs, observing guides and astronomy newsletters: between two dates (up to 366 days, 1800-2199), each planet's conjunctions with the Sun, oppositions (with the Earth distance), greatest elongations east or west (with the angle), conjunctions between planets (with their angular separation and distance from the Sun), and perihelion and aphelion (heliocentric distance), each with a stable key. Matches the published 2026 dates.","input_schema":{"type":"object","required":["start","end"],"properties":{"start":{"type":"string","description":"First UTC date, YYYY-MM-DD (1800-01-08..2199-12-30)."},"end":{"type":"string","description":"Last UTC date, YYYY-MM-DD, at most 366 days after start."},"bodies":{"type":"array","items":{"type":"string","enum":["mercury","venus","mars","jupiter","saturn","uranus","neptune"]},"description":"Planets to follow. Default: Mercury..Neptune."},"include":{"type":"array","items":{"type":"string","enum":["conjunction","opposition","greatest_elongation","planet_conjunction","perihelion","aphelion"]},"description":"Phenomena to return. Default: all."}}},"example_request":{"start":"2026-01-01","end":"2026-12-31","include":["opposition","greatest_elongation"]},"example_response":{"endpoint":"astronomy/phenomena","result":{"settings":{"start":"2026-01-01","end":"2026-12-31","bodies":["mercury","venus","mars"],"include":["opposition","greatest_elongation"],"conventions":{"frame":"geocentric apparent positions, true ecliptic and equinox of date (NASA/JPL DE440)","conjunction":"the planet's ecliptic longitude equals the Sun's; Mercury and Venus: inferior (nearer than the Sun) or superior","opposition":"the planet's ecliptic longitude differs from the Sun's by 180 deg (Mars..Neptune)","greatest_elongation":"maximum of the planet-Sun angular separation (Mercury, Venus): east = evening sky, west = morning sky","planet_conjunction":"equal geocentric ecliptic longitudes of two planets, with their angular separation then","perihelion_aphelion":"minimum / maximum of the planet's heliocentric distance","times":"UTC, refined to under a second, given to the second"}},"events":[{"type":"opposition","utc":"2026-01-10T08:42:09Z","timestamp":1768034529,"body":"jupiter","distance_au":4.231852,"key":"opposition:jupiter:2026-01-10T08:42Z"},{"type":"greatest_elongation","utc":"2026-02-19T17:41:09Z","timestamp":1771522869,"body":"mercury","direction":"east","elongation_deg":18.1227,"key":"greatest_elongation:mercury:2026-02-19T17:41Z"},{"type":"greatest_elongation","utc":"2026-04-03T22:33:35Z","timestamp":1775255615,"body":"mercury","direction":"west","elongation_deg":27.8195,"key":"greatest_elongation:mercury:2026-04-03T22:33Z"}],"counts":{"opposition":4,"greatest_elongation":7}},"meta":{"engine":"astro-agents/1.10.0","ephemeris":"NASA/JPL DE440 (1800-01-01..2200-01-01)","astronomy_library":"skyfield/1.55","frame":"geocentric apparent positions, true ecliptic and equinox of date (IAU 2006/2000A)","deterministic":true,"llm_used":false,"input_sha256":"41b16523604c14462c266c2822441e4b949f25eb43bfe510a734007d63795dab","result_sha256":"e66c72821a02cdfa7023627c8ff764724cf411b756680074219cb9665fc37a3d","reproducibility":"result_sha256 = SHA-256 of the result serialized as JSON with sorted keys, no whitespace, UTF-8, floats rounded to 6 decimals. Same input + same engine version => same hash."},"example_note":"real output of engine 1.10.0; lists shortened to 3 items"},"payment":"x402 or MPP; always paid. POST without payment to receive the 402 challenge.","catalog":"https://astro-agent.dev/v1/catalog"}