Bodies
Bodies

All celestial bodies supported by the ephemeris, with name, slug, and symbol.

astra / bodies
Astra GET
View docs →
Altitude & Azimuth

Altitude, azimuth, and compass direction for a celestial body at a datetime.

astra / body / altitude-azimuth
Astra POST
View docs →
Distance

Distance between two celestial bodies at a given datetime.

astra / body / distance
Astra POST
View docs →
Phase Angle

Phase angle of a celestial body in degrees at a given datetime.

astra / body / phase-angle
Astra POST
View docs →
Rise & Set

Rising and setting events for a celestial body over a date range.

astra / body / rise-set
Astra POST
View docs →
Geography
Cities

All cities. Filter by region using the region_slug query parameter.

locci / geo / city
Locci GET
View docs →
City autocomplete

City names starting with the posted query string.

locci / geo / city / autocomplete
Locci GET
View docs →
City Datetime

Current local date and time for a given city.

locci / geo / city / datetime
Locci POST
View docs →
Nearby Cities

Up to five cities nearest to a given city, excluding the city itself.

locci / geo / city / nearby
Locci POST
View docs →
Nearest City

Nearest city to a given latitude/longitude coordinate.

locci / geo / city / nearest
Locci POST
View docs →
City

Single city record identified by slug.

locci / geo / city / {city_slug}
Locci GET
View docs →
City Search

Cities whose slugified name starts with the given query string.

locci / geo / city / search
Locci POST
View docs →
Top Cities

Top-ranked cities closest to a reference city within a tier.

locci / geo / city / top
Locci POST
View docs →
World Clock

Current date and time for all world-clock cities, ordered by UTC offset.

locci / geo / city / world-clock
Locci POST
View docs →
Continents

All continents with name, slug, and two-letter code.

locci / geo / continent
Locci GET
View docs →
Continent

Single continent record identified by slug.

locci / geo / continent / {continent_slug}
Locci GET
View docs →
Countries

All countries. Filter by continent using the continent_slug query parameter.

locci / geo / country
Locci GET
View docs →
Country

Single country record identified by slug.

locci / geo / country / {country_slug}
Locci GET
View docs →
Regions

All regions. Filter by country using the country_slug query parameter.

locci / geo / region
Locci GET
View docs →
Region

Single region record identified by slug.

locci / geo / region / {region_slug}
Locci GET
View docs →
Languages
Languages

All languages with name, ISO code, and slug.

locci / lang / language
Locci GET
View docs →
Language

Single language record identified by slug.

locci / lang / language / {language_slug}
Locci GET
View docs →
Moon
Illumination

Moon illumination and phase at a datetime, or daily over a date range.

astra / moon / illumination
Astra POST
View docs →
Moon Phases

Primary moon phase events and daily illumination over a date range.

astra / moon / phases
Astra POST
View docs →
Moonrise & Moonset

Moonrise and moonset times over a date range.

astra / moon / rise-set
Astra POST
View docs →
Solunar

Solunar periods and moon activity rating for a single day.

astra / moon / solunar
Astra POST
View docs →
Planets
Planet Summary

Altitude, azimuth, distance, and rise/set for all planets at a given datetime.

astra / planet / summary
Astra POST
View docs →
Sun
Sunrise & Sunset

Sunrise and sunset times and azimuths over a date range.

astra / sun / rise-set
Astra POST
View docs →
Seasons

Astronomical season change events over a date range.

astra / sun / seasons
Astra POST
View docs →
Solstice & Equinox

Solstice and equinox events over a date range.

astra / sun / solstice-equinox
Astra POST
View docs →
Twilight

Twilight band transition times (night → civil → nautical → astronomical) over a date range.

astra / sun / twilight
Astra POST
View docs →
System
Journal

All astronomical events for a single day, merged and sorted chronologically.

astra / journal
Astra POST
View docs →
Version

Current astra API version string.

astra / version
Astra GET
View docs →
Version

Current locci API version string.

locci / version
Locci GET
View docs →
Tides
Tides

High and low tide predictions for a single day.

astra / tides
Astra POST
View docs →
Timezones
Timezones

All timezones with IANA name, UTC offset, and slug.

locci / tz / timezone
Locci GET
View docs →
Timezone

Single timezone record identified by slug.

locci / tz / timezone / {timezone_slug}
Locci GET
View docs →
Other
RSS feed of the last 100 past astronomical events for a city.

astra / journal / rss / <slug:city_slug>