सीधे सामग्री पर जाएँ
POST/api/astro/birth-panchanga-effects/1 क्रेडिट

जन्म पंचांग का फलादेश (आपके पाँच अंग)

आपके जन्म पंचांग का हर अंग परंपरा के अनुसार क्या दर्शाता है। आप जिस तिथि, करण, योग, वार, होरा और पक्ष में जन्मे, वे भेजें और एक ही कॉल में हर एक का पारंपरिक फलादेश पाएँ। वरना छह कॉल करनी पड़तीं, ऐसे छह key नामों के साथ जिनका अंदाज़ा कोई नहीं लगा सकता। ये नाम से खोजे जाते हैं, कुंडली से गणना नहीं होती: जन्म किस तिथि और करण में हुआ, यह /api/astro/panchang/ से जानें, फिर वे नाम यहाँ भेजें। यह लुकअप कौन-कौन सी वर्तनियाँ स्वीकार करता है, यह /api/astro/panchanga-elements/ बताता है।

https://api.occultapi.com/api/astro/birth-panchanga-effects/
अनुरोध आज़माएँ

ऑथेंटिकेशन

अपनी कुंजी X-API-Key हेडर में भेजें। कुंजी सिर्फ़ सर्वर पर रखने की चीज़ है — इसे कभी ब्राउज़र के JavaScript या मोबाइल ऐप में न डालें।

X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/json

अनुरोध के फ़ील्ड

फ़ील्डटाइपज़रूरीटिप्पणी
horastringवैकल्पिक
karanastringवैकल्पिक
keysarrayवैकल्पिक

कौन-सी गणनाएँ लौटानी हैं, उनके नामों की सूची। इस एंडपॉइंट की key तालिका देखें; एक भी अनजान नाम हो, तो पूरा अनुरोध अस्वीकार हो जाता है। आप जितनी चाहें keys माँगें, एक कॉल पर एक ही क्रेडिट लगता है, इसलिए कई कॉल करने के बजाय जो कुछ चाहिए, सब एक साथ माँग लें।

pakshastringवैकल्पिक
tithistringवैकल्पिक
vaarastringवैकल्पिक
yogastringवैकल्पिक

उदाहरण अनुरोध

curl -X POST https://api.occultapi.com/api/astro/birth-panchanga-effects/ \
  -H "X-API-Key: $OCCULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tithi":"pratipada","karana":"bava","yoga":"vishkumbha","vaara":"sunday","hora":"surya","paksha":"shukla"}'

उत्तर

{
  "data": {
    "elements": [
      {
        "element": "tithi",
        "is": "Lunar day",
        "value": "pratipada",
        "effect": "These individuals face critical early life periods but if they navigate these successfully, they develop remarkable strength and luminosity. They tend to be highly enterprising, righteous, and virtuous in their conduct."
      },
      {
        "element": "karana",
        "is": "Half of a lunar day",
        "value": "bava",
        "effect": "Individuals who may have strong desires but are charitable, wealthy, and happy. They often hold leadership positions and may work with children or in youthful endeavors, displaying courage."
      },
      {
        "element": "yoga",
        "is": "Sun-Moon combination",
        "value": "vishkumbha",
        "effect": "Though traditionally considered challenging for longevity, this yoga brings lovely appearance and fondness for family, home, and spouse. These individuals are typically wealthy, skillful in undertakings, and victorious over enemies. They maintain good physical appearance, enjoy independence, and are generally fortunate with family-oriented nature and leadership skills."
      },
      {
        "element": "vaara",
        "is": "Weekday",
        "value": "sunday",
        "effect": "Individuals born on Sunday typically possess a steady and determined nature with a fearless approach to life. They often have a naturally authoritative disposition and demonstrate skillfulness in their endeavors. These individuals tend to be honorable and maintain high standards of purity in their conduct. They may have a tendency toward bilious temperament and often exhibit leadership qualities with a noble bearing."
      },
      {
        "element": "hora",
        "is": "Planetary hour",
        "value": "surya",
        "effect": "Periods of dedicated effort and perseverance, with experiences that build character through challenges."
      },
      {
        "element": "paksha",
        "is": "Lunar fortnight",
        "value": "shukla",
        "effect": "Individuals born during the bright half of the lunar month are typically blessed with longevity and strong family connections. They often become protectors and supporters of many people, displaying charitable and friendly natures. These individuals tend to be honorable and may experience influence from their spouse. They are usually blessed with children and material wealth, following righteous paths and showing mercy to others."
      }
    ]
  },
  "status": 200,
  "is_error": false,
  "message": "successful"
}

ऊपर वाले अनुरोध से ही की गई असली कॉल का उत्तर। नतीजे data के अंदर हैं।

त्रुटियाँ

कुंजी और क्रेडिट की जाँच से आई त्रुटियाँ { "error": "…", "message": "<code>", "is_error": true } रूप में आती हैं। लोगों को error दिखाएँ और कोड में message देखकर फ़ैसला करें। पूरी सूची त्रुटि संदर्भ में है।