LifeAstroAPILifeAstroAPI

Three ways to start shipping.

Pick what fits your skills. All three paths lead to the same API and use the same key.

Step 1 · Copy prompt → Step 2 · Paste into ChatGPT / Claude / Cursor / Lovable → Step 3 · Working app
Build a Daily Panchang widget using the LifeAstroAPI.

API: https://api.lifeastroapi.com
Auth: Authorization: Bearer dv_live_YOUR_KEY
Endpoints:
  GET /v1/panchang/summary?date=2027-01-15&tz=Asia/Kolkata&lat=28.6139&lon=77.209
  GET /v1/panchang/rahu-kaal?date=2027-01-15&tz=Asia/Kolkata&lat=28.6139&lon=77.209

The widget should show:
- Today's tithi, nakshatra, yoga, karana, vara
- Sunrise, sunset, Rahu Kaal
- Devanagari labels alongside English

Tech: Next.js 14 + Tailwind + TypeScript.
Cache the API response for 24 hours.
Never expose the API key to the browser — call from a server component.
Works with any LLM that supports tool use or long-context prompts.See all 8 AI prompt recipes

Next steps

Continue when you’re ready.