{
  "name": "CardCorpus",
  "description": "Open Pokémon TCG dataset (sets, cards, Pokémon, and the links between them) as a static JSON API. Each picture is an id on our image mirror; `pictures` turns one into the url of a copy 240, 480 or 960 px wide. TCGplayer and Cardmarket product ids are in marketplaces/, `marketplaces` turns them into links, and `prices` names where each set's daily prices are served; other sources' ids are excluded. `files` lists every file with its JSON Schema, `pointers` how to find what a pointer points at, and `moved.json` every published address that no longer resolves.",
  "version": "2.0.0",
  "docs": {
    "guide": "docs/guide.md",
    "reference": "docs/reference.md"
  },
  "pictures": {
    "sized": "https://img.cardcorpus.com/s1/{width}/{id}.avif",
    "widths": [
      240,
      480,
      960
    ]
  },
  "prices": {
    "latest": "https://prices.cardcorpus.com/{set}.json",
    "sets": "https://prices.cardcorpus.com/sets.json?sets={sets}",
    "history": "https://prices.cardcorpus.com/history/{set}/{card}.json",
    "rates": "https://prices.cardcorpus.com/rates.json",
    "schemas": {
      "latest": "schema/prices.schema.json",
      "sets": "schema/prices-sets.schema.json",
      "history": "schema/price-history.schema.json",
      "rates": "schema/exchange-rates.schema.json"
    }
  },
  "marketplaces": {
    "tcgplayer": "https://www.tcgplayer.com/product/{product}",
    "cardmarket": "https://www.cardmarket.com/en/Pokemon/Products?idProduct={product}"
  },
  "catalogs": [
    {
      "id": "english",
      "name": "English",
      "language": "en",
      "languages": [
        "en",
        "de",
        "es",
        "fr",
        "it",
        "ko",
        "pt",
        "ja",
        "nl",
        "pl",
        "zh-Hant"
      ],
      "setCount": 324,
      "cardCount": 25335,
      "variantCount": 45019
    },
    {
      "id": "japanese",
      "name": "Japanese",
      "language": "ja",
      "languages": [
        "ja",
        "en",
        "de",
        "es",
        "fr",
        "it",
        "ko",
        "pl",
        "pt"
      ],
      "setCount": 449,
      "cardCount": 28359,
      "variantCount": 37815
    },
    {
      "id": "zh-hans",
      "name": "Chinese",
      "language": "zh-Hans",
      "languages": [
        "zh-Hans"
      ],
      "setCount": 141,
      "cardCount": 13472,
      "variantCount": 21118
    },
    {
      "id": "korean",
      "name": "Korean",
      "language": "ko",
      "languages": [
        "ko"
      ],
      "setCount": 281,
      "cardCount": 20466,
      "variantCount": 21644
    },
    {
      "id": "zh-hant",
      "name": "Traditional Chinese",
      "language": "zh-Hant",
      "languages": [
        "zh-Hant"
      ],
      "setCount": 134,
      "cardCount": 14908,
      "variantCount": 15722
    },
    {
      "id": "thai",
      "name": "Thai",
      "language": "th",
      "languages": [
        "th"
      ],
      "setCount": 104,
      "cardCount": 12955,
      "variantCount": 13335
    },
    {
      "id": "indonesian",
      "name": "Indonesian",
      "language": "id",
      "languages": [
        "id"
      ],
      "setCount": 95,
      "cardCount": 12994,
      "variantCount": 13374
    },
    {
      "id": "french",
      "name": "French",
      "language": "fr",
      "languages": [
        "fr"
      ],
      "setCount": 143,
      "cardCount": 19165,
      "variantCount": 32765
    },
    {
      "id": "german",
      "name": "German",
      "language": "de",
      "languages": [
        "de"
      ],
      "setCount": 163,
      "cardCount": 19710,
      "variantCount": 33373
    },
    {
      "id": "italian",
      "name": "Italian",
      "language": "it",
      "languages": [
        "it"
      ],
      "setCount": 164,
      "cardCount": 19513,
      "variantCount": 33044
    },
    {
      "id": "spanish",
      "name": "Spanish",
      "language": "es",
      "languages": [
        "es"
      ],
      "setCount": 116,
      "cardCount": 16293,
      "variantCount": 26415
    },
    {
      "id": "portuguese",
      "name": "Portuguese",
      "language": "pt",
      "languages": [
        "pt"
      ],
      "setCount": 91,
      "cardCount": 14547,
      "variantCount": 21844
    }
  ],
  "counts": {
    "setCount": 2205,
    "cardCount": 217717,
    "variantCount": 315468,
    "subjectLinkCount": 194363,
    "setLinkCount": 4802,
    "cardEquivalenceCount": 864949,
    "speciesCount": 1025,
    "formCount": 1515,
    "pokemonFamilyCount": 540,
    "transitionCount": 780,
    "characterCount": 428,
    "artistCount": 495,
    "paintingCount": 20124,
    "distributionCount": 2649,
    "distributionSeriesCount": 43,
    "collectionCount": 4
  },
  "files": [
    {
      "file": "index.json",
      "schema": "schema/index.schema.json"
    },
    {
      "file": "sets/{catalog}.json",
      "schema": "schema/sets.schema.json"
    },
    {
      "file": "sets/{set}.json",
      "schema": "schema/set.schema.json"
    },
    {
      "file": "cards/{catalog}.json",
      "schema": "schema/cards.schema.json"
    },
    {
      "file": "eras.json",
      "schema": "schema/eras.schema.json"
    },
    {
      "file": "lines.json",
      "schema": "schema/lines.schema.json"
    },
    {
      "file": "pokemon.json",
      "schema": "schema/pokemon.schema.json"
    },
    {
      "file": "pokemon-families/{family}.json",
      "schema": "schema/pokemon-family.schema.json"
    },
    {
      "file": "pokemon-cards/{catalog}/{species}.json",
      "schema": "schema/pokemon-cards.schema.json"
    },
    {
      "file": "characters.json",
      "schema": "schema/characters.schema.json"
    },
    {
      "file": "characters/{catalog}/{character}.json",
      "schema": "schema/character.schema.json"
    },
    {
      "file": "artists.json",
      "schema": "schema/artists.schema.json"
    },
    {
      "file": "artists/{catalog}/{artist}.json",
      "schema": "schema/artist.schema.json"
    },
    {
      "file": "paintings.json",
      "schema": "schema/painting-index.schema.json"
    },
    {
      "file": "paintings/{set}.json",
      "schema": "schema/paintings.schema.json"
    },
    {
      "file": "marketplaces.json",
      "schema": "schema/marketplace-sets.schema.json"
    },
    {
      "file": "marketplaces/{set}.json",
      "schema": "schema/marketplaces.schema.json"
    },
    {
      "file": "collections.json",
      "schema": "schema/collections.schema.json"
    },
    {
      "file": "vocabulary.json",
      "schema": "schema/vocabulary.schema.json"
    },
    {
      "file": "distributions.json",
      "schema": "schema/distributions.schema.json"
    },
    {
      "file": "distributions/{distribution}.json",
      "schema": "schema/distribution.schema.json"
    },
    {
      "file": "distribution-series/{series}.json",
      "schema": "schema/distribution-series.schema.json"
    },
    {
      "file": "moved.json",
      "schema": "schema/moved.schema.json"
    }
  ],
  "pointers": {
    "set": {
      "file": "sets/{id}.json",
      "path": []
    },
    "card": {
      "file": "sets/{set}.json",
      "path": [
        {
          "list": "cards",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "variant": {
      "file": "sets/{set}.json",
      "path": [
        {
          "list": "cards",
          "match": "id",
          "by": "card"
        },
        {
          "list": "variants",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "set-version": {
      "file": "sets/{set}.json",
      "path": [
        {
          "list": "versions",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "painting": {
      "file": "paintings/{set}.json",
      "path": [
        {
          "list": "paintings",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "era": {
      "file": "eras.json",
      "path": [
        {
          "list": "eras",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "line": {
      "file": "lines.json",
      "path": [
        {
          "list": "lines",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "species": {
      "file": "pokemon.json",
      "path": [
        {
          "list": "species",
          "match": "dex",
          "by": "id"
        }
      ]
    },
    "form": {
      "file": "pokemon.json",
      "path": [
        {
          "list": "species",
          "match": "dex",
          "by": "species"
        },
        {
          "list": "forms",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "pokemon-family": {
      "file": "pokemon-families/{id}.json",
      "path": []
    },
    "artist": {
      "file": "artists.json",
      "path": [
        {
          "list": "artists",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "character": {
      "file": "characters.json",
      "path": [
        {
          "list": "characters",
          "match": "id",
          "by": "id"
        }
      ]
    },
    "distribution": {
      "file": "distributions/{id}.json",
      "path": []
    },
    "distribution-series": {
      "file": "distribution-series/{id}.json",
      "path": []
    },
    "collection": {
      "file": "collections.json",
      "path": [
        {
          "list": "collections",
          "match": "id",
          "by": "id"
        }
      ]
    }
  }
}
