{"id":"astronomy/convert","method":"POST","url":"https://astro-agent.dev/v1/astronomy/convert","price_usd":"0.01","tier":"call","title":"Coordinate conversion between sky frames","summary":"Convert one direction on the sky between equatorial (J2000 and of date), ecliptic (J2000 and of date), galactic and, with a moment and a place, horizontal coordinates.","description":"For catalogues, planetarium and telescope software: give a direction in one frame and get it in all the others: equatorial J2000 (ICRS) and of date, ecliptic J2000 and of date, galactic, and horizontal (altitude, azimuth) when a datetime and a place are given. Geometric frame rotations of a direction (no aberration or refraction is added: use astronomy/altaz for where a body appears).","input_schema":{"type":"object","required":["frame","coordinates"],"properties":{"frame":{"type":"string","enum":["equatorial_j2000","equatorial_of_date","ecliptic_j2000","ecliptic_of_date","galactic","horizontal"],"description":"The frame of the input coordinates."},"coordinates":{"type":"object","properties":{"ra_hours":{"type":"number","description":"Equatorial frames: right ascension, hours 0-24."},"dec":{"type":"number","description":"Equatorial frames: declination, degrees."},"longitude":{"type":"number","description":"Ecliptic and galactic frames: longitude, degrees 0-360."},"latitude":{"type":"number","description":"Ecliptic and galactic frames: latitude, degrees."},"altitude":{"type":"number","description":"Horizontal frame: altitude, degrees."},"azimuth":{"type":"number","description":"Horizontal frame: azimuth from north, degrees 0-360."}},"description":"The direction, with the two fields of its frame."},"datetime":{"type":"string","description":"Needed for the of-date and horizontal frames (UTC, offset, or local time with latitude/longitude)."},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Observer latitude, for the horizontal frame."},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Observer longitude, for the horizontal frame."}}},"example_request":{"frame":"equatorial_j2000","coordinates":{"ra_hours":6.75247703,"dec":-16.71611582},"datetime":"2026-06-21T21:00:00Z","latitude":48.8566,"longitude":2.3522},"example_response":{"endpoint":"astronomy/convert","result":{"subject":{"frame":"equatorial_j2000","coordinates":{"ra_hours":6.752477,"dec":-16.716116},"time":{"local_input":"2026-06-21T21:00:00Z","time_basis":"civil","timezone":null,"timezone_source":"offset_in_datetime","utc_offset":"+00:00","is_dst":null,"utc":"2026-06-21T21:00:00Z","julian_day_ut":2461213.375,"julian_day_tt":2461213.375801,"delta_t_seconds":69.142,"time_known":true,"local_mean_time":"2026-06-21T21:09:24","true_solar_time":"2026-06-21T21:07:30","equation_of_time_minutes":-1.8991}},"settings":{"conventions":{"rotation":"geometric frame rotations of one direction: no aberration, light time, nutation of the input or refraction are added; use astronomy/altaz for where a body appears","equatorial_j2000":"ICRS (J2000 mean equator and equinox to 0.02 arcsec)","of_date":"true equator / true ecliptic and equinox of the given moment (IAU 2006/2000A)","galactic":"IAU 1958 galactic system as defined in Skyfield (galactic_frame)","horizontal":"altitude above the geometric horizon, azimuth from true north clockwise"}},"frames":{"equatorial_j2000":{"ra_hours":6.752477,"dec":-16.716116},"ecliptic_j2000":{"longitude":104.081665,"latitude":-39.605248},"galactic":{"longitude":227.230283,"latitude":-8.890284},"equatorial_of_date":{"ra_hours":6.7723,"dec":-16.743409},"ecliptic_of_date":{"longitude":104.45267,"latitude":-39.601976},"horizontal":{"altitude":-35.862897,"azimuth":286.685525}}},"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":"128aa2f25abb5fa86c9c2a53135026a9f508366f223cc7392612251da04ec1e8","result_sha256":"72a9aa9741c5e5d10418ef3fe913671677a58227af30839b692d1a0bf81622f5","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"}