search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Divine Magic Reading

Introducing the Divine Magic Reading API, a mystical gateway that delivers spiritual insights and enlightenment through divine magic card readings. Easily integrate this API into your applications or websites to provide users with personalized, spiritually guided experiences that inspire and empower.


Step by Step Divine Magic Reading API Postman Testing Integration

Step by Step Divine Magic Reading API Postman Testing Integration


Supported Language Codes

Use the lan field in the request body to specify the desired response language.

CodeLanguage
enEnglish
hiHindi
ptPortuguese
frFrench
esSpanish
ruRussian
deGerman
nlDutch
itItalian
plPolish
arArabic
jaJapanese
zhChinese
tmTamil
tlTelugu
trTurkish
taFilipino/Tagalog
bnBengali
maMarathi
mlMalayalam
knKannada

Guide:
You can modify or translate the output language using the DivineAPI Translator.


Endpoint

POST https://astroapi-5.divineapi.com/api/v2/divine-magic-reading

Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour DivineAPI key available on your dashboard.
card_imageIntegerSpecify which card image to retrieve — 1, 2, or 3. Default is 1.
lanStringLanguage code as per the table above. Default is en.

200: OK Successful

{
    "success": 1,
    "data": {
        "prediction": {
            "card1": "THE MAGICIAN",
            "card2": "THE EMPRESS",
            "card1_image": "https://divineapi.com/admin/uploads/tarot-white-magic/2.jpg",
            "card2_image": "https://divineapi.com/admin/uploads/tarot-white-magic/4.jpg",
            "cause": "To regain your balance, you can start by identifying which element has become dominant. Is it the grounded and practical side, or the dreamy and aspirational side? Once you've figured that out, you can focus on bringing the other element back into balance. For example, if you've been too focused on the practical aspects of your goals, you can try to tap into your intuition and imagination to come up with more creative solutions. If you've been too focused on the big picture, you can break your goals down into smaller, more manageable steps. Remember that you have the power to make your dreams a reality, but it takes a balance of both practical and imaginative energies to do so. The Magician card is reminding you of that, and urging you to find that balance.",
            "remedy": "The Empress card is a symbol of fertility, creativity, and nurturing. If you've drawn this card, it's likely that you're feeling called to explore your artistic side. This card encourages you to embrace your creative impulses, to let your imagination run wild, and to connect with the world around you in a deeper, more meaningful way. Through creativity, you can manifest your desires, bring your dreams to life, and connect with the divine feminine energy that flows through all things.\r\n\r\nIf you're feeling stuck or uninspired, it can be helpful to engage in a creative ritual to help you tap into your creative potential. The Empress suggests using any artistic medium, such as painting, drawing, or even writing, and allowing yourself to be guided by your intuition. You might consider creating your art in a natural setting, such as a park or a garden, to connect with the energy of the earth and to be inspired by the beauty of nature.\r\n\r\nRemember that creativity is not about perfection or talent. It's about expressing yourself authentically and tapping into the infinite creative potential that resides within you. Trust that whatever you create is a reflection of your unique spirit, and allow yourself to be guided by the divine feminine energy of the Empress card. With her loving guidance, you can unleash your creativity and manifest your deepest desires."
        }
    }
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl --location 'https://astroapi-5.divineapi.com/api/v2/divine-magic-reading' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="Your API Key"' \
--form 'card_image="1"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-5.divineapi.com/api/v2/divine-magic-reading',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': 'Your API key',
    'card_image': '1',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "Your API key");
form.append("card_image", "1");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-5.divineapi.com/api/v2/divine-magic-reading",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python

import requests

url = "https://astroapi-5.divineapi.com/api/v2/divine-magic-reading"

payload = {'api_key': 'Your API key',
'card_image': '1',
'lan': 'en'}
headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload,)

print(response.text)