Building with Cursor, Claude Code, GitHub Copilot, v0.dev, or Lovable? Copy this master prompt into your AI assistant, and it will generate the complete, working integration code automatically.
You are an expert full-stack developer integrating the official Jyotish Today Vedic & Financial Astrology API into this project.
### BASE API CONFIGURATION
- Base URL: https://api.jyotish.today
- Auth Header: Authorization: Bearer YOUR_API_KEY
- Content-Type: application/json
- Precision: Swiss Ephemeris C-Engine (<50ms execution)
- Rate Limit: 1 credit = 1 calculation
### ESSENTIAL ENDPOINTS
1. Planetary Positions & Houses:
POST https://api.jyotish.today/v2/planets
Body: { "year": 1995, "month": 8, "day": 15, "hour": 14, "min": 30, "lat": 28.6139, "lon": 77.2090, "tzone": 5.5 }
2. Daily Panchang & Muhuratas:
POST https://api.jyotish.today/v2/panchang
Body: { "year": 2026, "month": 9, "day": 4, "lat": 28.6139, "lon": 77.2090, "tzone": 5.5 }
3. 36-Guna Kundli Milan:
POST https://api.jyotish.today/v2/match_making/ashtakoot_points
Body: { "male": { "year": 1995, "month": 8, "day": 15, "hour": 14, "min": 30, "lat": 28.61, "lon": 77.20 },
"female": { "year": 1997, "month": 3, "day": 20, "hour": 9, "min": 15, "lat": 19.07, "lon": 72.87 } }
4. Conversational AI Astrologer (Zero-Hallucination):
POST https://api.jyotish.today/v2/ai/chat
Body: { "message": "User query", "birth_details": { ... }, "language": "en" }
### INSTRUCTIONS
Create a resilient service class or API client in this project matching these endpoints. Handle 429 quota exhaustion gracefully.
Base Endpoint: https://api.jyotish.today
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Every response is wrapped in a consistent JSON envelope with { "status": "success"|"error", "data": {...}, "execution_ms": 18 }.
Sign in to test live requests with your own API keys.
Connect Claude Desktop, Cursor IDE, Antigravity, or custom autonomous AI agents directly to Jyotish Today. The AI gains native tool capabilities for planetary charts, panchang, dashas, and matchmaking with zero custom code.
claude_desktop_config.json:{
"mcpServers": {
"jyotish-today": {
"command": "node",
"args": ["/path/to/jyotish-today/mcp-server/index.js"],
"env": {
"JYOTISH_API_KEY": "YOUR_API_KEY"
}
}
}
}
.cursor/mcp.json or Cursor Settings:{
"mcpServers": {
"jyotish-today": {
"command": "node",
"args": ["/path/to/jyotish-today/mcp-server/index.js"],
"env": {
"JYOTISH_API_KEY": "YOUR_API_KEY"
}
}
}
}
| Plan Tier | Included MCP Tools | Concurrency | Action |
|---|---|---|---|
| Free Sandbox | get_planetary_positions, get_daily_panchang, get_vimshottari_dasha |
2 req / sec | Free Key |
| Developer Starter | + calculate_kundli_milan, get_divisional_chart (D1 to D12) |
10 req / sec | Upgrade |
| Pro Commercial | Full Suite + Financial Tools: get_financial_market_transits, get_sarvatobhadra_vedha, full D1–D60 |
30 req / sec | Choose Pro |
| Enterprise Scale | All Tools + Multi-Agent Swarm Concurrency | 100+ req / sec | Custom SLA |
Add a turnkey, floating AI Astrologer chat bubble to any website, WordPress blog, or Shopify store in under 10 seconds. Visitors enter their birth details and receive authentic Vedic horoscope answers in Hindi or English.
<script src="https://jyotish.today/v2/widget/ai-astrologer.js"
data-key="YOUR_API_KEY"
data-brand="Acharya AI"
data-theme="#2F3F8F"
data-lang="hi"></script>
/v2/astrology/planets
core
Calculates high-precision Nirayana (sidereal) planetary positions, signs, degrees, speed, retrograde flags, and Nakshatras using Swiss Ephemeris.
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Birth year (e.g. 1995) |
month |
integer | required | Birth month (1-12) |
day |
integer | required | Birth day (1-31) |
hour |
integer | required | Birth hour (0-23) |
min |
integer | required | Birth minute (0-59) |
lat |
float | required | Latitude in decimal degrees (-90 to +90) |
lon |
float | required | Longitude in decimal degrees (-180 to +180) |
tzone |
float | required | Timezone offset from UTC (e.g. 5.5 for IST) |
ayanamsha |
string | optional | Ayanamsha system: lahiri (default), raman, kp, yukteshwar |
/v2/astrology/houses
core
Calculates 12 Bhavas (House cusps, midpoints, ascendant/lagna, and planetary occupants) across standard house systems.
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Birth year |
lat |
float | required | Latitude |
lon |
float | required | Longitude |
house_system |
string | optional | placidus (default), equal, sripati |
/v2/astrology/divisional_chart
kp
Generates any Vedic divisional chart (D1 Rashi, D9 Navamsha, D2 Hora, D3 Drekkana, D7 Saptamsha, D10 Dashamsha, D60 Shashtiamsha).
| Param | Type | Required | Description |
|---|---|---|---|
chart_type |
string | required | D1, D2, D3, D7, D9, D10, D12, D16, D20, D24, D27, D30, D40, D45, D60 |
/v2/panchang/daily
panchang
Daily Vedic calendar data: Vaar, Tithi, Nakshatra, Yoga, Karana, Sunrise, Sunset, Moonrise, Rahu Kaal, Yamaganda, Gulika.
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Target year |
month |
integer | required | Target month |
day |
integer | required | Target day |
lat |
float | required | Location Latitude |
lon |
float | required | Location Longitude |
/v2/panchang/choghadiya
panchang
Computes daytime and nighttime Choghadiya auspicious intervals (Amrit, Shubh, Labh, Char, Rog, Kaal, Udveg).
| Param | Type | Required | Description |
|---|---|---|---|
day |
integer | required | Target day |
month |
integer | required | Target month |
year |
integer | required | Target year |
/v2/dasha/major_vdasha
dashas
Calculates 120-year Vimshottari Maha Dasha order, start dates, and end dates based on Moon nakshatra position.
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Birth year |
lat |
float | required | Latitude |
lon |
float | required | Longitude |
/v2/match_making/ashtakoot_points
matchmaking
Scores compatibility across all 8 Kootas (Varna, Vashya, Tara, Yoni, Graha Maitri, Gana, Bhakoot, Nadi) out of 36 Gunas.
| Param | Type | Required | Description |
|---|---|---|---|
male |
object | required | {year, month, day, hour, min, lat, lon, tzone} |
female |
object | required | {year, month, day, hour, min, lat, lon, tzone} |
/v2/financial/market_transit
financial
Real-time planetary transits mapped against market indices, commodities, and equity sectors.
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Target year |
month |
integer | required | Target month |
day |
integer | required | Target day |
/v2/financial/sarvatobhadra
financial
Computes the 81-square Sarvatobhadra Chakra nakshatra cross-aspects (Front, Left, Right, Special Vedha).
| Param | Type | Required | Description |
|---|---|---|---|
year |
integer | required | Target year |
/v2/report/full_report
pdf
Comprehensive JSON payload containing full horoscope analysis, doshas, gemstones, dashas, and life predictions.
| Param | Type | Required | Description |
|---|---|---|---|
name |
string | required | Client Name |
gender |
string | required | male / female |
/v2/ai/chat
narrative
Authentic conversational Vedic Astrologer grounded in Swiss Ephemeris natal placements, running Vimshottari dashas, and current planetary transits. Metered at 5 credits per conversational turn.
| Param | Type | Required | Description |
|---|---|---|---|
message |
string | required | User question in natural language (English or Hindi) |
birth_details |
object | required | Natal coordinates {year, month, day, hour, min, lat, lon, tzone} |
session_id |
string | optional | Optional ID from prior exchange for multi-turn conversational memory |
language |
string | optional | en (English) or hi (Hindi Devanagari) |
persona |
string | optional | acharya (Traditional Master), coach (Life Counselor), gemstone (Remedies) |