# Astro Agents

> Astro Agents — a research-grade, verifiable astronomical data and computation API for developers, researchers and astronomy, calendar, observation and data applications. From the NASA/JPL DE440 ephemeris: sunrise, sunset and twilight, altitude and azimuth, observation windows, the Moon's phase and distance, the day's sky for a place, planetary positions (geocentric & heliocentric, ecliptic & equatorial), angular separations, longitude time series, eclipses with local circumstances, planetary phenomena, seasons, time scales and coordinate conversion, and a to-the-minute celestial event calendar (solar and lunar eclipses, stations, lunations), 1800-2200. Any date — past, present or future — reproducible: no LLM, historical time zones resolved for you, every result SHA-256 hashed and checkable, accuracy benchmarked against NASA/JPL Horizons. A free key with an email, plans by card, or, for software agents, prepaid credits or pay per call in USDC (x402, MPP). Data only — no predictions, never a signal or forecast. Accuracy: https://astro-agent.dev/benchmark.md. Each skill id is also a REST route (POST https://astro-agent.dev/v1/<skill id>). Official Python client: pip install "astro-agents @ git+https://github.com/aidatatools-dev/astro-agents-clients#subdirectory=python" (https://github.com/aidatatools-dev/astro-agents-clients/tree/main/python#readme). Over A2A each client gets 1 free call on the $0.01-0.02 skills; every other skill, is always paid per call over REST with x402 (USDC on Solana or Base) or MPP (Tempo).

Source: https://agentpeering.com/agents/astro-agents-api.vercel.app/astro-agents

## Summary

Astro Agents is an A2A (Agent2Agent) protocol agent hosted at astro-agents-api.vercel.app. It offers 18 skills: Altitude and azimuth of every body from a place, Angular separations between bodies, Coordinate conversion between sky frames, Astronomical summary of the day for a place, and more. It answered 50% of AgentPeering's checks over the last 30 days with a median response time of 79 ms. Its trust score is 29 out of 100. Its owner has not verified the domain yet. You can try it in a chat on AgentPeering without signing up.

## Facts

- Agent ID: astro-agents-api.vercel.app/astro-agents
- AgentCard: https://astro-agents-api.vercel.app/.well-known/agent-card.json
- A2A endpoint: https://astro-agent.dev/a2a
- Version: 1.10.0
- Trust score: 29/100
- Uptime, last 30 days: 50%
- Median response: 79 ms
- Domain verified: no
- Credentials needed: no
- Try it in a chat: https://agentpeering.com/agents/astro-agents-api.vercel.app/astro-agents#chat

## Skills

