← Self-hosting vs an API

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 compared with the AstroNode API, checked 1 December 2026
 Kerykeion (self-hosted)AstroNode API
Language / runtimePython 3.12 or newer sourceAny language: HTTPS + JSON, OpenAPI 3.1 spec details
Install and native buildPure Python by default; Swiss Ephemeris backend optional and needs a C compiler sourceNothing to compile; an API key and an HTTP client details
Planet positionsYes - planets, houses, axes, lunar phase sourceSidereal and tropical, from Swiss Ephemeris data files details
House systemsPlacidus default; every system the backend supports sourceWhole-sign (Vedic), Placidus (KP), five Western systems details
Sidereal / ayanamsa47 named sidereal modes plus a custom one sourceFixed per tradition: Lahiri, KP-Newcomb, tropical details
DashasVimshottari lord of the nakshatra; dasha periods not documented sourceVimshottari, Yogini, Char details
Divisional charts (vargas)Not documented16 vargas in one call, plus D150 details
KP sub-lordsNot documentedCuspal sub-lord chain, significators, horary 1-249 details
PanchangNot documentedTithi, nakshatra, yoga, karana, sunrise, muhurta windows details
YogasNot documented55 classical yogas with reasons details
Kundli matchingWestern synastry and a compatibility score; Vedic matching not documented sourceAshtakoot, Dashakoot, Porutham, batch scoring details
Ephemeris data you shipJPL DE440s bundled for 1850-2150; wider tiers are downloads sourceNone on your side
Time zones and historical offsetsYes - IANA zones, DST ambiguity, Local Mean Time sourceYou send the offset in force at birth; no zone-name lookup details
Maintenance signalActive: 6.1.0 on PyPI, 12 Nov 2026; v6 is a migration from v4/v5 sourceHosted; changes published in the changelog details
Stated accuracyBackends agree within 1′ for major planets (backend vs backend) sourceMeasured 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

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