Tarot Reading

Draw a tarot card or spread from a 78-card Rider-Waite deck with interpretations. Costs 3 credits.

GET /v1/tarot

Parameters

NameTypeRequiredDescription
spreadstringNoSpread type: single (default), three, or celtic.

Example request

curl "https://api.gitstrology.dev/v1/tarot?spread=three" \
  -H "X-API-Key: $GITSTROLOGY_API_KEY"

Example response

{
  "data": {
    "spread": "three",
    "cards": [
      {
        "card": {
          "name": "The Star",
          "arcana": "major",
          "number": 17,
          "rank": "XVII",
          "upright": ["hope", "renewal", "inspiration"],
          "reversed": ["despair", "disconnection"],
          "symbol": "★"
        },
        "position": "past",
        "reversed": false,
        "meaning": "hope"
      }
    ],
    "interpretation": "Your past holds hope and renewal..."
  },
  "credits": { "used": 3, "remaining": 97 }
}

Response fields

FieldTypeDescription
data.spreadstringSpread name (single, three, celtic).
data.cardsarrayDrawn cards. See below.
data.interpretationstringCombined interpretation of the spread.

Drawn card object

FieldTypeDescription
cardobjectFull card metadata (name, arcana, suit?, number, rank, upright[], reversed[], element?, symbol).
positionstringPosition in the spread (e.g. "past", "present", "future").
reversedbooleanTrue if the card is drawn reversed.
meaningstringThe active keyword (from upright or reversed).