YGOPRODeck · JSON Structure

Ygoprodeck Api Card Image Structure

Image URLs for a single artwork variant of a card.

Type: object Properties: 4 Required: 4
GamesTrading Card GamesYu Gi OhCard DatabaseOpen DataCommunity APIPublic APIs

CardImage is a JSON Structure definition published by YGOPRODeck, describing 4 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id image_url image_url_small image_url_cropped

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yu-gi-oh/refs/heads/main/json-structure/ygoprodeck-api-card-image-structure.json",
  "name": "CardImage",
  "description": "Image URLs for a single artwork variant of a card.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "Image id (matches the card id for the default artwork; differs for alternate artworks).",
      "example": 46986414
    },
    "image_url": {
      "type": "uri",
      "description": "Full-size card image URL. Do not hotlink \u2014 download and self-host.",
      "example": "https://images.ygoprodeck.com/images/cards/46986414.jpg"
    },
    "image_url_small": {
      "type": "uri",
      "description": "Small / thumbnail image URL.",
      "example": "https://images.ygoprodeck.com/images/cards_small/46986414.jpg"
    },
    "image_url_cropped": {
      "type": "uri",
      "description": "Cropped artwork-only image URL (no frame).",
      "example": "https://images.ygoprodeck.com/images/cards_cropped/46986414.jpg"
    }
  },
  "required": [
    "id",
    "image_url",
    "image_url_small",
    "image_url_cropped"
  ]
}