Comparisons

Astrology API vs Astrodienst: Full Comparison (May 2026)

Astrology API vs Astrodienst (astro.com): pricing, Swiss Ephemeris licensing, API access, accuracy. Pick the right path for your build.

OK

Oleg Kopachovets

CTO & Co-Founder

May 10, 2026
12 min read
237 views
Astrology API vs Astrodienst comparison
Astrology API vs Astrodienst comparison
0%
Let's start with what Astrodienst actually is, because the framing matters. Astrodienst AG — based in Zollikon, Switzerland, operating astro.com since the 1990s — is the institution that created Swiss Ephemeris, the calculation engine that powers almost every serious astrology API on the market, including ours.
This comparison is therefore unusual. Astrology API and most of our competitors all stand on Astrodienst's shoulders. The question is not "who's more accurate" — accuracy is downstream of Swiss Ephemeris in every case. The real question is: what API access does Astrodienst offer, and when does it make sense to license Swiss Ephemeris directly versus consume a managed API?
Verified: May 10, 2026. Swiss Ephemeris license pricing comes from astro.com/swisseph/swephprice_e.htm. Astrology API pricing is from our own pricing page.

TL;DR

AttributeAstrology APIAstrodienst
Product typeManaged REST APILibrary license + consumer site
Calculation engineSwiss Ephemeris + customSwiss Ephemeris (originator)
Public REST APIYesNot a public commercial API
Self-hosting requiredNoYes (you integrate Swiss Ephemeris yourself)
Endpoint count100+N/A — function library
House systems23All known systems
Response time~287msDepends on your server
Free tier50 req/mo, no cardSwiss Ephemeris under AGPL is free; commercial use requires a paid license
Paid plans$11 / $37 / $99 / $399+ /moCHF 750 one-time first license, CHF 400 each additional, valid 99 years
AI interpretationsYes (multilingual)No
Languages9+ nativeN/A (data only)
Output formatJSON + report formatsFunction calls returning C/Python/Java data structures
Multi-traditionWestern, Vedic, Chinese, HellenisticWestern + Vedic primitives via library
Best fitApp developers who want to ship in daysSoftware vendors building desktop astrology suites

What each provider is

Astrology API is a commercial REST API at astrology-api.io. It exposes 100+ calculations as HTTP endpoints, ships SDKs in five languages, runs on a CDN-fronted edge network with ~287ms average response times, and includes AI interpretation endpoints. You pay monthly in USD, you get a key, you call endpoints. It is purpose-built for application developers.
Astrodienst is a Swiss astrology institution founded in 1981. They run astro.com (one of the most-trafficked astrology sites in the world), publish the long-running Liz Greene and Robert Hand reports, and — most importantly for developers — they author and maintain Swiss Ephemeris, the de facto astronomical calculation library for astrology software. Swiss Ephemeris is derived from NASA JPL DE431/DE441 ephemerides with corrections applied by Astrodienst's own team. It is, by any honest assessment, the standard.

Astrodienst does not publish a commercial REST API for third-party developers. What they offer instead is the Swiss Ephemeris library itself, available under two licenses:

  1. AGPL-3.0 — free, but any software that calls the library over a network (which is essentially any web app or API) must release its full source code under AGPL.
  2. Professional License — paid one-time license that permits closed-source commercial use.

So the comparison is less "API vs API" and more "managed API vs self-hosted library." Both paths are valid; they serve different teams.

Pricing in detail

Astrology API pricing is monthly, USD, request-based:
  • Free: $0/mo — 50 requests, no credit card
  • Starter: $11/mo — 1,000 requests
  • Professional: $37/mo — 55,000 requests
  • Business: $99/mo — 220,000 requests, all endpoints
  • Enterprise: $399+/mo — custom, dedicated servers

Billing is direct. There are no marketplace fees, no credit-cost arithmetic, and no per-endpoint multipliers.

