Horoscopes & tarot
Tarot draw
POST/v1/tarot/draw
Draw a spread: single, three_card, celtic_cross, yes_no or love. Send the seed back to repeat a draw.
- Without a seed the draw is random and the seed used is returned.
Request
| Field | Type | Description |
|---|---|---|
| spread | string | single | three_card (default) | celtic_cross | yes_no | love |
| seed | integer | Whole number or text; the same seed gives the same cards |
| reversals | boolean | Allow reversed cards (default true) |
| question | string | Echoed back, up to 500 characters |
Example
curl -X POST "https://api.bestastroapi.in/v1/tarot/draw" \
-H "x-api-key: $BESTASTRO_KEY" \
-H "content-type: application/json" \
-d '{"spread":"three_card","seed":42}'Response
[]is a list.{key}is a key that varies.- An optional field can be missing. That means it does not apply.
- Fields marked “or null” are always there but can be empty.
| Field | Type | Meaning |
|---|---|---|
| spread | string | Spread usedsingle | three_card | celtic_cross | yes_no | love |
| seed | any | Seed used: send it back to repeat the draw |
| reversals | boolean | Reversed cards allowed |
| count | integer | Cards drawn |
| question | string | Your question. Only when sent optional |
| answer | string | Only for yes_no optionalYes | No | Maybe |
| summary | string | What the spread shows as a whole |
| cards | object[] | In position order |
| cards[].position | integer | 1 first |
| cards[].position_name | string | Name of the position |
| cards[].position_meaning | string | What the position asks |
| cards[].reversed | boolean | Drawn upside down |
| cards[].meaning | string | Meaning in this direction |
| cards[].keywords | string[] | Three keywords in this direction |
| cards[].card | object | Tarot card |
| cards[].card.id | string | Stable id, for example the_fool |
| cards[].card.name | string | Card name |
| cards[].card.arcana | string | Arcanamajor | minor |
| cards[].card.suit | string or null | Suit; null for the major arcanawands | cups | swords | pentacles |
| cards[].card.number | integer | Major: 0 to 21. Minor: 1 (ace) to 14 (king) |
| cards[].card.keywords | object | Keywords |
| cards[].card.keywords.upright | string[] | Three, upright |
| cards[].card.keywords.reversed | string[] | Three, reversed |
| cards[].card.upright | string | Upright meaning |
| cards[].card.reversed | string | Reversed meaning |
| cards[].card.yes_no | object | Yes or no reading |
| cards[].card.yes_no.upright | string | UprightYes | No | Maybe |
| cards[].card.yes_no.reversed | string | ReversedYes | No | Maybe |
Raw sample
200 application/json
{
"cards": [
{
"card": {
"arcana": "minor",
"id": "knight_of_swords",
"keywords": {
"reversed": [
"rashness",
"tactlessness",
"burnout"
],
"upright": [
"ambition",
"fast thinking",
"drive"
]
},
"name": "Knight of Swords",
"number": 12,
"reversed": "Speed without care hurts people; slow down.",
"suit": "swords",
"upright": "You charge ahead with clear purpose and quick wit.",
"yes_no": {
"reversed": "Maybe",
"upright": "Yes"
}
},
"keywords": [
"ambition",
"fast thinking",
"drive"
],
"meaning": "You charge ahead with clear purpose and quick wit.",
"position": 1,
"position_meaning": "What has shaped the situation",
"position_name": "Past",
"reversed": false
},
{
"card": {
"arcana": "major",
"id": "the_lovers",
"keywords": {
"reversed": [
"imbalance",
"temptation",
"indecision"
],
"upright": [
"union",
"choice",
"harmony"
]
},
"name": "The Lovers",
"number": 6,
"reversed": "Desire and values are pulling apart; choose honestly rather than conveniently.",
"suit": null,
"upright": "A meaningful bond or a values-based choice asks for your whole heart.",
"yes_no": {
"reversed": "Maybe",
"upright": "Yes"
}
},
"keywords": [
"union",
"choice",
"harmony"
],
"meaning": "A meaningful bond or a values-based choice asks for your whole heart.",
"position": 2,
"position_meaning": "Where things stand now",
"position_name": "Present",
"reversed": false
},
{
"card": {
"arcana": "minor",
"id": "nine_of_cups",
"keywords": {
"reversed": [
"smugness",
"unfulfilled wish",
"materialism"
],
"upright": [
"contentment",
"wishes",
"satisfaction"
]
},
"name": "Nine of Cups",
"number": 9,
"reversed": "Pleasure is not the same as happiness; look a little deeper.",
"suit": "cups",
"upright": "A wish comes true; enjoy the comfort you have earned.",
"yes_no": {
"reversed": "Maybe",
"upright": "Yes"
}
},
"keywords": [
"contentment",
"wishes",
"satisfaction"
],
"meaning": "A wish comes true; enjoy the comfort you have earned.",
"position": 3,
"position_meaning": "Where things are heading if nothing changes",
"position_name": "Future",
"reversed": false
}
],
"count": 3,
"reversals": true,
"seed": 42,
"spread": "three_card",
"summary": "Read the cards in order; each position adds one part of the answer."
}Real output for the example request above.
Errors use one format. See error codes. Also in openapi.json.