Frequently asked questions
68 questions about the AstroNode API, each answered on the page it belongs to and gathered here. Error codes have their own pages under errors and troubleshooting.
The API
- How accurate are the planetary positions?
- Sub-arcminute, and checked. Positions come from Swiss Ephemeris with its full data files, and a test in our CI compares the Sun, Moon and five planets with NASA JPL Horizons at eight dates from 1900 to 2099. For the six dates from 1900 to 2026 every body agreed within 0.3 arc-seconds; at the 2050 date the largest difference was 3.1 arc-seconds for the Moon and 0.5 arc-seconds or less for every planet. The test fails if any date before 2050 is off by more than 4 arc-seconds for the Moon or 1 for a planet. Vedic and KP charts then subtract a fixed ayanamsa, so a chart from another app that uses a different ayanamsa differs by that convention, not by error. Same input + engine version produces byte-identical output.
- What ayanamsa and house system do you use?
- It is fixed per tradition, not a request option: Lahiri ayanamsa with whole-sign houses on the Vedic endpoints, KP-Newcomb with Placidus cusps on the KP endpoints, and tropical positions on the Western endpoints, which take a house_system field. Each response's meta block names the convention used.
- Where is birth data stored?
- By default we do not persist birth inputs beyond the request lifecycle - only request hashes for debugging. Reports the user explicitly saves are stored for 30 days, then purged. DPDP-aligned and GDPR-aligned.
- Can I run AstroNode on-prem or self-hosted?
- Not yet. The engine is a workspace package today; we may publish it as a standalone binary in the future. Custom-plan customers with compliance requirements can talk to us about on-prem deployment.
- Do you support refunds?
- Yes. Pro-rata refund within 14 days of paid subscription, provided you have not exceeded the free-tier quota during the billing period. See the refund policy for the full terms.
- What does BPHS-canonical mean for compatibility scoring?
- Brihat Parashara Hora Shastra is the source text most modern Vedic software pins to. Our compatibility scoring follows BPHS verses 5–7 for the Ashtakoot tables and applies the canonical half-marks cancellation rule. Every koot exposes both the raw initial score and the post-cancellation score so callers can render either.
Pricing and billing
- Can I switch tiers any time?
- Yes. Upgrades take effect immediately and are prorated; downgrades take effect at the next billing cycle so you keep your current quota until then.
- Is GST charged on top of these prices?
- Yes - Indian customers pay GST per state. CGST + SGST for Maharashtra-billed accounts; IGST for inter-state. International customers see USD prices without GST.
- What if I exceed my quota?
- At 80% you'll see a banner in the dashboard. At 100% calls return 429 until you upgrade or the next billing cycle starts. No surprise overage charges.
- Do you offer annual discounts?
- Not yet - annual billing is on the roadmap. Pro and Custom contracts can be negotiated annually via /contact.
- Refunds?
- A pro-rata refund within 14 days of payment, provided you have not used more than the free-tier quota of 1,000 requests in the billing period. See /refund-policy for the full terms.
Accuracy
- How accurate are AstroNode's planet positions?
- Measured against NASA JPL Horizons: within 0.3 arc-seconds for every body at six dates from 1900 to 2026, within 3.1 arc-seconds for the Moon and 0.5 for the planets at a 2050 date, and within 13.8 and 1.5 at the end of 2099.
- Is the accuracy figure checked, or just claimed?
- Checked. The comparison runs in CI on every change and fails if any date before 2050 is off by more than 4 arc-seconds for the Moon or 1 for the Sun or a planet. The table on this page is regenerated from the same test data.
- Why does my chart still differ from another program?
- Almost never because of the ephemeris. A difference of about 24° is tropical against sidereal; a few arc-minutes is a different ayanamsa; a different ascendant with matching planets is the time zone. The troubleshooting page walks through each.
More: How accurate the positions are, measured against NASA JPL Horizons →
Methodology
- Which classical text does the Vedic engine follow?
- Brihat Parashara Hora Shastra: chapter 4 for the divisional charts and chapter 76 for the Ashtakavarga tables, with the Lahiri ayanamsa and whole-sign houses.
- Can I change the ayanamsa or house system?
- Not on the Vedic, KP or Lal Kitab endpoints: each uses the convention its tradition expects and names it in
meta. Western endpoints take ahouse_systemfield with five options. - What does AstroNode approximate?
- Shadbala holds several sub-components at fixed averages; transit event times are accurate to the sampling step; and the remedy catalogues have not yet had a practising astrologer's review. Each response that is affected says so.
More: Methodology: the sources and conventions behind every calculation →
Security
- Does AstroNode store birth data?
- Not for the calculation endpoints: birth inputs are not persisted by default, and only a request hash and the engine version are kept for debugging. Reports you explicitly save in the dashboard are stored for 30 days. The AI chat endpoints store conversations.
- How are API keys stored?
- As an Argon2id hash plus a short prefix used for lookup. The full key is shown once when it is created and cannot be retrieved afterwards.
- Can I call the API directly from a mobile app or browser?
- You should not. A key shipped in an app or a browser bundle can be extracted. Call the API from your own backend and return only what the screen needs.
Support
- What should I include in a support request?
- The
request_idfrom the response, the endpoint, the request body with the API key removed, what you expected and what you got. Therequest_idis on every response, including errors. - Is there an uptime commitment?
- Starter and Pro carry availability targets: "Email support · 99.5% SLO" and "Priority support · 99.9% SLO". If a target is missed in a billing cycle, the refund policy provides a service credit. A contractual SLA is part of the Custom plan.
About
- Who builds AstroNode?
- A small team in India. The same company makes Astroniq, a consumer astrology app that runs on this API, and AstroKendra, practice software for working astrologers.
- Is AstroNode used in production anywhere?
- Yes. Astroniq, our own consumer app, computes its charts through this API.
Calculations
How each calculation works
Which ayanamsa the API uses - and how to match other software
- Which ayanamsa does the AstroNode API use?
- Lahiri on the Vedic endpoints, KP-Newcomb on the KP endpoints, and none on the Western endpoints, which are tropical. Each response names the convention it used in
meta. - Can I choose the ayanamsa per request?
- No. There is no request field for it: the birth input accepts exactly
date,time,tz_offset_minutes,latandlng, and anything else is rejected with400 VALIDATION_ERROR.
House systems: whole-sign, Placidus and the rest
- Which house system do the Vedic endpoints use?
- Whole-sign: the entire sign holding the ascendant is the 1st house, the next sign the 2nd, and so on. The exact ascendant degree is still returned, as a point inside the 1st house rather than a cusp.
- What happens to Placidus or Koch houses near the poles?
- Above the polar circles some cusps are undefined for some births. The API does not invent cusps or silently switch systems: the request returns
400 VALIDATION_ERRORsaying so.
Birth time, time zones and historical offsets
- Does the API accept a time-zone name such as Asia/Kolkata?
- No. You send
tz_offset_minutes: the offset in force at the moment of birth, east positive (IST is 330). The schema is strict, so atimezonefield is rejected rather than silently ignored. - Does the API apply daylight saving time for me?
- No. It converts with UT = local time -
tz_offset_minutesand does not look up time-zone names or daylight-saving rules. You send the offset that applied at that place on that date.
How the Vimshottari dasha is calculated
- How long is a full Vimshottari dasha cycle?
- 120 years: nine planetary periods (mahadashas) that always run in the same order.
- How is the dasha balance at birth calculated?
- From how far the Moon has moved through its nakshatra. The nakshatra lord's period is shortened by the fraction already elapsed; the API reports the result as
birth_balance. - How many dasha levels does the API return?
- Five. Every period divides into nine sub-periods in the same proportions as the whole cycle, starting with its own lord, and the API goes five levels deep.
How the Ashtakoot (Gun Milan) score is calculated
- What do the Ashtakoot score bands mean?
- Out of 36 points: 28 or more is Excellent, 24 to 27 Good, 18 to 23 Moderate, and below 18 Poor.
POST /v1/compatibilityreturns the band asbucket. - Does it matter which chart is sent as the groom's?
- Yes. Classical Ashtakoot is not symmetric: Varna and Gana score differently depending on which chart is the groom's, so the same couple sent in the other order can get a different total.
- Does Mangal dosha change the 36-point score?
- No. It is reported separately as
manglik_matchand does not change the total, so keep the two apart in your interface.
Determinism: same input, same output
- Is it safe to cache AstroNode API responses?
- Yes for calculations: the same input produces the same
data, byte for byte, so responses can be cached by request body. Endpoints that default to the current time need the moment passed explicitly. - How do I make a tarot draw reproducible?
- Pass your own
seed(a string of 1 to 120 characters) toPOST /v1/tarot/draw. Without one, the draw is shuffled with a fresh random seed each time.
Yogini and Char dasha: the arithmetic behind the periods
- Which dasha systems does the public API serve?
- Three: Vimshottari, Yogini and Char.
POST /v1/dasha/lookupanswers what is running on a given date for any of them. Ashtottari and Kalachakra exist in the engine, but no route serves them. - How long is the Yogini dasha cycle?
- 36 years: eight yoginis with periods of 1 to 8 years.
How the API computes divisional charts
- Is there one formula for every divisional chart?
- No. A single continuous formula is right for D1, D12 and D60 and wrong for most other divisions. The engine applies a separate rule per division, following Brihat Parashara Hora Shastra chapter 4.
- How wide is one navamsa?
- 3°20′. The navamsa (D9) cuts each 30° sign into nine equal parts.
KP sub-lords: from a longitude to four lords
- How are KP sub-lords derived?
- Each 13°20′ nakshatra is divided into nine subs whose widths follow the Vimshottari years: a lord with
yyears getsy / 120of the nakshatra. The first sub belongs to the nakshatra's own lord. - Which house system and ayanamsa do the KP endpoints use?
- Placidus cusps with the KP-Newcomb ayanamsa.
POST /v1/kp/house-cuspsreturns 12 cusps, each resolved to its sign, star, sub and sub-sub lords.
Nadiamsa (D150): 150 parts per sign, and why minutes matter
- How large is one Nadiamsa?
- 0.2° (0°12′). Each sign is split into 150 equal parts, which makes 1,800 across the zodiac.
- How accurate does the birth time need to be for D150?
- One Nadiamsa is about 48 seconds of ascendant motion, so a birth time that is two minutes out moves the ascendant to a different Nadiamsa.
Lal Kitab: fixed houses, debts and remedies as data
- Does the ascendant decide the houses in Lal Kitab?
- No. The Lal Kitab kundli is fixed: Aries is always house 1 and Pisces house 12, whatever is rising. A planet's
lal_kitab_houseis simply its sign number. - How many Lal Kitab remedies does the API hold?
- 54: six per planet, each with a stable
idsuch asmercury-01. The response carries the full catalog andtriggered, the subset that applies to the chart.
Sunrise in the panchang: which sunrise, and what hangs on it
- Which definition of sunrise does the panchang use?
- The moment the top edge of the Sun's disc reaches the horizon, with standard atmospheric refraction, for an observer at sea level at the request's
latandlng. - Are panchang times returned in local time?
- No. Every instant is an ISO 8601 UTC string.
tz_offset_minutesdecides which local day is meant; it does not change the output format, so convert for display yourself.
Muhurta windows: Rahu Kaal, Abhijit and hora, computed
- How is Rahu Kaal calculated?
- Daylight, from sunrise to sunset at the request's place and date, is divided into eight equal slots and one slot is chosen by weekday. Yamaganda and Gulika use the same eighths.
- Is a hora always one hour long?
- No. Daylight is split into 12 horas and the night into 12 more, so day and night horas have different lengths that change with the season and the place.
Transits (gochara): computing ingresses and transit windows
- How precise are transit event timestamps?
- As precise as the sampling step. The engine samples every
step_days(default 1, maximum 90) and stamps an event at the first sample after the change, so an event can be up to one step late. - Which zodiac do transit events use?
- Sidereal with the Lahiri ayanamsa; the response says so in
meta.ayanamsa.
Retrograde and combustion: how the API decides
- How does the API decide that a planet is retrograde?
- By the sign of its speed:
retrogradeis true when the planet's geocentric longitude is decreasing at that instant. There is no threshold and no separate stationary state. - How is combustion decided?
- A planet is
combustwhen it is within a fixed angular distance of the Sun. The orb is different for each planet.
Ashtakavarga: how the bindu tables are built
- What should the Sarvashtakavarga total be?
- 337, for every chart.
POST /v1/sarvashtakavargareturnstotalandmeta.expected_total: 337so you can assert that the two match. - Does the API return the shodhana reductions?
- Not yet. The engine implements trikona shodhana, ekadhipatya shodhana and the kakshya split, but no endpoint returns them; the API's charts are unreduced.
Shadbala: the six strengths, and which are approximated
- Do Rahu and Ketu have Shadbala?
- No.
POST /v1/strength/balareturns the seven planets from the Sun to Saturn. - Will the Shadbala totals match other software?
- Not always. Several sub-components are held at fixed averages, so totals will not match software that computes every classical sub-part. The response says so itself in
meta.notes.
Varshphal: casting the Tajika annual chart
- What does
yearmean in a Varshphal request? - Completed years, from 1 to 120.
year: 1is the chart for the first birthday, not the year of birth. - How is the solar return moment found?
- The engine takes the natal sidereal Sun (Lahiri) and solves for the moment in the target year when the transiting Sun returns to it, iterating until it is within one arc-second.
Chaldean vs Pythagorean: two letter maps, two reductions
- Does the API treat Y as a vowel?
- No. Y is always a consonant in the API, a deliberate choice so that output is deterministic.
- How are accents, spaces and punctuation in a name handled?
- Both systems strip accents (é becomes e), uppercase the name and ignore anything that is not A to Z, so spaces, hyphens and apostrophes do not count.
Graha drishti and planetary friendship, computed
- Do Vedic aspects use orbs?
- No. Parashari drishti aspects whole houses, counted from the planet's own house, regardless of degree. Western aspects with orbs come from a separate endpoint.
- Is planetary friendship symmetric?
- No.
POST /v1/relationships/planetsreturns 42 rows, one for every ordered pair of the seven planets, because one planet can treat another as a friend without the reverse holding.
Generate a typed AstroNode client from the OpenAPI spec
- Where is the AstroNode OpenAPI spec?
- At
https://api.astronode.dev/v1/openapi.json. It is OpenAPI 3.1 and needs no API key to download. - Does the spec include operation IDs?
- No. You address an operation by its path, and generators derive method names from paths, so check the generated names once and wrap the ones you use.