Astrodienst Swiss Ephemeris pricing is one-time, Swiss Francs, library-license-based. From astro.com/swisseph/swephprice_e.htm (verified May 10, 2026):
  • First Professional License: CHF 750 (≈ $830 USD at May 2026 rates)
  • Each additional license to the same licensee: CHF 400 (≈ $443 USD)
  • License duration: 99 years
  • What you get: The right to use Swiss Ephemeris in proprietary, closed-source software, plus the right to display "Swiss Ephemeris Inside" on your product
Important details on the licensing process: you download a contract from astro.com, fill it out, sign it, mail or email it to Astrodienst AG (Dammstr. 23, 8702 Zollikon, Switzerland — yes, this is the published process). You pay via their online shop. They countersign and send the contract back. You download the software from the public GitHub repository at github.com/aloistr/swisseph.

This is genuinely good value for a long-lived desktop astrology product: pay once, ship for the lifetime of your business, no recurring infrastructure cost beyond what you spend running your own servers. It is genuinely heavy lift for a 2026 SaaS app: you operate the math infrastructure yourself, you handle ephemeris file storage (several GB), you build your own REST layer, you write your own SDKs.

Direct dollar comparison is misleading. A Professional Swiss Ephemeris license is roughly the cost of one year of our Business plan, plus you still need infrastructure, plus developer time. A managed API is the cost of buying time-to-market. Pick based on what you're optimizing for.

Endpoint coverage

Astrology API exposes around 100 distinct endpoints organized by tradition and technique. From the natal side: birth charts with chart shape, sect, dignities, midpoints, fortune/spirit, 97+ Arabic parts, fixed-star conjunctions, antiscia, declination aspects. Time-based: transits, secondary progressions, solar arc, primary directions, profections, zodiacal releasing, returns. Synastry, composite, Davison. Harmonic charts. Asteroids and TNOs. Vedic dashas and divisional charts. Chinese BaZi. AI interpretations in nine-plus languages. Electional helpers like void-of-course Moon and planetary hours.
Astrodienst / Swiss Ephemeris is a function library, not an API. The exposed primitives are powerful and dense:
  • swe_calc_ut() — planetary positions for any moment
  • swe_houses() and swe_houses_armc() — house cusps in all known systems (Placidus, Koch, Regiomontanus, Campanus, Equal, Whole-Sign, Porphyry, Morinus, Topocentric, Alcabitius, and more)
  • swe_fixstar_ut() — fixed-star positions and aspects
  • swe_get_planet_name() — including asteroids, TNOs, centaurs
  • Ayanamsa selection across ~20 sidereal systems
  • Heliocentric, topocentric, barycentric coordinate frames
  • Lunar nodes (true/mean), Lilith (true/mean/corrected), and Chiron handling

Everything else — interpretations, Arabic parts, dashas, synastry aspect tables, the AI layer — you write yourself, on top of these primitives. The library gives you raw correctness. Turning correctness into product is your job.

If you've ever wondered why APIs can build differentiated features on top of "the same" Swiss Ephemeris: this is why. The core math is shared. The product layer is where vendors compete.

Performance & accuracy

We need to be very direct here: Astrodienst is the source of Swiss Ephemeris, and Swiss Ephemeris is the accuracy standard. Astrology API uses Swiss Ephemeris under the hood. The accuracy of our planetary positions is the accuracy of Swiss Ephemeris, which is derived from NASA JPL DE431/DE441 with Astrodienst's corrections applied. There is no measurable accuracy gap, because the calculations are not different calculations — they're the same calculations.

What Astrology API adds on top: optimized server-side caching of ephemeris data, edge-network distribution for low latency, derived calculations (Arabic parts, fixed stars, dashas, profections) that Astrodienst leaves to the implementer.

