Recipes
Features built end to end: which endpoints to call, in what order, and what to do with the JSON. The code is plain fetch and the Python standard library - no SDK to install - and every output on these pages came from running that code against the API.
Keep the API key on your server in every recipe. For the concepts behind the numbers, see the implementation guides; for field-by-field formats, the API reference.
- Render a North or South Indian chart from one API callA South Indian 4x4 grid and North Indian diamond labels from one birth-chart responseNode.js · Python · 2 endpoints
- Generate a kundli report: six calls, one documentA kundli document (JSON + HTML) assembled from six parallel callsNode.js · 6 endpoints
- Daily panchang for your user's cityTithi, nakshatra, sunrise and Rahu Kaal per city per day, in local timeNode.js · Python · 2 endpoints
- Build a Gun Milan score widget behind your own endpointPOST /api/gun-milan on your server, returning widget-ready JSONNode.js · Python · 2 endpoints
- Build a dasha timeline: periods, bars and "you are here"A proportional antardasha bar for the running mahadasha, plus the active chain to five levelsNode.js · Python · 2 endpoints
- Search a date range for muhurta windowsA list of bookable 60-minute-plus windows over seven days, from 14 callsNode.js · 3 endpoints
- Transit alerts: notify users when Saturn changes signA deduplicated alert schedule for Saturn, Jupiter and Rahu, matched to usersNode.js · Python · 2 endpoints
- Generate a daily horoscope newsletter with the APIA daily issue built from 12 calls, plus a nakshatra digest that calls once per distinct nakshatraNode.js · Python · 3 endpoints
- Batch-compute charts for your existing usersA backfill job that finishes without wasted calls, whatever your plan's limitNode.js · Python · 1 endpoint
- Cache chart results by a hash of the birth dataA cache keyed by sha256(engine_version, path, normalised body), plus a CI test for determinismNode.js · Python · 3 endpoints
- Handle users who do not know their birth timeA rule for which fields to show without a birth time, and a 13-call bisection for the Moon-sign cut-overNode.js · Python · 2 endpoints
- Store birth data so charts stay correct for decadesA birth-record schema, a historical offset function, and the chart difference it makesNode.js · Python · 1 endpoint
- Draw a Western natal chart wheel in SVGAn SVG wheel: 12 cusps, 13 bodies and the aspect web, from two parallel callsNode.js · 2 endpoints
- Build a synastry report: aspects, composite chart, fallbackA couple report: tightest inter-chart aspects, composite angles, and a Free-plan fallback.Node.js · Python · 4 endpoints
- A numerology profile from a name and a birth dateLife path, expression, soul urge, personality, birthday and personal year for one person.Node.js · Python · 3 endpoints
- Tarot draw plus an AI-written reading, across two hostsA three-card reading whose cards can be redrawn from a stored seed, with an AI-written interpretation.Node.js · Python · 2 endpoints
- A Vastu floor-plan check: from a listing's layout to a scoreA 0-100 Vastu alignment score with flagged doshas, their sources and remedies, from a room layout.Node.js · Python · 1 endpoint
- A remedies screen: gemstone, rudraksha and puja from one birthOne remedies card per user: gemstone, rudraksha, top pujas and temples, with reasons and caveats.Node.js · Python · 3 endpoints
- KP horary: a question chart from a number and a timestampA horary chart for a recorded question: Lagna, 12 cusps with star and sub-lords, and the planets at that moment.Node.js · Python · 1 endpoint
- A Lal Kitab report that degrades by planA Lal Kitab report: fixed-house placements, sleeping planets, present debts with reasons, and remedies.Node.js · Python · 3 endpoints
- Varshphal: the current year's chart, Muntha and Mudda dashaThe running Varshphal year: its chart, Muntha, the current Mudda period and the Tajika yogas present.Node.js · Python · 4 endpoints
- Relocation charts with the birth-chart endpointsThe same birth recast for several cities: relocated ascendant and house placements, planets unchanged.Node.js · Python · 2 endpoints
- Async report jobs: start, retry safely, poll, fetchA job runner that starts a report once even under retries, waits for it, and returns the result.Node.js · Python · 4 endpoints
- Streaming chat answers over Server-Sent EventsA server-side SSE client that renders the answer progressively and ends with the full structured envelope.Node.js · Python · 2 endpoints
- Hindi and English output: ask for Hindi, check what came backA bilingual screen that shows Hindi prose where the API has it, English where it does not, and Hindi labels for computed fields.Node.js · Python · 5 endpoints