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.
Every Kerykeion fact below links the page it was read from on .
Honestly
Where 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
What you get vs what you build
| Kerykeion (self-hosted) | AstroNode API | |
|---|---|---|
| Language / runtime | Python 3.12 or newer source | Any language: HTTPS + JSON, OpenAPI 3.1 spec details |
| Install and native build | Pure Python by default; Swiss Ephemeris backend optional and needs a C compiler source | Nothing to compile; an API key and an HTTP client details |
| Planet positions | Yes - planets, houses, axes, lunar phase source | Sidereal and tropical, from Swiss Ephemeris data files details |
| House systems | Placidus default; every system the backend supports source | Whole-sign (Vedic), Placidus (KP), five Western systems details |
| Sidereal / ayanamsa | 47 named sidereal modes plus a custom one source | Fixed per tradition: Lahiri, KP-Newcomb, tropical details |
| Dashas | Vimshottari lord of the nakshatra; dasha periods not documented source | Vimshottari, Yogini, Char details |
| Divisional charts (vargas) | Not documented | 16 vargas in one call, plus D150 details |
| KP sub-lords | Not documented | Cuspal sub-lord chain, significators, horary 1-249 details |
| Panchang | Not documented | Tithi, nakshatra, yoga, karana, sunrise, muhurta windows details |
| Yogas | Not documented | 55 classical yogas with reasons details |
| Kundli matching | Western synastry and a compatibility score; Vedic matching not documented source | Ashtakoot, Dashakoot, Porutham, batch scoring details |
| Ephemeris data you ship | JPL DE440s bundled for 1850-2150; wider tiers are downloads source | None on your side |
| Time zones and historical offsets | Yes - IANA zones, DST ambiguity, Local Mean Time source | You send the offset in force at birth; no zone-name lookup details |
| Maintenance signal | Active: 6.1.0 on PyPI, 12 Nov 2026; v6 is a migration from v4/v5 source | Hosted; changes published in the changelog details |
| Stated accuracy | Backends agree within 1′ for major planets (backend vs backend) source | Measured in CI vs NASA JPL Horizons: Moon 3.1″, planets ≤ 0.5″ (1900-2050) details |
“Not documented” means the project's own README and docs do not describe it - not that it is impossible to build on top.
On top
What you would still write with Kerykeion
- 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.
Operations
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 and the time-zone guide.
Accuracy
What the numbers say
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.
And
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.
Kerykeion or an API: quick answers
- 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.
Sources
Quoted from Kerykeion's own pages
- Language / runtime: “Kerykeion requires Python 3.12 or newer.” - https://github.com/g-battaglia/kerykeion
- Install and native build: “Requires C compiler” - https://www.kerykeion.net/python-library/docs/v6/backend_precision_comparison
- Planet positions: “It computes planetary and house positions, detects aspects, and generates SVG charts” - https://github.com/g-battaglia/kerykeion
- House systems: “Placidus by default and all systems supported by the active backend” - https://github.com/g-battaglia/kerykeion
- Sidereal / ayanamsa: “47 named modes plus the custom USER mode” - https://github.com/g-battaglia/kerykeion
- Dashas: “Nakshatra, pada, and Vimshottari lord with an explicit ayanamsa” - https://github.com/g-battaglia/kerykeion
- Kundli matching: “Ciro Discepolo compatibility score with contributing aspects” - https://github.com/g-battaglia/kerykeion
- Ephemeris data you ship: “The default reviewed ephemeris tier uses JPL DE440s and covers 1850–2150.” - https://github.com/g-battaglia/kerykeion
- Time zones and historical offsets: “a modern fixed UTC offset cannot reproduce historical or DST rules.” - https://github.com/g-battaglia/kerykeion
- Maintenance signal: “Before upgrading from v4 or v5, read the v6 release notes” - https://github.com/g-battaglia/kerykeion
- Stated accuracy: “differences stay below 1 arcminute for the major planets.” - https://www.kerykeion.net/python-library/docs/v6/backend_precision_comparison
- Release: “"upload_time": "2026-11-12T12:05:44"” - https://pypi.org/pypi/kerykeion/json
- Precision metadata: “High precision depends on body, date, active data tier, and source.” - https://github.com/g-battaglia/kerykeion
- Ambiguous local times: “Leaving it unset raises instead of guessing.” - https://github.com/g-battaglia/kerykeion
Kerykeion is named only to identify the project. Values were read from public pages on 1 December 2026; projects change, so check their pages before you decide, and tell us if anything here is out of date.
Other options: Swiss Ephemeris · pyswisseph · Flatlib · PyJHora