--- license: other license_name: wotc-fan-content language: [en] tags: [magic-the-gathering, trading-cards, prices, tabular] configs: - config_name: cards data_files: cards.parquet - config_name: price_history data_files: price_history.parquet --- # Magic: The Gathering cards and price history A snapshot taken on 2026-09-24, combining [Scryfall](https://scryfall.com) card data with [MTGJSON](https://mtgjson.com) price history, built for price prediction. ## Tables ### `cards.parquet` — 121,057 printings, 116 columns One row per Scryfall printing. Card text, type, mana cost, rarity, set, release date, artist, format legality, current prices, `edhrec_rank`, and whether the card is on the Reserved List. Also includes: - **Scryfall Tagger tags**: `oracle_tags` (what the card does, e.g. `spot-removal`) and `art_tags` (what the artwork shows), each including the broader tags above them in Scryfall's hierarchy. - **Reprint history** from MTGJSON: `printings`, `num_paper_printings`, `first_printed_at`, `last_printed_at`. Counts and dates cover paper sets only. `last_printed_at` can be in the future when a card appears in an announced, unreleased set. - **Commander eligibility**: `can_lead_commander`, `can_lead_oathbreaker`, `can_lead_brawl`. - **`edhrec_salt`**: EDHREC's salt score, how much players dislike facing the card (via MTGJSON). - **Join keys**: `scryfall_id`, `oracle_id`, MTGJSON `uuid`, and TCGplayer / Card Kingdom / Cardmarket product IDs. ### `price_history.parquet` — 65,797,283 rows Daily prices from MTGJSON, covering 2026-06-22 to 2026-09-20 (MTGJSON keeps ~90 days). Columns: `scryfall_id`, `uuid`, `medium` (paper/mtgo), `provider` (TCGplayer, Card Kingdom, Cardmarket, Manapool, Cardhoarder), `list_type` (retail/buylist), `finish`, `currency`, `date`, `price`. Join to `cards.parquet` on `scryfall_id`. ```python from datasets import load_dataset cards = load_dataset("pcwoods/mtg-card-prices", "cards", split="train") prices = load_dataset("pcwoods/mtg-card-prices", "price_history", split="train") ``` ## Notes and limitations - **Snapshot, not a time series.** Card fields and Scryfall prices are current as of 2026-09-24; only `price_history` has history. Re-run the build and append snapshots for longer history. - **Beware of leakage.** `last_printed_at` and the Scryfall price columns reflect 2026-09-24. When training on a past date, drop anything recorded after it. - **Coverage.** 94.8% of printings match an MTGJSON card; the rest are Scryfall-only objects such as art series cards. Price rows exist only for cards the listed vendors sell. ## Sources and attribution - Card data, Tagger tags and current prices: [Scryfall](https://scryfall.com), used under the [Scryfall API terms](https://scryfall.com/docs/api). Card images are not redistributed here. - Price history, reprint history, commander eligibility and salt score: [MTGJSON](https://mtgjson.com). - Prices originate with the listed vendors and are provided for research, not as a price guide. Portions of the data are unofficial Fan Content permitted under the [Wizards of the Coast Fan Content Policy](https://company.wizards.com/en/legal/fancontentpolicy). Not approved or endorsed by Wizards. Magic: The Gathering and its card text are © Wizards of the Coast LLC. This dataset is not sold, and carries no license over that content. Built by `build_dataset.py`, which downloads both sources and joins them; see that script for the exact build steps.