cards

Returns detailed information about a specified card

get/cards/{cardId}

Request

Path parameters

cardIdstring required

ID of card to return

Response

Successful request

idstring required

Unique identifier of the card

localIdstring required

Card number within its set

imagestring

URL to the card image

namestring required

Name of the card (including any suffix)

categorystring required

Card category (Pokemon, Trainer, or Energy)

raritystring required

Card rarity (Common, Uncommon, Rare, etc.)

hpnumber nullable

Hit Points (HP) of the Pokemon

dexIdnumber[]

Pokedex number(s) of the Pokemon

updatedstring date-time required

Timestamp of when this card data was last updated

Example response

{
  "id": "base1-1",
  "localId": "1",
  "image": "https://assets.tcgdex.net/en/base/base1/1",
  "name": "Alakazam",
  "category": "Pokemon",
  "rarity": "Rare",
  "set": {
    "id": "base1",
    "name": "Base Set",
    "logo": "https://assets.tcgdex.net/en/base/base1/logo",
    "symbol": "https://assets.tcgdex.net/univ/base/base1/symbol",
    "cardCount": {
      "total": 101,
      "official": 100
    }
  },
  "hp": 80,
  "types": [
    "Psychic"
  ],
  "legal": {
    "expanded": true
  },
  "abilities": [
    {
      "type": "Poké-Power",
      "name": "Damage Swap"
    }
  ],
  "attacks": [
    {
      "cost": [
        "Psychic"
      ],
      "name": "Confuse Ray"
    }
  ],
  "weaknesses": [
    [
      {
        "type": "Psychic"
      }
    ]
  ],
  "resistances": [
    [
      {
        "type": "Psychic"
      }
    ]
  ],
  "boosters": [
    {
      "id": "boo_A1-mewtwo",
      "name": "Mewtwo",
      "logo": "https://assets.tcgdex.net/en/tcgp/A1/boosters/mewtwo-logo",
      "artwork_front": "https://assets.tcgdex.net/en/tcgp/A1/boosters/mewtwo-front",
      "artwork_back": "https://assets.tcgdex.net/en/tcgp/A1/boosters/mewtwo-front"
    }
  ]
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the // response's property type changed from number to number string for status

    • breaking

      the response's property type changed from number to number string for status

    • info

      api operation id findPetsByTags removed and replaced with getCardById

    • info

      added the media type application/problem+json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status