SEARCH ASTROLOGY API DOCS

Home
Tarot

Yes No Tarot/yes_no_tarot

This API provides a Yes or No answer to a question asked by the user, based on the tarot cards. The response includes a brief description of the card and its interpretation, providing guidance and insights to the user on their situation.

API Endpoint : yes_no_tarot
Method : POST
Full URL :
https://json.astrologyapi.com/v1/yes_no_tarot
Tarot id and card name list

Tarot IDCard Name
1The Magician
2The Hierophant
3The Emperor
4Death
5The Hermit
6The Devil
7Temperance
8The Fool
9The Chariot
10Justice
11The Judgment
12Strength
13The Empress
14The Wheel of Fortune
15The Star
16The Moon
17The Lovers
18The Sun
19The Hanged Man
20The Tower
21The World
22The High Priestess

Request Data

ParamsData typeDescriptions

tarot_id required

int

eg: 1

Response Data

{
	"name": "The Magician",
	"value": "Yes",
	"description": "It's time to manifest your intentions and put them into action. This card signifies the meeting of the material and spiritual realms. So if you're thinking to put your ideas into action, now is the time. The Magician is associated with planet Mercury. Mercury is the winged messenger and travels between the gods and humanity. So if you have a message to drop, be sure that heavens are listening and you shall be answered! This card is all about manifestations, spiritual rebirth and tapping into your infinite potential. So gather your ideas and see them come to reality."
}
POST
var api = 'yes_no_tarot';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
   tarot_id: 1,
};

var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");

var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
    "authorization": auth,
    "Content-Type":'application/json'
},
    data:JSON.stringify(data)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});