Yes/No Tarot Reading
Draw one card for a yes/no answer. Answer logic: yes-polarity card upright = 'yes' (strong). Yes-polarity card reversed = 'maybe' (leaning). No-polarity card upright = 'no' (strong). No-polarity card reversed = 'maybe' (leaning). Maybe-polarity card = 'maybe' (unclear). Reversed cards are enabled by default for this spread.
Endpoint
POST /v1/tarot/spread/yes-no
Request parameters
| Field | Type | Required | Description |
|---|---|---|---|
| allow_reversed | boolean | No | If true, reversed cards return 'maybe' instead of their base yes/no answer. |
| question | string | null | No | The yes/no question being asked. |
Example request
- curl
- Python
- TypeScript
curl -X POST "https://api.asterwise.com/v1/tarot/spread/yes-no" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"allow_reversed":true,"question":"Should I accept this opportunity?"}'
import asterwise
from asterwise.api.tarot_api import TarotApi
from asterwise.models.yes_no_request import YesNoRequest
configuration = asterwise.Configuration(
host="https://api.asterwise.com",
access_token="YOUR_API_KEY",
)
request = YesNoRequest(
allow_reversed=True,
question="Should I accept this opportunity?",
)
with asterwise.ApiClient(configuration) as client:
api = TarotApi(client)
result = api.tarot_yes_no(yes_no_request=request)
print(result)
import { createClient, createConfig, tarotYesNo } from 'asterwise';
const client = createClient(createConfig({
baseUrl: 'https://api.asterwise.com',
headers: { Authorization: 'Bearer YOUR_API_KEY' },
}));
const result = await tarotYesNo({
client,
body: {
"allow_reversed": true,
"question": "Should I accept this opportunity?"
},
});
console.log(result.data);
Example response
Response fields
| Field | Type | Description |
|---|---|---|
| success | boolean | True if the request succeeded |
| message | string | Human-readable status message |
| data | object | |
| data.card | object | |
| data.card.id | string | Unique slug identifier e.g. 'the-fool' |
| data.card.name | string | Full card name e.g. 'The Fool' |
| data.card.arcana_type | string | 'major' or 'minor' |
| data.card.suit | string | null | Suit for minor arcana: wands, cups, swords, pentacles. Null for major arcana. |
| data.card.number | integer | Card number. Major arcana: 0-21. Minor arcana: 1=Ace, 11=Page, 12=Knight, 13=Queen, 14=King. |
| data.card.element | string | Elemental correspondence: fire, water, air, earth, spirit |
| data.card.astrology_correspondence | string | Astrological planet or sign correspondence |
| data.card.keywords_upright | array[string] | Upright keywords |
| data.card.keywords_reversed | array[string] | Reversed keywords |
| data.card.upright_meaning | string | Full upright interpretation |
| data.card.reversed_meaning | string | Full reversed interpretation |
| data.card.yes_no | string | Yes/No polarity: 'yes', 'no', or 'maybe' |
| data.card.description | string | Visual description of the card imagery |
| data.is_reversed | boolean | |
| data.answer | string | 'yes', 'no', or 'maybe' |
| data.confidence | string | 'strong' = card directly says yes/no. 'leaning' = reversed card. 'unclear' = maybe card. |
| data.question | string | null | |
| data.active_meaning | string |
Errors
| Code | Description | Reference |
|---|---|---|
| authentication_failed | Missing or invalid API key. | authentication_failed |
| ephemeris_unavailable | Upstream ephemeris service error. | ephemeris_unavailable |
| insufficient_tier | API key tier does not include this endpoint. | insufficient_tier |
| internal_error | Unexpected server error. | internal_error |
| ip_rate_limit_exceeded | Too many requests in a short window. | ip_rate_limit_exceeded |
| payload_too_large | Request body exceeds the size limit. | payload_too_large |
| resource_not_found | Referenced resource was not found. | resource_not_found |
| validation_error | Request body failed schema validation. | validation_error |