# AstroNode astrology API > AstroNode is a REST API for astrology calculations and readings: Vedic (birth charts, divisional charts, dashas, doshas, yogas, panchang, muhurta), KP, Lal Kitab, Nadi, Tajika varshphal, Western (natal, transits, synastry, progressions, solar returns), numerology, tarot, Vastu and Ashtakoot kundli matching - 122 endpoints behind one Bearer API key, JSON responses, and a published OpenAPI 3.1 spec. Free tier: 1,000 requests / month. - Authentication: `Authorization: Bearer ` on every request; test keys start `aie_test_`. - Birth input on most endpoints: `date` (YYYY-MM-DD), `time` (HH:MM[:SS], local), `tz_offset_minutes` (offset in force at that moment, east positive; IST = 330), `lat`, `lng`. Unknown fields are rejected with 400. - Responses are `{ request_id, data, meta }`; the same input returns byte-identical `data`. - Ayanamsa is fixed per tradition: Lahiri for Vedic, KP-Newcomb for KP, tropical for Western. Vedic houses are whole-sign; Western endpoints take `house_system`. ## Docs - [API reference](https://astronode.dev/docs): every endpoint, grouped by engine, with the interactive reference. - [OpenAPI 3.1 spec](https://api.astronode.dev/v1/openapi.json): machine-readable contract for all public endpoints. - [Full endpoint list for LLMs](https://astronode.dev/llms-full.txt): every endpoint with method, path, summary and required fields. - [Changelog](https://astronode.dev/changelog): dated changes to the API contract. - [Going to production with the AstroNode API: a checklist](https://astronode.dev/docs/production-checklist): What to get right before real users depend on your integration: key handling, the response envelope, error codes, rate limits, retries, time zones, caching and versions. - [Pricing](https://astronode.dev/pricing): plans, quotas and per-minute rate limits. ## Full content as Markdown Every page linked below is also served as Markdown at the same URL with `.md` appended (for example `/guides/ayanamsa.md`). Whole sections in one file: - [Implementation guides](https://astronode.dev/llms/guides.txt): every page under `/guides/`, concatenated. - [Recipes](https://astronode.dev/llms/recipes.txt): every page under `/recipes/`, concatenated. - [Integrations](https://astronode.dev/llms/integrations.txt): every page under `/integrations/`, concatenated. - [API reference and data dictionary](https://astronode.dev/llms/reference.txt): every page under `/reference/`, concatenated. - [Errors and troubleshooting](https://astronode.dev/llms/errors.txt): every page under `/docs/errors/`, concatenated. - [Developer tools](https://astronode.dev/llms/tools.txt): every page under `/tools/`, concatenated. - [Use cases](https://astronode.dev/llms/use-cases.txt): every page under `/use-cases/`, concatenated. - [Quickstarts](https://astronode.dev/llms/quickstarts.txt): every page under `/quickstart/`, concatenated. - [Comparisons](https://astronode.dev/llms/compare.txt): every page under `/compare/`, concatenated. - [Endpoints](https://astronode.dev/llms/endpoints.txt): every page under `/capabilities/`, concatenated. - [Accuracy, methodology, security, support, about and the production checklist](https://astronode.dev/llms/company.txt): the trust pages and the production checklist, concatenated. ## About the service - [How accurate the positions are, measured against NASA JPL Horizons](https://astronode.dev/accuracy): AstroNode planet longitudes compared with NASA JPL Horizons at eight dates from 1900 to 2099: all 56 comparisons, the method, and where future dates are less exact. - [Methodology: the sources and conventions behind every calculation](https://astronode.dev/methodology): Which ayanamsa, house system, text and convention each AstroNode engine follows - Vedic, KP, Lal Kitab, Jaimini, Tajika, Western, numerology - and what is approximated. - [Security and data handling](https://astronode.dev/security): How AstroNode handles API keys, birth data, accounts and payments: what is stored, what is not, how keys are hashed, and how the AI chat endpoints differ. - [Support: where to get help, and what to send us](https://astronode.dev/support): How to get help with the AstroNode API: error-code pages, troubleshooting guides, what to include in a report, and the support level and availability target on each plan. - [About AstroNode](https://astronode.dev/about): AstroNode is an astrology calculation API built by a small team in India - the same engine that runs the Astroniq app. What it is, how it is built and what it will not claim. - [Frequently asked questions](https://astronode.dev/faq): every question the site answers, grouped by page. ## Quickstarts - [curl quickstart](https://astronode.dev/quickstart/curl): One shell command, no dependencies. - [Node.js quickstart](https://astronode.dev/quickstart/node): Native fetch, no dependencies. - [Python quickstart](https://astronode.dev/quickstart/python): Standard library only - nothing to install. - [PHP quickstart](https://astronode.dev/quickstart/php): cURL or Guzzle, both fine. - [Laravel quickstart](https://astronode.dev/quickstart/laravel): A config entry, a service, a facade-friendly call. - [React Native quickstart](https://astronode.dev/quickstart/react-native): Through your backend, never direct. ## Engines - [Vedic Astrology API](https://astronode.dev/capabilities/vedic): Birth charts, varga, dasha, varshphal, panchang, balas, doshas. 45 endpoints. - [Nadi Astrology API](https://astronode.dev/capabilities/nadi): Nadiamsa (D150) - meaning (Dhruva) + timing (Chandra Kala). 4 endpoints. - [KP Astrology API](https://astronode.dev/capabilities/kp): Cuspal sub-lord theory + horary 1–249. 7 endpoints. - [Lal Kitab API](https://astronode.dev/capabilities/lal-kitab): Fixed-house kundli, 7 rins, and remedies. 5 endpoints. - [Numerology API](https://astronode.dev/capabilities/numerology): Pythagorean and Chaldean reductions, ank milan, personal cycles. 7 endpoints. - [Western Astrology API](https://astronode.dev/capabilities/western): Tropical natal, transits, synastry, solar return, sun-sign forecasts. 32 endpoints. - [Tarot and Biorhythm API](https://astronode.dev/capabilities/tarot): Rider-Waite-Smith spreads, yes/no, biorhythm. 5 endpoints. - [Astrology Remedies API](https://astronode.dev/capabilities/remedies): Gemstones, rudraksha, pujas - tradition-sourced, pending astrologer pass. 3 endpoints. - [Vastu Shastra API](https://astronode.dev/capabilities/vastu): Classical Vastu Shastra analysis of a home, plot or workplace. 1 endpoint. - [Kundli Matching API](https://astronode.dev/capabilities/compatibility): Cross-tradition match: Ashtakoot, Dashakoot, Porutham, synastry, ank milan. 6 endpoints. - [Astrology Report API](https://astronode.dev/capabilities/reports): Async reports for compatibility and multi-year varshphal; full numerology in one call. 3 endpoints. - [AI Astrologer API](https://astronode.dev/capabilities/chat): Bounded conversational reasoning, grounded in the chart. 4 endpoints. ## Guides - [Which ayanamsa the API uses - and how to match other software](https://astronode.dev/guides/ayanamsa): Lahiri for Vedic endpoints, KP-Newcomb for KP, none for Western. What that means for planet longitudes, and why two programs can disagree about the same birth. - [House systems: whole-sign, Placidus and the rest](https://astronode.dev/guides/house-systems): Whole-sign houses for Vedic charts, Placidus cusps for KP, and a choice of five systems for Western charts - with real cusp values and what happens near the poles. - [Birth time, time zones and historical offsets](https://astronode.dev/guides/birth-time-and-time-zones): The API takes a fixed UTC offset, not a time-zone name. How to get the offset that was really in force at a birth, and what one wrong hour does to the ascendant and the dasha. - [How the Vimshottari dasha is calculated](https://astronode.dev/guides/vimshottari-dasha-calculation): The 120-year cycle, the birth balance from the Moon's nakshatra, the 365.25-day year, and the five levels the API returns - worked through for a real birth. - [How the Ashtakoot (Gun Milan) score is calculated](https://astronode.dev/guides/ashtakoot-gun-milan-scoring): The eight koots and their 36 points, which ones depend on who is the groom, how cancellations (parihara) restore points, and how Mangal dosha is reported alongside. - [Determinism: same input, same output](https://astronode.dev/guides/deterministic-astrology-calculations): Why repeat calls return byte-identical results, the endpoints that default to "now", how engine versions are reported, and how to make tarot draws reproducible with a seed. - [Yogini and Char dasha: the arithmetic behind the periods](https://astronode.dev/guides/yogini-and-char-dasha): How the API starts Yogini dasha from the Moon's nakshatra and builds Char dasha from sign lords - a worked birth, the edge cases, what is engine-only. - [How the API computes divisional charts](https://astronode.dev/guides/divisional-chart-calculation): The per-division rules the API uses for D2 to D60, worked for one Moon in all 14 vargas, plus the unequal D30, the D27 choice and rejected input. - [KP sub-lords: from a longitude to four lords](https://astronode.dev/guides/kp-sub-lord-calculation): How the API splits each nakshatra into nine unequal subs and sub-subs, worked for real planets and cusps, plus the four-level KP significators. - [Nadiamsa (D150): 150 parts per sign, and why minutes matter](https://astronode.dev/guides/nadi-amsha-d150): How the API computes the D150 Nadiamsa: 0°12′ parts, two orderings, the D150 sign, flags for contested choices, and a two-minute birth-time test. - [Lal Kitab: fixed houses, debts and remedies as data](https://astronode.dev/guides/lal-kitab-api): How the API builds a Lal Kitab chart with Aries as house 1, marks planets awake or asleep, detects the seven debts and picks remedies. - [Sunrise in the panchang: which sunrise, and what hangs on it](https://astronode.dev/guides/panchang-sunrise-conventions): Which sunrise the API computes, why tithi and nakshatra are reported at sunrise, how to read the UTC times, and what happens where the Sun never rises. - [Muhurta windows: Rahu Kaal, Abhijit and hora, computed](https://astronode.dev/guides/muhurta-time-windows): Rahu Kaal, Yamaganda, Gulika, Abhijit, Brahma muhurat and horas are fractions of daylight. The exact slots the API uses, checked on a real date. - [Transits (gochara): computing ingresses and transit windows](https://astronode.dev/guides/transits-gochara): How the API finds sign changes over a date range, why one ingress can appear three times, and the Sade Sati, Chandrashtama and KP transit endpoints. - [Retrograde and combustion: how the API decides](https://astronode.dev/guides/retrograde-and-combustion): What makes a planet retrograde in API responses, why Rahu and Ketu always are, the combustion orbs, and how the sampling step moves event dates. - [Ashtakavarga: how the bindu tables are built](https://astronode.dev/guides/ashtakavarga-calculation): How the API builds Bhinnashtakavarga from eight contributors, the fixed totals that work as a checksum, Sarvashtakavarga's 337, and what is engine-only. - [Shadbala: the six strengths, and which are approximated](https://astronode.dev/guides/shadbala-calculation): The six Shadbala components the API returns in virupas, how each is computed, which parts are fixed averages, and how to read is_strong. - [Varshphal: casting the Tajika annual chart](https://astronode.dev/guides/varshphal-annual-chart): How the API finds the sidereal solar return, casts the year chart, places Muntha and runs Mudda dasha - and why a Western return differs by hours. - [Chaldean vs Pythagorean: two letter maps, two reductions](https://astronode.dev/guides/chaldean-vs-pythagorean-numerology): The letter values, reduction rules and master numbers behind the API's two numerology systems, with one name and date giving different answers. - [Graha drishti and planetary friendship, computed](https://astronode.dev/guides/graha-drishti-and-planet-relationships): How the API computes Vedic aspects by whole-sign house, the special aspects of Mars, Jupiter, Saturn and the nodes, and five-fold planet friendship. - [Generate a typed AstroNode client from the OpenAPI spec](https://astronode.dev/guides/openapi-typed-client): Turn the API's OpenAPI 3.1 spec into TypeScript types with openapi-typescript, call an endpoint with typed bodies and errors, and list error codes. ## Integrations - [Call the astrology API from Next.js without leaking the key](https://astronode.dev/integrations/nextjs): A server-only AstroNode client, an App Router route handler and a server component that renders a birth chart - and the NEXT_PUBLIC_ key leak. - [A panchang screen in React Native, backed by your own server](https://astronode.dev/integrations/react-native): Build a daily panchang screen in React Native: a thin backend that holds the AstroNode key, the app-side fetch, and showing UTC sunrise times in the right zone. - [A Gun Milan (kundli matching) widget in Flutter](https://astronode.dev/integrations/flutter): Show an Ashtakoot match score in Flutter: a Go backend holding the AstroNode key, a Dart model that survives integer JSON, and the release INTERNET trap. - [A dasha timeline in Swift: URLSession, Codable and birth time zones](https://astronode.dev/integrations/swift-ios): Fetch a Vimshottari dasha timeline into an iOS app via your backend: Codable models, fractional-second dates, and the time-zone offset in force at birth. - [A daily nakshatra card in Kotlin: OkHttp, kotlinx.serialization, your backend](https://astronode.dev/integrations/kotlin-android): Show a daily nakshatra reading in an Android app: a Kotlin backend call that holds the AstroNode key, OkHttp on the device, and the strict-JSON crash. - [An Express endpoint for Mangal Dosha, with caching and idempotency](https://astronode.dev/integrations/express): An Express route that validates birth input, calls AstroNode's Mangal Dosha endpoint, caches by a hash of the birth data and maps errors - executed end to end. - [Upcoming transits in FastAPI: one shared async client](https://astronode.dev/integrations/fastapi): A FastAPI endpoint for upcoming planetary transits using one shared httpx.AsyncClient - and why requests inside async def stalls the whole app. - [Storing birth data in Django so the API gets the right time](https://astronode.dev/integrations/django): Model birth details in Django without USE_TZ shifting the time, call AstroNode's yoga endpoint with the standard library, and cache by birth hash. - [A Western natal chart page in Laravel](https://astronode.dev/integrations/laravel): A Laravel controller that validates a birth form, casts it for the API, caches AstroNode's natal chart and renders it in Blade - string-number 400 included. - [A small Go client for the astrology API: timeouts, typed errors, time zones](https://astronode.dev/integrations/go): A typed Go client for AstroNode on net/http: envelope decoding, an APIError with Retry-After, and choghadiya windows rendered in the right zone. Executed. - [A daily horoscope shortcode for WordPress](https://astronode.dev/integrations/wordpress): A small WordPress plugin: an [astronode_daily] shortcode that calls AstroNode with wp_remote_get and caches each sign for the day in a transient. - [Gemstone suggestions on a Shopify store, through an app proxy](https://astronode.dev/integrations/shopify): Recommend gemstone products from a customer's birth chart on Shopify: an app proxy to your server, signature verification, AstroNode's gemstone endpoint. - [Call the astrology API from a Supabase Edge Function](https://astronode.dev/integrations/supabase-edge-functions): Wrap AstroNode's natal planets endpoint in a Supabase Edge Function: secrets, CORS preflight, supabase-js invoke, and the JWT check that runs first. - [A numerology callable on Firebase Cloud Functions](https://astronode.dev/integrations/firebase-cloud-functions): Expose AstroNode's life-path number to a Firebase app with a 2nd-gen onCall function: Secret Manager for the key, HttpsError mapping, the unbound-secret 401. - [A daily panchang workflow in n8n with the HTTP Request node](https://astronode.dev/integrations/n8n): Configure n8n's HTTP Request node for AstroNode: Header Auth credential, a JSON body with Luxon date expressions, and why a string-typed number returns 400. - [Daily nakshatra emails with Zapier or Make, without double calls](https://astronode.dev/integrations/zapier-make): Call AstroNode from Zapier (Webhooks by Zapier) or Make (HTTP module): the raw JSON request, safe number mapping, Idempotency-Key for re-runs, 27 calls a day. - [Give an OpenAI model an astrology API through function calling](https://astronode.dev/integrations/openai-function-calling): Expose AstroNode to an OpenAI chat model as two function tools: tool schemas, the call loop, and why the model must never supply birth data or positions itself. - [Give Claude an astrology API with tool use](https://astronode.dev/integrations/claude-tool-use): Define AstroNode tools for Claude's Messages API, run the tool_use / tool_result loop, and return parallel tool calls correctly. Panchang and dasha tools. ## Recipes - [Render a North or South Indian chart from one API call](https://astronode.dev/recipes/north-south-indian-chart): Turn POST /v1/charts/birth into a South Indian grid (fixed signs) or a North Indian diamond (fixed houses), with runnable Node and Python and real output. - [Generate a kundli report: six calls, one document](https://astronode.dev/recipes/kundli-report-generation): Compose birth details, D1, navamsa, Vimshottari, yogas and Mangal dosha into one JSON document, render it as HTML, and print to PDF in your own stack. - [Daily panchang for your user's city](https://astronode.dev/recipes/daily-panchang-for-a-city): Call /v1/panchang and Rahu Kaal for a city and date with the right DST offset, show the UTC times in local time, and cache per city for every user. - [Build a Gun Milan score widget behind your own endpoint](https://astronode.dev/recipes/gun-milan-score-widget): A small server route that calls /v1/compatibility, returns only what a 36-point score widget draws, and maps validation errors to form fields. - [Build a dasha timeline: periods, bars and "you are here"](https://astronode.dev/recipes/dasha-timeline): Lay out Vimshottari mahadasha and antardasha periods as a proportional timeline, mark the current period, and get the active five-level chain in one call. - [Search a date range for muhurta windows](https://astronode.dev/recipes/muhurta-search-date-range): Loop the per-day choghadiya and Rahu Kaal endpoints over a week, subtract blocked periods and closed hours, and return bookable windows. - [Transit alerts: notify users when Saturn changes sign](https://astronode.dev/recipes/transit-alerts): One /v1/transits/events call covers every user: list sign changes for slow planets, label re-entries, store them idempotently, notify on schedule. - [Generate a daily horoscope newsletter with the API](https://astronode.dev/recipes/daily-horoscope-newsletter): Build each issue from 12 sign calls (or one per distinct nakshatra), group subscribers and queue emails - the call count stays flat as you grow. - [Batch-compute charts for your existing users](https://astronode.dev/recipes/batch-compute-charts): Backfill a chart per user within the rate limit: a worker pool that honours Retry-After, a loop paced on x-ratelimit headers, and a quota stop. - [Cache chart results by a hash of the birth data](https://astronode.dev/recipes/cache-charts-by-birth-hash): Normalise the request, hash it with the path and engine_version, store data without request_id or computed_at, and test the determinism it needs. - [Handle users who do not know their birth time](https://astronode.dev/recipes/unknown-birth-time): Every chart endpoint needs a time. Sweep the day for fields that are safe to show, find the minute the Moon changes sign, and use time_certainty. - [Store birth data so charts stay correct for decades](https://astronode.dev/recipes/storing-birth-data): Persist the user's local date, time, IANA zone and coordinates, derive the historical UTC offset, and catch clock-change gaps - with a 1943 example. - [Draw a Western natal chart wheel in SVG](https://astronode.dev/recipes/western-natal-wheel): Place tropical planets, Placidus cusps and aspect lines on an SVG wheel with the ascendant at 9 o'clock, from two calls: natal chart and natal aspects. - [Build a synastry report: aspects, composite chart, fallback](https://astronode.dev/recipes/synastry-report): Chain the synastry-aspects and composite-chart endpoints into a couple report in Node or Python, drop the node-axis noise, and fall back cleanly below Pro. - [A numerology profile from a name and a birth date](https://astronode.dev/recipes/numerology-profile): Build a Pythagorean numerology profile with one report call on Starter or one call per number on Free, keep master numbers intact and pin target_date. - [Tarot draw plus an AI-written reading, across two hosts](https://astronode.dev/recipes/tarot-reading-ai-interpretation): Draw a reproducible tarot spread on the calculation API, then send exactly those cards to the AI interpret endpoint on the chat host. Node and Python. - [A Vastu floor-plan check: from a listing's layout to a score](https://astronode.dev/recipes/vastu-floor-plan-check): Turn a floor plan into compass zones, send it to /v1/vastu/analyze, and render the score, doshas and remedies - without the facing and doorPosition traps. - [A remedies screen: gemstone, rudraksha and puja from one birth](https://astronode.dev/recipes/remedies-recommendation-flow): Combine the gemstone, rudraksha and puja remedy endpoints into one recommendation card, explain each pick from chart_facts, and surface the review status. - [KP horary: a question chart from a number and a timestamp](https://astronode.dev/recipes/kp-horary-chart): Cast a Krishnamurti horary chart from the querent's number and the moment of the question, read cuspal sub-lords, and avoid the timestamp traps. Pro plan. - [A Lal Kitab report that degrades by plan](https://astronode.dev/recipes/lal-kitab-report): Build a Lal Kitab report from the kundli endpoint on Hobby and add planetary debts and remedies on Pro, with one code path that handles both plans. - [Varshphal: the current year's chart, Muntha and Mudda dasha](https://astronode.dev/recipes/varshphal-annual-chart): Find which Varshphal year a user is in, then fetch the year chart, Muntha, Mudda dasha and Tajika yogas for it. Node and Python, Hobby plan, real output. - [Relocation charts with the birth-chart endpoints](https://astronode.dev/recipes/relocation-chart): Recast a birth chart for another city by keeping the birth instant and changing only lat/lng - Vedic houses on Free, Western angles on Hobby, polar-safe. - [Async report jobs: start, retry safely, poll, fetch](https://astronode.dev/recipes/async-report-jobs): Start a multi-year or batch report job, retry it safely with an Idempotency-Key, then poll GET /v1/reports/:id until it is ready. Starter plan, real output. - [Streaming chat answers over Server-Sent Events](https://astronode.dev/recipes/streaming-chat-answers): Consume /v1/chat/respond/stream in Node and Python: parse SSE frames, handle tool, delta, replace and done events, and catch the JSON errors sent first. - [Hindi and English output: ask for Hindi, check what came back](https://astronode.dev/recipes/multi-language-output): Which AstroNode endpoints return Hindi today, which answer in English labelled en, and why your code should read the returned language field. Node, Python. ## Reference - [Yoga catalog: every value POST /v1/yogas returns](https://astronode.dev/reference/yogas): All 55 classical yogas the API checks, in response order, with the exact name string, the condition it tests and its family. For parsing /v1/yogas. - [Dosha endpoints: fields, enums and how to read them](https://astronode.dev/reference/doshas): Mangal, Kaal Sarp, Sade Sati, Pitra and Papa Samyam: the presence flags, severity and phase enums, and the 12 Kaal Sarp type names the API returns. - [Nakshatra values in API responses](https://astronode.dev/reference/nakshatras): The 27 nakshatra names exactly as the API spells them, with each one's 1-based index, Vimshottari lord and sidereal span - and which fields carry which. - [Divisional charts: division numbers, names and shapes](https://astronode.dev/reference/divisional-charts): Every varga the API computes - D2 to D60 via /v1/charts/varga, D150 via /v1/nadi/amsha - with the division number, the name string and each part's arc. - [Dasha systems: lords, sequences and period lengths](https://astronode.dev/reference/dasha-systems): Vimshottari (120 years), Yogini (36 years) and Char dasha as the API returns them: lord sequence, years per period, level names, tradition strings. - [Ashtakoot koots: names, maximum points and direction](https://astronode.dev/reference/ashtakoot-koots): The eight Gun Milan koots as the API names them: maximum points (36 in all), the threshold behind each pass flag, and the two that depend on order. - [Panchang elements: tithi, karana, yoga and vara values](https://astronode.dev/reference/panchang-elements): Every tithi, karana, yoga and vara the panchang endpoint returns, with its index - including the 60-slot karana numbering and the zero-based weekday. - [Planets, points and signs: the names and keys the API uses](https://astronode.dev/reference/planets-and-points): The 9 Vedic grahas, 13 Western bodies, 8 upagrahas and 12 signs: exact strings, array order, and the three keys a planet's name can arrive under. - [House systems and ayanamsa: the meta values per endpoint family](https://astronode.dev/reference/house-systems-and-ayanamsa): The zodiac, ayanamsa and house system each endpoint family reports in data.meta, the Western house systems you can request, and the ayanamsa ids. - [The response envelope: data, error and request_id](https://astronode.dev/reference/response-envelope): The shape every response shares: request_id, data, interpretation and meta on success; request_id and error { code, message, details } on failure. - [Rate limits, monthly quotas and plan tiers](https://astronode.dev/reference/rate-limits-and-quotas): Requests per minute and per month on each plan, the X-RateLimit and Retry-After headers, real 429 responses, and which endpoints need a paid plan. - [Units and conventions: degrees, offsets, times and indices](https://astronode.dev/reference/units-and-conventions): How the API expresses angles, offsets, dates and durations: east-positive tz_offset_minutes, decimal degrees, UTC ISO 8601 instants, 1-based indices. ## Errors and troubleshooting - [VALIDATION_ERROR: the request was rejected before any calculation](https://astronode.dev/docs/errors/validation-error): What a 400 VALIDATION_ERROR from the AstroNode API means, how to read its details array, the five ways it is produced, and the one 400 that uses a different code. - [UNAUTHORIZED: the API could not identify your key](https://astronode.dev/docs/errors/unauthorized): The three messages behind a 401 from AstroNode - no Bearer header, an invalid or revoked key, a suspended account - and how to tell which one you hit. - [PLAN_REQUIRED: this endpoint needs a higher plan](https://astronode.dev/docs/errors/plan-required): Why AstroNode answers 403 PLAN_REQUIRED, how the details object names the tier you need, how your effective plan is worked out, and why FORBIDDEN never appears. - [QUOTA_EXCEEDED: your account has used this month's requests](https://astronode.dev/docs/errors/quota-exceeded): AstroNode's 429 QUOTA_EXCEEDED: the monthly quota is per account across all keys, resets on the 1st (UTC), bills only successful calls, and says when to retry - plus the chat API's daily cap. - [RATE_LIMITED: too many requests in the last 60 seconds](https://astronode.dev/docs/errors/rate-limited): How AstroNode's per-key sliding-window rate limit works, which fields and headers tell you how long to wait, and a backoff loop that does not waste quota. - [NOT_FOUND: no such route, or no such report for this key](https://astronode.dev/docs/errors/not-found): AstroNode returns 404 NOT_FOUND for a mistyped path, a wrong HTTP method or a missing /v1 prefix, and for report ids that do not exist or belong to another key. - [IDEMPOTENCY_KEY_REUSED: same key, different request](https://astronode.dev/docs/errors/idempotency-key-reused): How the Idempotency-Key header works on AstroNode POST endpoints, why reusing a key with a changed body returns 409, and what a replayed response looks like. - [INTERNAL_ERROR: something failed on our side](https://astronode.dev/docs/errors/internal-error): What a 500 INTERNAL_ERROR from AstroNode contains (and deliberately does not), when to retry it, and what to send support so we can find the request. - [Why the API's chart differs from another astrology app](https://astronode.dev/docs/errors/chart-differs-from-other-software): Planets a sign apart, houses one off, nodes a degree out: the four convention differences behind almost every 'wrong chart' report, with real API numbers. - [Why your ascendant is off by a sign (or three)](https://astronode.dev/docs/errors/ascendant-off-by-a-sign): The ascendant moves about a sign every two hours, so input mistakes show up there first. Five real mistakes, the ascendant each one produced, and how to tell them apart. - [Why your dasha dates are shifted by days, months or a lord](https://astronode.dev/docs/errors/dasha-dates-shifted): Ten minutes of birth time moves every Vimshottari date by about two weeks. Real API output showing how time, offset and year length shift dasha periods - and how to tell which. - [Polar latitude errors: Placidus, KP cusps and muhurta](https://astronode.dev/docs/errors/polar-latitude-errors): Above the Arctic Circle some house systems and every sunrise-based muhurta are undefined on some dates. Which AstroNode endpoints return a 400 there, the exact messages, and the fallbacks. ## Optional - [Historical UTC offset finder](https://astronode.dev/tools/utc-offset-finder): City and local date/time in, tz_offset_minutes out - the east-positive integer an astrology API expects, resolved from the time-zone history for that date. - [Birth data → request JSON builder](https://astronode.dev/tools/request-json-builder): Turn a birth date, time and city into a valid request body for any AstroNode endpoint, plus ready-to-run curl, Node.js and Python - offset resolved for the date. - [Julian Day ⇄ calendar date converter](https://astronode.dev/tools/julian-day-converter): Convert a local date and time to a Julian Day (UT), or a Julian Day back to a UTC date, with the exact Swiss Ephemeris formula. MJD and Unix time included. - [Local sidereal time calculator](https://astronode.dev/tools/sidereal-time-calculator): Local and Greenwich mean sidereal time for any date, time and longitude, with RAMC in degrees - the angle behind every ascendant and house cusp. - [Ayanamsa calculator for any date](https://astronode.dev/tools/ayanamsa-calculator): Lahiri, KP-Newcomb and Raman ayanamsa for any date from 1900 to 2100, to the arc-second, with sidereal longitudes - matched to Swiss Ephemeris within 0.001″. - [Astrology API cost estimator](https://astronode.dev/tools/api-cost-estimator): Estimate monthly API calls from users and cache hit rate, and find the cheapest AstroNode plan that covers the volume and the endpoints you need, in ₹ or $. - [Rate-limit and batching planner](https://astronode.dev/tools/rate-limit-planner): How long a backfill of N users takes on each AstroNode plan: per-minute limits, your concurrency, quota fit and pacing - plus a paced worker to copy. - [Response JSON explorer](https://astronode.dev/tools/response-json-explorer): Paste an AstroNode API response and see every field explained - type, meaning, allowed values, documented or not - matched to its endpoint automatically. - [cURL → Node.js and Python converter](https://astronode.dev/tools/curl-to-code): Paste an AstroNode curl command, get the same call as Node.js fetch and Python requests - key moved to an env variable, body checked against the schema. - [Kundli matching for a matrimony product](https://astronode.dev/use-cases/matrimony): Gun Milan at list scale, with the cancellation rules intact. - [Daily horoscope apps with personal readings](https://astronode.dev/use-cases/horoscope-app): Sun-sign for the top of the funnel, chart-grounded for retention. - [Panchang, choghadiya and muhurta windows](https://astronode.dev/use-cases/panchang-widget): Date plus coordinates in, a day's worth of timing out. - [Tooling for practising astrologers](https://astronode.dev/use-cases/astrologer-saas): The calculations, so you can build the consultation. - [An AI astrologer that reasons from a real chart](https://astronode.dev/use-cases/ai-chat): The model composes; the engine decides the facts. - [Astrological compatibility for a dating app](https://astronode.dev/use-cases/dating-app): A sign-only match at signup, a full synastry once they trust you. - [An astrology bot for WhatsApp or Telegram](https://astronode.dev/use-cases/messaging-bot): One chat thread, one conversation id, a chart the bot actually reads. - [Remedy picks for puja and gemstone stores](https://astronode.dev/use-cases/remedies-store): Recommend from the chart, in the order the tradition ranks them. - [Vastu analysis for real-estate and interior apps](https://astronode.dev/use-cases/vastu-property): Describe the layout once, get a zone-by-zone reading and a score. - [Wedding date and muhurta search for planners](https://astronode.dev/use-cases/wedding-muhurta): Two charts, one calendar, and the hour that actually matters. - [Puja booking that schedules from the panchang](https://astronode.dev/use-cases/puja-booking): Which rite, where it is traditionally done, and on which day. - [Chart briefs for an astrologer marketplace](https://astronode.dev/use-cases/consultation-marketplace): The customer's chart is ready before the call connects. - [Moon-phase and cycle features for wellness apps](https://astronode.dev/use-cases/wellness-app): Lunar rhythm, personal cycles and observance days, done properly. - [Daily horoscope widgets for news publishers](https://astronode.dev/use-cases/media-horoscope-widget): Twelve fetches a day per edition, not one per pageview. - [Worked chart examples for astrology courses](https://astronode.dev/use-cases/astrology-education): Every lesson's example chart, computed and reproducible. - [Baby-name apps from nakshatra and numerology](https://astronode.dev/use-cases/baby-name-app): The birth star from the API; the syllable table and the shortlist are yours. - [Comparisons with other astrology APIs](https://astronode.dev/compare): sourced, dated fact tables. - [Self-hosting a library vs an API](https://astronode.dev/compare/self-hosting): Swiss Ephemeris, pyswisseph, Kerykeion, Flatlib, PyJHora.