# AI Tarot Interpretation API

> A concise, question-first written reading for cards you have already drawn (AI, chat service).

Source: https://astronode.dev/capabilities/tarot/tarot-interpret

`POST /v1/tarot/interpret` · part of the [Tarot and Biorhythm API](https://astronode.dev/capabilities/tarot)

## Example request

```bash
curl -X POST 'https://chatbot-api.astronode.dev/v1/tarot/interpret' \
  -H 'Authorization: Bearer aie_test_REPLACE_WITH_YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "spread_label": "Past, present, future",
  "question": "Should I take the new role?",
  "cards": [
    {
      "position": "Past",
      "name": "Eight of Wands",
      "orientation": "upright"
    },
    {
      "position": "Present",
      "name": "The Sun",
      "orientation": "upright"
    },
    {
      "position": "Future",
      "name": "Queen of Swords",
      "orientation": "reversed"
    }
  ]
}'
```

## Request fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `spread_label` | string | yes | len 1..80 |
| `question` | string | no | len ..300 |
| `cards` | object[] | yes |  |
| `cards[].position` | string | yes | len 1..60 |
| `cards[].name` | string | yes | len 1..60 |
| `cards[].orientation` | enum | yes | upright \| reversed |
| `cards[].keywords` | string[] | no |  |

## Response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `success` | enum | yes | true |
| `request_id` | string | yes |  |
| `interpretation` | string | yes |  |

Response codes: 200, 400, 401, 429, 500, 502, 504

## In practice

Available on every plan, including Free.

**Recipes:** [Tarot draw plus an AI-written reading, across two hosts](https://astronode.dev/recipes/tarot-reading-ai-interpretation)

## Questions

**Which plan includes the AI Tarot Interpretation API?**

All plans, including Free.

**What does POST /v1/tarot/interpret need in the request?**

Required: `spread_label` and `cards`. Optional: `question`.

**What does POST /v1/tarot/interpret return?**

`success`, `request_id` and `interpretation`.