Performance. Astrology API averages ~287ms response time globally from a CDN-fronted infrastructure. If you license Swiss Ephemeris and host it yourself, your response time depends entirely on your own server: in-process calculations on a modern VM run in single-digit milliseconds, but you still have your own HTTP overhead, your own DB queries, your own cache hits/misses. Teams who do this well can match or beat any managed API. Teams who under-invest in infrastructure can also be 2–3 seconds slower. The variance is your variance.
Edge cases. A few accuracy notes that matter:
  • Date range. Swiss Ephemeris covers roughly 13,000 BC to AD 17,000. We expose the full range. If you need pre-Christian or far-future charts (mundane research, deep electional work), both providers handle it.
  • Asteroid orbits. Long-period asteroids drift; Swiss Ephemeris updates its data files periodically. Astrology API stays current on the data files automatically. Self-hosted users have to remember to update.
  • Topocentric vs geocentric. Astrodienst's library lets you pick; we expose it as a parameter.

Developer experience

Astrology API. Get a key in two clicks, copy a code sample, render a chart in five minutes. Official SDKs in JavaScript, Python, Ruby, PHP, Go, and Swift. OpenAPI spec, Postman collection, interactive docs with live examples. Dashboard with usage analytics, error logs, key rotation, IP allow-lists, hard spending caps.
Astrodienst / Swiss Ephemeris. The library is C, with official wrappers in Java, Python, Perl, and several community bindings. Documentation is dense, technical, written for software engineers and astronomers. The "swisseph documentation" PDF is several hundred pages of function signatures, edge cases, and licensing notes. It is excellent and authoritative — but it assumes you know what an ayanamsa is, that you've handled timezones in production, and that you're comfortable managing ephemeris data files of several gigabytes.

To ship a product on Swiss Ephemeris, you need: a C/Python/Java engineer comfortable with the library, a deployment story for the ephemeris files (large binaries, version-pinned), an HTTP layer if you want a network API, a caching strategy, and ongoing maintenance. Many serious astrology software vendors have built fantastic products this way. Many app developers under-budget the work.

Honest assessment. If your team has the appetite and skill, owning Swiss Ephemeris directly gives you ultimate control and zero per-request cost. If your team's strength is the user-facing product and you don't want to staff infrastructure for an astronomical library, a managed API saves you months.

When to choose Astrology API

Pick Astrology API if you need:

  • A REST endpoint you can call from a JavaScript front-end, a Swift app, or a Lambda function — without operating any infrastructure
  • AI interpretations built in, multilingual, no separate LLM bill
  • Vedic, Chinese, and Hellenistic calculations alongside Western — covered in one API
  • Sub-300ms response times globally without spinning up your own CDN
  • Predictable monthly pricing in USD
  • Time-to-market measured in days, not quarters
  • A vendor that ships interpretive endpoints, not just astronomical primitives

It's also the right call if you simply don't want to think about Swiss Ephemeris data file updates, leap seconds, or ayanamsa configuration. We handle that. You build your app.

When to choose Astrodienst (Swiss Ephemeris)

Be honest with yourself here. Astrodienst is the institutional originator of the calculation standard that every commercial astrology API depends on. They have done the work of carrying Swiss Ephemeris forward for decades, including the unglamorous parts: data file updates aligned with NASA's JPL ephemeris revisions, edge-case bug fixes, long-term archival. The astrology software industry exists because Astrodienst exists.

Pick a direct Swiss Ephemeris license from Astrodienst if:

  • You're building a desktop astrology application (Solar Fire, Janus, Kepler, TimePassages-class software) where calls are local and per-request API pricing doesn't fit
  • You're a software vendor with a 5–20 year product horizon and the one-time license amortizes to nearly zero per-year cost
  • You have engineers comfortable with C/Python and astronomical math and you want full control over precision, ephemeris range, and custom techniques not available in any managed API
  • Your product must work fully offline — research tools, academic software, locally-installed astrology suites
  • You're contributing to astrology research or academic publication and need full reproducibility of the underlying math
  • Your legal/procurement prefers one-time perpetual licenses over recurring SaaS

