Skip to main content

Tarot card data: all 78 cards (JSON and CSV)

Free, structured data for the 78 tarot cards: names, numbers, suits, ranks, keywords, upright and reversed meanings, yes or no answers, element and astrology, with a public-domain image of each card from the 1909 Rider-Waite-Smith deck.

Made by Taro's Tarot. The page with downloads, field notes and an embeddable daily card: https://tarostarot.com/tarot-card-data

Files

File What it is
tarot-cards.json All 78 cards, one object each, with licence details at the top
tarot-cards.csv The same data, one row per card (keywords separated by ; )
images/ 78 card images, WebP, 300 x 527 px (also as one ZIP)

Always-current copies: https://tarostarot.com/tarot-card-data/tarot-cards.json and https://tarostarot.com/tarot-card-data/tarot-cards.csv. Both send Access-Control-Allow-Origin: *, so browser code on any site can fetch them. There is no key and no rate limit: fetch the file once and keep it.

Fields

Field Example Notes
id the-fool URL slug, unique
name The Fool
number 0 Major Arcana 0-21; minor cards 1-14 (ace 1, page 11, knight 12, queen 13, king 14)
arcana major major or minor
suit null wands, cups, swords, pentacles; null for the Major Arcana
rank null ace ... ten, page, knight, queen, king; null for the Major Arcana
keywords ["new beginnings", ...] 8 per card
upright one sentence The upright meaning in one line
reversed one sentence The reversed meaning in one line
yes_no.upright / yes_no.reversed yes yes, no or maybe
yes_no.summary one line Why, in under 100 characters
element air fire, water, air, earth
astrology.planet / astrology.sign Uranus / Aquarius Major Arcana and numbered minor cards (2-10)
astrology.decan 1 Numbered minor cards 2-10: which third of the sign (1, 2 or 3)
astrology.dates March 21-30 Where the card has a zodiac date range
astrology.elemental_dignity Air of Earth Court cards only
image URL The card image on cdn.tarostarot.com (same files as images/)
url URL The card's full meaning page on tarostarot.com

Aces carry no astrology. Court cards carry their elemental dignity and no zodiac range.

Example record

{
  "id": "the-fool",
  "name": "The Fool",
  "number": 0,
  "arcana": "major",
  "suit": null,
  "rank": null,
  "keywords": [
    "new beginnings",
    "innocence",
    "spontaneity",
    "free spirit",
    "adventure",
    "faith",
    "potential",
    "risk"
  ],
  "upright": "New beginnings, unlimited potential, and a leap of faith into the unknown.",
  "reversed": "Recklessness, poor judgment, or fear of taking necessary risks.",
  "yes_no": {
    "upright": "yes",
    "reversed": "no",
    "summary": "A yes for the leap itself; the landing is not shown yet"
  },
  "element": "air",
  "astrology": {
    "planet": "Uranus",
    "sign": "Aquarius",
    "decan": null,
    "dates": null,
    "elemental_dignity": null
  },
  "image": "https://cdn.tarostarot.com/cards/00-TheFool.webp",
  "url": "https://tarostarot.com/tarot-cards/the-fool"
}

Use it

const res = await fetch('https://tarostarot.com/tarot-card-data/tarot-cards.json');
const { cards } = await res.json();
const card = cards[Math.floor(Math.random() * cards.length)];
console.log(card.name, card.upright);
import csv
with open("tarot-cards.csv", newline="", encoding="utf-8") as f:
    cards = list(csv.DictReader(f))
print(cards[0]["name"], cards[0]["yes_no_upright"])

Daily card for your site

Paste this where the card should appear. One cached script, no cookies, no tracking; the card changes at midnight UTC. Add data-theme="dark" to the div for a dark card.

<div data-taros-tarot-daily-card><a href="https://tarostarot.com/tarot-card-of-the-day">Daily card by Taro's Tarot</a></div>
<script src="https://tarostarot.com/embed/daily-card.js" async></script>

Licence

  • Card data (all text in tarot-cards.json and tarot-cards.csv): Creative Commons Attribution 4.0. Use it for anything, including commercial projects, and credit it with a link:

    Tarot card data by <a href="https://tarostarot.com/tarot-card-data">Taro's Tarot</a> (CC BY 4.0)
    
  • Card images: public domain. See LICENSE for where the scans come from.

Data version 2026-11-12. Exported from https://tarostarot.com; the page above always has the current version.

Metadata

Release files for tarot-card-data 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tarot-card-data 1.0.0
File Size Uploaded Provenance Actions
tarot_card_data-1.0.0.tar.gz 29.9 kB Without provenance Details for tarot_card_data-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tarot-card-data 1.0.0
File Interpreter ABI Platform Actions
tarot_card_data-1.0.0-py3-none-any.whl Python 3 none any Details for tarot_card_data-1.0.0-py3-none-any.whl

Total release size: 61.8 kB

Release files / tarot_card_data-1.0.0.tar.gz

Download URL tarot_card_data-1.0.0.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4590e12a348a5c0a19af798768561911c4d2a3a63ba21727a22366ba9bc491c6
BLAKE2b-256 checksum
How to use checksums
a30e4888cfc064f109a41c62f30c73199533f32c7a13abdaee62fc4ec1d6b6cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / tarot_card_data-1.0.0-py3-none-any.whl

Download URL tarot_card_data-1.0.0-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35fa51a4f130bbd772d279c33c78ed8395dcf599f671931dcff175eaa3121aad
BLAKE2b-256 checksum
How to use checksums
8b0295411aa54539de76a200d978e3c1f0d50764296684adb195f118af945caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for tarot-card-data 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page