LifeAstroAPILifeAstroAPI
intermediate
~15 minutes with AI 3 APIs

Yearly Bhavishyafal (Annual Horoscope)

Generate a personalized yearly horoscope for any user — powered by a deep authored Vedic narrative corpus.

Not sun-sign generics. A real kundli-based annual forecast in a single API call.

What you'll build

  • A personalized yearly horoscope with up to 14 authored sections
  • Varshaphal themes (Muntha + Varsha Lord) for the year's overall tone
  • Active Vimshottari dasha analysis at the solar return moment
  • Sade Sati phase warning if applicable
  • Slow-mover transit narratives (Jupiter, Saturn, Rahu/Ketu, Mars)
  • Marriage, career, and finance outlook sections

Build this with AI

Copy the full prompt below, paste it into ChatGPT, Claude, Cursor, or Lovable, and get a working Next.js implementation in minutes. No coding skill required.

94 lines Structured context With API endpoints

Step by step

01One call — /vedic/narrative/yearly-bhavishyafal

Pass the user's birth data and the target year. The endpoint anchors all calculations to the solar return moment (when the Sun returns to its natal longitude) and returns up to 14 sections drawn from our deep authored corpus — no prompt engineering, no AI hallucinations.

GET /v1/vedic/narrative/yearly-bhavishyafal
curl "https://api.lifeastroapi.com/v1/vedic/narrative/yearly-bhavishyafal?birth.date=1990-05-10&birth.time=19%3A55&birth.tz=Asia%2FKolkata&lat=19.06&lon=72.88&year=2027" \
  -H "Authorization: Bearer YOUR_API_KEY"
example response
{
  "sections": [
    {
      "rule_id": "vedic.L2.varshaphal.muntha_in_8",
      "heading": "Muntha in the 8th house: sudden change",
      "body": "Your Muntha is a yearly marker that starts in the sign of your birth lagna and moves one sign every year…",
      "bullets": ["Muntha house: 8th, sudden change", "Counted from: this year's annual lagna"],
      "resolved_locale": "en"
    },
    {
      "rule_id": "vedic.L2.varshaphal.varsha_lord_jupiter",
      "heading": "Jupiter as year lord: your wisdom, luck and the way you grow",
      "body": "When Jupiter is the year lord (varshesha), the twelve months between two birthdays lean on your wisdom, luck and the way you grow…",
      "bullets": ["Theme: your wisdom, luck and the way you grow", "Work: teach, advise or train others"],
      "resolved_locale": "en"
    }
  ],
  "skipped": {},
  "remedies": { "refs": [{ "ref": "vedic.L1.remedy.mantra.rahu", "weight": 1 }] },
  "narrative_meta": { "engine": "vedic-N1", "locale": "en" }
}

02Display sections as accordions or cards

Each section has a `rule_id`, a `heading`, a `body` and short `bullets`. Render them as expandable cards in the order returned: varshaphal themes first, then dasha, then Sade Sati (if present), then transits, then outlooks. To group cards, use the `rule_id` prefix (for example `vedic.L2.varshaphal.` and `vedic.L2.dasha.`).

03Add year navigation

Let users browse past and future years. The API supports any year from 1900 to 2100. Cache per (birth-data + year) since the horoscope only changes when the year changes.

APIs used in this recipe

Next, try building

Ready to try? You get 7,500 welcome credits plus 1,500 free credits every month — no card needed.

Sign up for free