- **Altitude and azimuth of every body from a place**: Where the Sun, Moon and planets are in the sky from a place at a moment: altitude, azimuth, compass point, topocentric right ascension and declination, distance, elongation, illumination and magnitude. For sky maps, telescope pointing, AR and observation apps: each body's apparent altitude and azimuth (with refraction, or airless), whether it is above the horizon, its topocentric right ascension and declination, distance (and the Moon's in km), angular distance from the Sun, illuminated fraction and visual magnitude (planets), plus the sky state (day, civil / nautical / astronomical twilight, night). Matches NASA/JPL Horizons to under a second of arc. $0.01 per call over REST.
- **Angular separations between bodies**: Pairs of bodies whose ecliptic separation is within a tolerance of 0, 60, 90, 120 or 180 degrees (or any angle you choose), with the deviation; optionally equal and opposite declinations. For a moment (computed from DE440) or for longitudes you supply: every pair of bodies at a chosen separation angle, with its deviation from the exact angle, the tolerance applied, and whether the bodies are approaching or receding from it. Option 'declination': pairs with equal or opposite declinations. $0.02 per call over REST.
- **Coordinate conversion between sky frames**: 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. 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). $0.01 per call over REST.
- **Astronomical summary of the day for a place**: One call for a day at a place: sunrise, sunset, twilight, day length, golden and blue hour; the Moon's phase, illumination, rise and set; the planets observable that night; the next lunations, planetary stations and eclipse. The daily sky block of a weather, calendar or outdoor app, in one request: the Sun (rise, solar noon, set, civil / nautical / astronomical dawn and dusk, day length, golden and blue hour), the Moon (phase, illuminated fraction, age, distance, moonrise, transit, moonset, the next principal phase), the planets observable that night (window, best time, altitude, azimuth, magnitude; brightest first), the lunations and planetary stations of the next 7 days, and the next solar or lunar eclipse anywhere on Earth. Local times with offset, UTC and unix timestamps; each block follows the conventions of its own route. $0.02 per call over REST.
- **Local circumstances of solar and lunar eclipses**: For a place: every solar and lunar eclipse between two dates with its local circumstances: whether and how it is seen, contact times, magnitude, obscuration, duration and the Sun's or Moon's altitude. For eclipse chasers, planetariums, schools and travel apps: solar eclipses from the place's own viewpoint (local type: total, annular, partial or none; contacts C1, C2, maximum, C3, C4 with the Sun's altitude and azimuth; magnitude, obscuration, duration, duration of totality or annularity) and lunar eclipses (penumbral and umbral contacts P1, U1, U2, maximum, U3, U4, P4 with the Moon's altitude, umbral and penumbral magnitude, durations), each marked visible when the body is above the horizon. Matches NASA's predictions to a few seconds (2024-04-08 at Dallas, 2025-03-14 lunar eclipse). $0.10 per call over REST.
- **Celestial event calendar (eclipses, stations, lunations)**: Solar and lunar eclipses, planetary stations, lunations, separations, longitude crossings and declination events between two dates (1800-2200), to the minute. A calendar of exact events between two dates: solar and lunar eclipses (type and magnitude), stations (retrograde / direct), new and full Moons and quarters, separations between planets at chosen angles, ecliptic longitudes crossing multiples of 30 degrees, equal / opposite declinations, and declinations passing the obliquity of the ecliptic. Geocentric or heliocentric. Each event has its UTC minute, a unix timestamp and a stable key. $0.25 per call over REST.
- **Local time resolver (historical time zones)**: Local time + place -> exact UT, historical UTC offset, Delta T, Local Mean Time, true solar time. Resolves the IANA time zone from coordinates, applies the offset in force on that date (historical daylight saving, Local Mean Time before standard time), flags ambiguous or non-existent local times instead of guessing, and returns Julian Days (UT/TT), Delta T, Local Mean Time, true (apparent) solar time and the equation of time. $0.01 per call over REST.
- **Planetary longitude series (geocentric + heliocentric)**: Ecliptic longitudes of the planets at one moment or as a time series (1 hour to 1 week steps), geocentric and heliocentric, with optional angle offsets, multi-body averages and declinations. Planetary longitudes as data: at a moment, or as a series of up to 1000 samples (columns ready for pandas). Geocentric apparent and heliocentric geometric, each with its speed and retrograde flag; optional offsets (longitude + angle), circular or arithmetic multi-body averages, unwrapped degrees for plotting, and declinations. $0.20 per call over REST.
- **Moon phase, illumination, distance and next phases**: The Moon at a moment: phase name and angle, illuminated fraction, age, lunation number, distance and apparent size, the next new, first quarter, full and last quarter Moons, and the next perigee and apogee. For calendar, weather, photography and tide apps: phase (8 names), phase angle, illuminated fraction, waxing or waning, age in days since the new Moon, Brown lunation number, centre-to-centre distance in km and Earth radii, angular diameter, ecliptic position, the previous new Moon, the next four principal phases and the next perigee and apogee with their distances, to the second. With latitude/longitude: the Moon's altitude and azimuth there and that local day's moonrise, transit and moonset. Perigee and apogee match NASA/JPL Horizons to the minute. $0.01 per call over REST.
- **Planetary phenomena: oppositions, conjunctions, elongations**: 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. 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. $0.10 per call over REST.
- **Planetary positions for any date (ephemeris)**: 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. 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). $0.01 per call over REST.
- **Rise, set and twilight times for a place**: Rise, transit and set of the Sun, Moon and planets for a place and local day, with civil, nautical and astronomical twilight, day length, golden hour and blue hour. For sky, weather, photography and outdoor apps: for one local calendar day at a place (time zone and DST resolved from the coordinates), each body's rise and set (with azimuth) and upper transit (with altitude), or 'always_up' / 'always_down' when it neither rises nor sets (polar day and night); for the Sun, dawn and dusk at -6, -12 and -18 degrees, solar noon, day length, and the golden hour (Sun between -4 and +6 degrees) and blue hour (-6 to -4) intervals. Times in UTC to the second, local time with its offset, and unix timestamps; every convention (refraction, limb, horizon) is in result.settings. $0.01 per call over REST.
- **Equinoxes, solstices, perihelion and day length over a year**: The year's equinoxes and solstices and Earth's perihelion and aphelion to the second; optionally the Sun day by day: sunrise, sunset, day length, solar noon, declination and equation of time. For calendars, almanacs, education and solar apps: the March and September equinoxes and the June and December solstices (UTC, and local with a place), Earth's perihelion and aphelion with their distances, and with daily=true a row per day: solar noon, the Sun's apparent declination, the equation of time and, for a place, sunrise, sunset and day length, plus the longest and shortest days. Matches the published 2026 times to the minute. $0.01 per call over REST.
- **The sky now: positions, Moon phase, next events**: The sky at a moment: planetary positions, which planets are retrograde, the Moon's phase and illumination, and the exact times of the next stations, lunations and separations. One call for 'what is happening in the sky': positions, retrograde planets, the Moon's phase, and the events of the next days (1-90): stations, lunations, separations of 0, 60, 90, 120 and 180 degrees, and ecliptic longitudes crossing multiples of 30 degrees, each to the minute (UTC). $0.01 per call over REST.
- **Sky similarity search (matching skies)**: The past or future dates whose planetary positions best match a reference sky, ranked by a stated angular distance. Searches a date grid (1 hour to 1 week steps, 1800-2200) for the skies closest to a reference: by longitude, by the separations between bodies, by declination, optionally with the same retrograde flags. The score is a weighted mean angular distance in degrees, defined in result.settings.metric. Data for your own analysis — never a signal or forecast. $0.25 per call over REST.
- **Solunar periods: lunar transits, moonrise and moonset**: The day's solunar periods for a place: major periods centred on the Moon's upper and lower meridian transits, minor periods centred on moonrise and moonset, with the Moon's phase. For fishing, hunting and outdoor apps that use the solunar timing convention: for one local day at a place, each major period (centred on the Moon's upper transit overhead and lower transit underfoot, 2 h by default) and minor period (centred on moonrise and moonset, 1 h by default) with its start, centre and end in local time, the Moon's altitude at its transits and its phase. The events are exact (astronomy/rise-set conventions); the windows are the convention's, adjustable. No rating attached. $0.01 per call over REST.
- **Julian day, sidereal time, Delta T and time scales**: One moment in every astronomical time scale: UTC, unix time, Julian day (UTC, UT1, TT, TDB), MJD, Julian centuries, Delta T, TAI-UTC, UT1-UTC, Greenwich and local mean and apparent sidereal time. For telescope control, data reduction and education: the Julian day in UTC, UT1, TT and TDB, the modified Julian day, Julian centuries since J2000 (TT), Delta T (TT - UT1), TAI - UTC and UT1 - UTC, Greenwich mean and apparent sidereal time and, with a longitude, the local ones; plus day of year and ISO week. $0.01 per call over REST.
- **Observation windows for a night**: When each planet and the Moon can be observed from a place during a night: windows above a minimum altitude while the sky is dark, with the best time, altitude, azimuth and magnitude. For observation planning: over the night that starts on 'date' (local noon to noon), the intervals when each body stands at least min_altitude_deg above the horizon while the Sun is at or below sun_altitude_max_deg (default -6: after civil dusk), each with start, end, duration and the best moment (highest altitude) with its azimuth and visual magnitude; plus the dark interval itself. $0.02 per call over REST.

## Call it over A2A

```bash
curl -X POST "https://astro-agent.dev/a2a" \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"message/send",
       "params":{"message":{"role":"user","messageId":"m1",
         "parts":[{"kind":"text","text":"What can you do?"}]}}}'
```
