AstroWay/api v2.325.2 · vi
tất cả hệ thống hoạt động bình thường

How Accurate Is the Swiss Ephemeris? Verified Benchmarks

Swiss Ephemeris accuracy in numbers, and how a hosted API measures up: 231 of 231 positions within tolerance against NASA JPL Horizons, a median 0.0013 arcsecond against the swetest reference output, exact house cusps, eclipses within a minute.

Short answer: the Swiss Ephemeris is built to sub-arcsecond precision, and that is the bar a hosted astrology API has to meet. AstroWay’s positions are checked against NASA JPL Horizons (231 of 231 within tolerance, median 0.052″) and against the swetest reference output from Astrodienst (median 0.0013 arcsecond, maximum 0.561″, Chiron), plus the NASA eclipse catalog. The numbers below are what we actually measure, not marketing claims.

The Swiss Ephemeris is the C library from Astrodienst (the people behind astro.com), derived from NASA JPL’s DE431 ephemeris. It sits inside professional desktop software - Solar Fire, Kepler, Janus, Astro Gold - that astrologers have trusted for 30+ years, and swetest is its command-line reference program. AstroWay is a hosted alternative: positions are computed on our own servers, with no upstream API, and served over REST, so you get that precision without installing a C extension or shipping ephemeris data files.

WhatDriftReference
Planetary positions231 of 231 within tolerance, median 0.052″NASA JPL Horizons
Planetary positionsmedian 0.0013″, maximum 0.561″ (Chiron)Astrodienst swetest CGI
Placidus house cusps0.000″ (exact match)swetest
Eclipses< 1 minuteNASA 5-Millennium Eclipse Catalog
Astrocartography (ACG) lines< 1.5 km at the equatorswetest
Sunrise / sunset< 10 secondstimeanddate.com
Moon void-of-course, ingresses, conjunctionssub-secondswetest

Two layers:

  1. Cross-checks. Positions are measured against NASA JPL Horizons, and core calculations are compared with three independent references - the swetest reference output from Astrodienst, Kerykeion, and Prokerala - plus the NASA 5-Millennium Canon of Solar Eclipses. When sources disagree, the divergence is documented rather than hidden.
  2. Regression snapshots. 888 snapshot tests pin the output of the calculation endpoints. Every pull request re-runs them against the live swetest CGI and the NASA catalog, so a drift can’t slip into production unnoticed.

The full methodology and per-endpoint divergences live on the accuracy page.

The Swiss Ephemeris has three precision modes. The full JPL-derived mode is the default. The built-in Moshier mode trades a little precision (still well under an arcsecond for most use) for not needing data files - fine for a horoscope app, overkill to worry about for a research tool that needs the JPL path. With AstroWay there is no mode to pick: dates from 1800 to 2399 come back better than 0.01″, and outside that range at about 0.1″.

Is the Swiss Ephemeris accurate enough for professional astrology? Yes - it’s the engine inside Solar Fire and Kepler, and sub-arcsecond precision is far below anything a chart interpretation can resolve.

How does AstroWay differ from running pyswisseph myself? No install. You skip compiling a C extension and shipping ephemeris files; you make an HTTPS call instead, and the positions are measured against JPL Horizons and the swetest reference output. See REST vs library.

Can I see the verification data? Yes - the accuracy page lists the references and per-endpoint divergences, and the regression suite runs on every change.

MakSeong · AstroWay

Tôi làm AstroWay API: gói phép tính chiêm tinh chính xác tới giây cung vào REST thuần và viết về những chi tiết nhàm chán nhưng thực sự quan trọng.

// xây dựng trên nền tảng này

Vị trí chính xác tới giây cung, chỉ trong 4 dòng code.

Khóa API miễn phí không cần thẻ. 5.000 lượt gọi/tháng trước lần thanh toán đầu tiên.

Thêm từ blog tất cả bài viết →

Ephemeris 2026-07-19

Cách chúng tôi kiểm soát độ chính xác: CI đối chiếu với swetest và NASA

Độ chính xác của một astro API rất dễ xuống cấp chỉ sau một lần refactor ephemeris. Chúng tôi phân tích cơ chế bảo vệ: một lõi Swiss Ephemeris chung cho ứng dụng và API, hàng trăm snapshot đóng băng trên các bản đồ sao chuẩn, và đối chiếu ba chiều mỗi PR với swetest CGI, Kerykeion, Prokerala và danh mục nhật nguyệt thực của NASA.

Engineering 2026-07-15

Ba SDK chính thức: TypeScript, Python, PHP thay vì curl thô

HTTP thô hoạt động, nhưng client có kiểu dữ liệu tiết kiệm giờ: tự động hoàn thiện đường dẫn, kiểu yêu cầu và phản hồi, retry tích hợp cho 408/409/429/5xx và Stainless-style hệ thống lỗi. Xem xét ba SDK chính thức - @astroway/sdk (npm), astroway (PyPI), astroway/sdk (Packagist) - và cách chúng được tạo từ một OpenAPI contract.

Industry 2026-06-05

Free Astrology API: Which One Has the Best Free Tier in 2026?

A side-by-side of free tiers across the major astrology APIs - credits, request caps, card requirements - and how much you can actually build for free.