A direct Swiss Ephemeris license is also the right call when your downstream product's competitive edge is something other than astrology — say, you're a wellness platform integrating natal chart features as one of many tools, and you want them on-premise. Astrodienst gives you ownership.

Finally: if you build a serious astrology software product on Swiss Ephemeris, support Astrodienst. Buy the Professional License. Display "Swiss Ephemeris Inside." The industry runs on their work.

Migration notes

Migrating between a managed API and a self-hosted library is the rare case where the migration is mostly an architectural decision, not a code change.

From Astrology API to self-hosted Swiss Ephemeris: Plan for 4–12 engineer-weeks. You'll license Swiss Ephemeris (CHF 750), set up the ephemeris data files, build a REST wrapper around the library calls, port your input/output adapters, replace AI interpretation endpoints (either build them yourself with an LLM, or drop the feature), and stand up your own monitoring. Realistic timeline: a quarter for a small team to reach feature parity for the basic endpoints. Months more for parity on dashas, AI, and the rarer calculations.
From self-hosted Swiss Ephemeris to Astrology API: Days, not weeks. Swap your internal function calls for HTTP requests. The data shapes are similar (planet name, longitude, latitude, retrograde flag, house). The big work is on the parts you'd built yourself — Arabic parts, AI interpretations — where you can now delete code.
Hybrid approach: Some teams use Swiss Ephemeris locally for batch jobs and Astrology API for real-time user-facing calls. This is a reasonable architecture if you have both workloads.

FAQ

Does Astrodienst offer a public REST API I can subscribe to?

Not as of May 10, 2026. Astrodienst publishes Swiss Ephemeris as a library and sells commercial licenses for it. They do not, on astro.com or astro.com/swisseph, advertise a managed REST API with monthly pricing. If you want a REST API, you either license Swiss Ephemeris and build your own, or you consume a managed API from a vendor like us.

Is Swiss Ephemeris really the same data NASA uses?

Swiss Ephemeris is derived from NASA JPL's DE431 (and more recently DE441) planetary ephemerides, with corrections and additional features applied by Astrodienst. The orbital math is the same NASA math. The library wraps it with the conveniences astrology software needs: house cusps, ayanamsas, fixed stars, asteroid catalogs.

How much does a Swiss Ephemeris commercial license cost in 2026?

From astro.com/swisseph/swephprice_e.htm (verified May 10, 2026): CHF 750 for the first Professional License, CHF 400 for each additional license to the same licensee. Each license is valid for 99 years. At May 2026 exchange rates, that's roughly $830 USD and $443 USD respectively. This is a one-time fee, not recurring.

Can I use Swiss Ephemeris for free?

Yes, under AGPL-3.0. The catch: if your software calls Swiss Ephemeris over a network — which includes any web app, API, or SaaS — you must release your full source code under AGPL or a compatible license. Most commercial products can't accept that, which is why the Professional License exists.

Is Astrology API just a wrapper around Swiss Ephemeris?

The core planetary math is Swiss Ephemeris. Astrology API adds: 23 house systems exposed via clean API enums, 97+ Arabic parts implementations, fixed-star and asteroid conjunction logic, Vedic dasha calculations, BaZi Chinese chart calculations, AI interpretation endpoints across 9+ languages, edge-network distribution, request-based billing, SDKs in five languages, and a hosted dashboard. "Just a wrapper" is technically true for the planetary math; the product layer is substantial.

Should I trust Astrodienst's data files over a managed API's data?

Yes, and so does the managed API. Astrology API uses the official Swiss Ephemeris data files, kept current with Astrodienst's releases. The accuracy question is moot — we use their data.

Last verified May 10, 2026. Swiss Ephemeris pricing and licensing terms from astro.com/swisseph/swephprice_e.htm and the Professional License contract (Edition August 2022). For full context on the 15-provider landscape, see our astrology API comparison guide.
Oleg Kopachovets

Oleg Kopachovets

CTO & Co-Founder

Technical founder at Astrology API, specializing in astronomical calculations and AI-powered astrology