Skip to main content

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

DOI

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.

Install

npm install tarot-card-data
const { cards } = require('tarot-card-data');
pip install tarot-card-data
import tarot_card_data
fool = tarot_card_data.get("the-fool")

Other copies

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 1.0.2 (2026-11-20). Exported from https://tarostarot.com; the page above always has the current version.

Metadata

Release files for tarot-card-data 1.0.2

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.2
File Size Uploaded Provenance Actions
tarot_card_data-1.0.2.tar.gz 30.2 kB Without provenance Details for tarot_card_data-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 62.4 kB

Release files / tarot_card_data-1.0.2.tar.gz

Download URL tarot_card_data-1.0.2.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
74e96740cc2e0c775a8521d915b97bca284a7b52e93b520a35ec7f61d633f94a
BLAKE2b-256 checksum
How to use checksums
4f4104a4ff16c9c3d90d061aed8c60d443e2c758e6045c2551e4d7c2481d4b68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

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

Download URL tarot_card_data-1.0.2-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
786c10b04b2bc7485c459e1ec771b31dbc2fd8ce6c70096ea718641b00b3ae17
BLAKE2b-256 checksum
How to use checksums
6bce56658c1341a315b4f67c3b5c1049b4e2d28032994d6a107dd3d4987444dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for tarot-card-data 1.0.2

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.2 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