{"id":"astronomy/positions","method":"POST","url":"https://astro-agent.dev/v1/astronomy/positions","price_usd":"0.01","tier":"call","title":"Planetary positions for any date (ephemeris)","summary":"Ecliptic longitude and latitude, daily speed, retrograde flag and distance of the Sun, the Moon, Mercury..Pluto and the lunar nodes, for any moment 1800-2200.","description":"Geocentric apparent positions from NASA/JPL DE440 (true ecliptic and equinox of date, IAU 2006/2000A), with the Moon's ascending and descending nodes and its mean apogee. Location is optional (only used to interpret a local time). Options: 'heliocentric' perspective (seen from the Sun) and 'equatorial' coordinates (right ascension, declination, and whether |declination| exceeds the obliquity).","input_schema":{"type":"object","required":[],"properties":{"datetime":{"type":"string","description":"Local civil date-time, ISO 8601: '1990-05-15T14:30' (local clock time at the place) or with an explicit offset '1990-05-15T14:30:00+02:00'. Alternative: 'date' + 'time'.","examples":["1990-05-15T14:30"]},"date":{"type":"string","description":"YYYY-MM-DD (use with 'time' instead of 'datetime')."},"time":{"type":"string","description":"HH:MM or HH:MM:SS, 24 h. Omit if unknown (computed at 12:00 with a TIME_UNKNOWN warning)."},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Decimal degrees, north positive."},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Decimal degrees, east positive."},"timezone":{"type":"string","description":"IANA zone, e.g. 'Asia/Kolkata'. Optional: resolved from the coordinates, with the historical offset (DST, Local Mean Time) of that date."},"time_basis":{"type":"string","enum":["civil","utc","lmt","true_solar"],"default":"civil","description":"What the given clock time is: civil wall-clock (default), UTC, Local Mean Time, or true (apparent) solar time."},"ambiguous_time":{"type":"string","enum":["earlier","later"],"default":"earlier","description":"Which occurrence to use when a local time happens twice (DST fall-back)."},"options":{"type":"object","description":"Optional.","additionalProperties":false,"properties":{"bodies":{"description":"'all' or a list from ['sun', 'moon', 'mercury', 'venus', 'mars', 'jupiter', 'saturn', 'uranus', 'neptune', 'pluto', 'lunar_node_true', 'lunar_node_true_descending', 'lunar_node_mean', 'lunar_apogee_mean']. Default: the Sun, the Moon, Mercury..Pluto, the Moon's true ascending node, its descending node and its mean apogee.","oneOf":[{"type":"string","enum":["all"]},{"type":"array","items":{"type":"string","enum":["sun","moon","mercury","venus","mars","jupiter","saturn","uranus","neptune","pluto","lunar_node_true","lunar_node_true_descending","lunar_node_mean","lunar_apogee_mean"]}}]},"perspective":{"type":"string","enum":["geocentric","heliocentric"],"default":"geocentric","description":"'geocentric' (default) or 'heliocentric' (geometric, seen from the Sun: the Earth instead of the Sun and the Moon, no lunar points)."},"coordinates":{"type":"string","enum":["ecliptic","equatorial"],"default":"ecliptic","description":"'ecliptic' (default: longitude/latitude) or 'equatorial': also each body's right ascension, declination, their daily speeds and whether |declination| exceeds the obliquity of the ecliptic."}}}}},"example_request":{"datetime":"2026-10-01T12:00:00Z"},"example_response":{"endpoint":"astronomy/positions","result":{"subject":{"time":{"local_input":"2026-10-01T12:00:00Z","time_basis":"civil","timezone":null,"timezone_source":"offset_in_datetime","utc_offset":"+00:00","is_dst":null,"utc":"2026-10-01T12:00:00Z","julian_day_ut":2461315.000001,"julian_day_tt":2461315.000801,"delta_t_seconds":69.091,"time_known":true}},"settings":{"longitude_reference":"ecliptic longitude from the true equinox of date (0-360 degrees)"},"points":[{"point":"sun","name":"Sun","longitude":188.33017,"latitude":0.000187,"speed_longitude":0.982927,"retrograde":false,"distance_au":1.001186},{"point":"moon","name":"Moon","longitude":71.048302,"latitude":5.056642,"speed_longitude":14.283559,"retrograde":false,"distance_au":0.002469},{"point":"mercury","name":"Mercury","longitude":211.339088,"latitude":-1.80707,"speed_longitude":1.313986,"retrograde":false,"distance_au":1.169303}]},"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":"a7af73db4bd2fa4f9d9b5c731414dc79d6d2aa5313e52e6ec91bbb8f6da5b536","result_sha256":"f9ce86e8d76e7d190077291ac328e5e94614a8d82797c407d4fc02ccae05505d","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; 1 free call per client on the $0.01-0.02 routes, this one included. POST without payment to receive the 402 challenge.","catalog":"https://astro-agent.dev/v1/catalog"}