# Kerykeion vs a hosted astrology API

> Kerykeion is a full astrology library rather than a binding: subjects, charts, aspects, returns, progressions and SVG rendering, with its own ephemeris backend by default. For Western astrology in Python it does more out of the box than many APIs. Its Vedic side is thinner - nakshatras and sidereal modes, not dashas or vargas.

Source: https://astronode.dev/compare/self-hosting/kerykeion · Facts checked: 2026-12-01

## When self-hosting Kerykeion is the better choice

- Western astrology is the product. Natal, synastry, transit, return, composite, Davison and progression charts; profections, firdaria, zodiacal releasing, primary directions; eclipses, lunations and void-of-course Moon. AstroNode's Western endpoints cover far less of that list.
- You want rendered charts. Kerykeion draws SVG wheels in two styles and three themes; AstroNode returns data and leaves drawing to you.
- Time zones from place names. It takes an IANA zone, applies historical and DST rules, refuses to guess on an ambiguous wall time, and falls back to Local Mean Time before a zone had civil time. AstroNode deliberately takes a numeric offset instead, so on this point Kerykeion does more for you.
- Python 3.12+ services that want everything in-process, with no per-call cost and no network dependency on the hot path.

## Side by side

|  | Kerykeion | AstroNode API |
| --- | --- | --- |
| Language / runtime | Python 3.12 or newer ([source](https://github.com/g-battaglia/kerykeion)) | Any language: HTTPS + JSON, OpenAPI 3.1 spec ([details](https://astronode.dev/guides/openapi-typed-client)) |
| Install and native build | Pure Python by default; Swiss Ephemeris backend optional and needs a C compiler ([source](https://www.kerykeion.net/python-library/docs/v6/backend_precision_comparison)) | Nothing to compile; an API key and an HTTP client ([details](https://astronode.dev/quickstart/curl)) |
| Planet positions | Yes - planets, houses, axes, lunar phase ([source](https://github.com/g-battaglia/kerykeion)) | Sidereal and tropical, from Swiss Ephemeris data files ([details](https://astronode.dev/capabilities/vedic)) |
| House systems | Placidus default; every system the backend supports ([source](https://github.com/g-battaglia/kerykeion)) | Whole-sign (Vedic), Placidus (KP), five Western systems ([details](https://astronode.dev/guides/house-systems)) |
| Sidereal / ayanamsa | 47 named sidereal modes plus a custom one ([source](https://github.com/g-battaglia/kerykeion)) | Fixed per tradition: Lahiri, KP-Newcomb, tropical ([details](https://astronode.dev/guides/ayanamsa)) |
| Dashas | Vimshottari lord of the nakshatra; dasha periods not documented ([source](https://github.com/g-battaglia/kerykeion)) | Vimshottari, Yogini, Char ([details](https://astronode.dev/guides/vimshottari-dasha-calculation)) |
| Divisional charts (vargas) | Not documented | 16 vargas in one call, plus D150 ([details](https://astronode.dev/guides/divisional-chart-calculation)) |
| KP sub-lords | Not documented | Cuspal sub-lord chain, significators, horary 1-249 ([details](https://astronode.dev/capabilities/kp)) |
| Panchang | Not documented | Tithi, nakshatra, yoga, karana, sunrise, muhurta windows ([details](https://astronode.dev/guides/panchang-sunrise-conventions)) |
| Yogas | Not documented | 55 classical yogas with reasons ([details](https://astronode.dev/capabilities/vedic)) |
| Kundli matching | Western synastry and a compatibility score; Vedic matching not documented ([source](https://github.com/g-battaglia/kerykeion)) | Ashtakoot, Dashakoot, Porutham, batch scoring ([details](https://astronode.dev/capabilities/compatibility)) |
| Ephemeris data you ship | JPL DE440s bundled for 1850-2150; wider tiers are downloads ([source](https://github.com/g-battaglia/kerykeion)) | None on your side |
| Time zones and historical offsets | Yes - IANA zones, DST ambiguity, Local Mean Time ([source](https://github.com/g-battaglia/kerykeion)) | You send the offset in force at birth; no zone-name lookup ([details](https://astronode.dev/guides/birth-time-and-time-zones)) |
| Maintenance signal | Active: 6.1.0 on PyPI, 12 Nov 2026; v6 is a migration from v4/v5 ([source](https://github.com/g-battaglia/kerykeion)) | Hosted; changes published in the changelog ([details](https://astronode.dev/changelog)) |
| Stated accuracy | Backends agree within 1′ for major planets (backend vs backend) ([source](https://www.kerykeion.net/python-library/docs/v6/backend_precision_comparison)) | Measured in CI vs NASA JPL Horizons: Moon 3.1″, planets ≤ 0.5″ (1900-2050) ([details](https://astronode.dev/)) |

| More from their docs |  |
| --- | --- |
| Release | kerykeion 6.1.0 uploaded 12 November 2026 ([source](https://pypi.org/pypi/kerykeion/json)) |
| Precision metadata | Each point reports its source and precision class ([source](https://github.com/g-battaglia/kerykeion)) |
| Ambiguous local times | Raises rather than guessing when a wall time repeats or is skipped ([source](https://github.com/g-battaglia/kerykeion)) |

## What you still build yourself

- Vimshottari periods: Kerykeion documents the nakshatra lord at birth, not the mahadasha-antardasha timeline, its balance or the lookup of the running period on a date.
- Divisional charts, KP sub-lords, panchang (tithi, yoga, karana, Hindu sunrise) and classical yogas - none are in its documented feature tables.
- Vedic matching (Ashtakoot or Porutham). Its compatibility score is a Western, aspect-based one.
- A service around the library if non-Python clients need it: an HTTP layer, auth, caching and a deployment for a Python 3.12 runtime.

## Running it in production

- Python version floor. Version 6 requires Python 3.12, which rules out older long-term-support images and some serverless runtimes until you upgrade them.
- Major-version migration. The README sends v4 and v5 users to release notes and a migration guide before upgrading; budget for that when a new major lands.
- Two backends, two behaviours. The default backend is pure Python on JPL DE440s for 1850-2150; dates outside that need a download of a larger tier. The optional Swiss Ephemeris backend needs a C compiler and its own .se1 files. Their docs warn that near a sign or house boundary a small backend difference can flip a label, so pin one backend in production.
- Optional bodies can degrade quietly: a chart can succeed with some points from approximate sources, flagged in metadata your code should read.
- Time zones are handled, but only if you pass a zone name and the right tzdata is installed. If you store numeric offsets instead, the same historical traps apply - see the [UTC offset finder](https://astronode.dev/tools/utc-offset-finder) and the [time-zone guide](https://astronode.dev/guides/birth-time-and-time-zones).

## Accuracy

Kerykeion's docs do not state a figure against JPL Horizons. Their backend-precision page compares its two backends with each other and says the differences stay below one arcminute for the major planets; that is agreement between backends, not error against a reference. Each point also carries its source and precision class. AstroNode's CI compares against NASA JPL Horizons directly and measured the Moon within 3.1″ and every planet within 0.5″ from 1900 to 2050.

## Where an API saves work

- The Vedic stack Kerykeion stops short of: three dasha systems with running-period lookup, sixteen vargas, KP sub-lords, panchang and muhurta windows, 55 yogas, Ashtakoot and Porutham matching.
- Clients that are not Python - a React Native app, a Node backend, a no-code tool - call one HTTPS endpoint instead of you hosting a Python 3.12 service for them.
- One backend, fixed conventions per tradition, so the same input gives the same output everywhere you call it.

## Questions

**What do I need to install to use Kerykeion?**

Kerykeion: Pure Python by default; Swiss Ephemeris backend optional and needs a C compiler. AstroNode API: Nothing to compile; an API key and an HTTP client. Checked 2026-12-01.

**Does Kerykeion calculate dashas?**

Kerykeion: Vimshottari lord of the nakshatra; dasha periods not documented. AstroNode API: Vimshottari, Yogini, Char. Checked 2026-12-01.

**Does Kerykeion support KP sub-lords?**

Kerykeion: Not documented. AstroNode API: Cuspal sub-lord chain, significators, horary 1-249. Checked 2026-12-01.

**Does Kerykeion do kundli matching?**

Kerykeion: Western synastry and a compatibility score; Vedic matching not documented. AstroNode API: Ashtakoot, Dashakoot, Porutham, batch scoring. Checked 2026-12-01.

**Does Kerykeion handle time zones and historical offsets?**

Kerykeion: Yes - IANA zones, DST ambiguity, Local Mean Time. AstroNode API: You send the offset in force at birth; no zone-name lookup. Checked 2026-12-01.
