मुख्य कंटेंट पर जाएँ
API key पाएँ
मूलसैंडबॉक्स

Vedic Birth Chart API

"operation": "chart"

वैकल्पिक दशा अवधियों के साथ लाहिड़ी जन्म कुंडली बनाएँ।

POST/v1/astrology/calculate
  • हर महीने 500 मुफ़्त कॉल
  • कार्ड की ज़रूरत नहीं
  • विफल गणनाएँ मुफ़्त हैं

रिक्वेस्ट

गणना करें

अपनी API key के साथ अपने सर्वर से "operation": "chart" को POST /v1/astrology/calculate पर भेजें।

birth में ऑफ़सेट सहित और सेकंड 00 पर सेट ISO 8601 datetime, दशमलव डिग्री में latitude/longitude, और ऑफ़सेट से मेल खाता IANA timezone दें। वैकल्पिक divisions 1 और/या 9 हैं। अगर dashaLevels शून्य से अधिक है, तो referenceDate को YYYY-MM-DD रूप में शामिल करें।

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"birth":{"datetime":"1995-06-20T12:30:00+05:30","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata"},"divisions":[1,9],"dashaLevels":1,"referenceDate":"2026-11-12","operation":"chart"}'

रिस्पॉन्स

बदले में क्या मिलता है।

सत्यापित काल्पनिक D1/D9 और विंशोत्तरी दशा रिस्पॉन्स का अंश

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "chart",
    "engineVersion": "mantrilo-vedic-1",
    "timezone": "Asia/Kolkata",
    "ayanamsa": "lahiri",
    "houseSystem": "whole_sign",
    "nodeType": "mean",
    "charts": [
      {
        "division": 1,
        "ascendant": {
          "rashi": {
            "number": 6,
            "name": "Virgo"
          },
          "house": 1,
          "siderealLongitudeDegrees": 156.4105,
          "degreesWithinRashi": null,
          "retrograde": null,
          "nakshatra": {
            "number": 12,
            "name": "Uttara Phalguni",
            "pada": 3,
            "lord": "Sun"
          }
        },
        "planets": [
          {
            "body": "Sun",
            "rashi": {
              "number": 3,
              "name": "Gemini"
            },
            "house": 10,
            "siderealLongitudeDegrees": 64.7152,
            "degreesWithinRashi": 4.7152,
            "retrograde": false,
            "nakshatra": {
              "number": 5,
              "name": "Mrigashira",
              "pada": 4,
              "lord": "Mars"
            }
          },
          {
            "body": "Moon",
            "rashi": {
              "number": 12,
              "name": "Pisces"
            },
            "house": 7,
            "siderealLongitudeDegrees": 339.132,
            "degreesWithinRashi": 9.132,
            "retrograde": false,
            "nakshatra": {
              "number": 26,
              "name": "Uttara Bhadrapada",
              "pada": 2,
              "lord": "Saturn"
            }
          }
        ],
        "houses": [
          {
            "number": 1,
            "rashi": {
              "number": 6,
              "name": "Virgo"
            }
          }
        ]
      },
      {
        "division": 9,
        "ascendant": {
          "rashi": {
            "number": 11,
            "name": "Aquarius"
          },
          "house": 1,
          "siderealLongitudeDegrees": null,
          "degreesWithinRashi": null,
          "retrograde": null,
          "nakshatra": null
        },
        "planets": [
          {
            "body": "Sun",
            "rashi": {
              "number": 8,
              "name": "Scorpio"
            },
            "house": 10,
            "siderealLongitudeDegrees": null,
            "degreesWithinRashi": null,
            "retrograde": null,
            "nakshatra": null
          },
          {
            "body": "Moon",
            "rashi": {
              "number": 6,
              "name": "Virgo"
            },
            "house": 8,
            "siderealLongitudeDegrees": null,
            "degreesWithinRashi": null,
            "retrograde": null,
            "nakshatra": null
          }
        ],
        "houses": [
          {
            "number": 1,
            "rashi": {
              "number": 11,
              "name": "Aquarius"
            }
          }
        ]
      }
    ],
    "vimshottariDasha": {
      "referenceDate": "2026-11-12",
      "birthBalance": {
        "lord": "Saturn",
        "end": "2006-03-17",
        "remainingYears": 10.7406
      },
      "activePeriods": [
        {
          "level": "Mahadasha",
          "lord": "Ketu",
          "start": "2023-03-17",
          "end": "2030-03-17",
          "durationYears": 7
        }
      ],
      "timeline": [
        {
          "level": "Mahadasha",
          "lord": "Saturn",
          "start": "1995-06-20",
          "end": "2006-03-17",
          "durationYears": 10.74
        }
      ]
    }
  },
  "calculated": true
}

मूल

परिणाम से बनाएँ

वर्गों, लग्न, ग्रहों और भावों के लिए data.charts का उपयोग करें। माँगे जाने पर data.vimshottariDasha दिखाएँ।

एक सफल कॉल में एक कंटेंट रिक्वेस्ट लगती है। सैंडबॉक्स और लाइव रिक्वेस्ट का उपयोग अलग-अलग गिना जाता है। विफल गणनाओं की रिक्वेस्ट वापस कर दी जाती है।