API Reference / Tarot / Tarot
/v1/tarot/yes-no
Yes/No reading — one card with answer (yes/no/maybe) and reasoning. Seed-reproducible.
Request
All requests require an Authorization header with your dv_live_* API key.
curl "https://api.lifeastroapi.com/v1/tarot/yes-no?seed=42" \
-H "Authorization: Bearer YOUR_API_KEY"Query parameters
Checked against the API: a parameter is marked required when the request fails without it.
| Name | Required | Example | Description |
|---|---|---|---|
seed | no | 42 |
Response (200 OK)
The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.
{
"seed": 42,
"card": {
"id": 47,
"name": "Knight of Cups",
"number": "Knight",
"suit": "Cups",
"element": "Water",
"archetype": "The romantic idealist riding toward the object of love — passionate and imaginative",
"keywords": [
"romance",
"charm"
],
"keywords_reversed": [
"moodiness",
"jealousy"
],
"meaning": "The Knight of Cups rides calmly on a white horse, holding a cup before him like an offering, with wings on his helmet and heels — the messenger of the water element. Unlike the charging Knights of Fire or the advancing Knight of Earth, he moves with the flowing, receptive qual…",
"meaning_reversed": "The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability when it prevents genuine engagement with what i…",
"yes_no": "yes"
},
"reversed": true,
"answer": "maybe",
"reasoning": "The Knight of Cups (Cups) appears reversed. The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability whe…"
}Errors
Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "missing or invalid API key",
"request_id": "req_01hqy7k8c3e7m1n"
}
}402 Payment Required
{
"error": {
"code": "trial_exhausted",
"message": "your free trial credits are exhausted — pick a plan to continue",
"top_up_url": "https://lifeastroapi.com/pricing",
"request_id": "req_01hqy7k8c3e7m1n"
}
}429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "rate limit exceeded; retry after 12 seconds",
"request_id": "req_01hqy7k8c3e7m1n"
}
}Try it
Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.