YGOPRODeck · JSON Structure

Ygoprodeck Api Card Values Structure

Valid value enumerations used by the search engine, broken down by card class.

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

CardValues is a JSON Structure definition published by YGOPRODeck, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

types MONSTER SPELL TRAP SKILL

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-values-structure.json",
  "name": "CardValues",
  "description": "Valid value enumerations used by the search engine, broken down by card class.",
  "type": "object",
  "properties": {
    "types": {
      "type": "array",
      "description": "Every card type with its group and sort order.",
      "items": {
        "type": "object",
        "description": "Metadata for a single card type used by sort/filter UIs.",
        "properties": {
          "name": {
            "type": "string",
            "description": "Card type name.",
            "example": "Effect Monster"
          },
          "group": {
            "type": "string",
            "description": "Top-level card class.",
            "enum": [
              "MONSTER",
              "SPELL",
              "TRAP",
              "SKILL"
            ],
            "example": "MONSTER"
          },
          "sortGroup": {
            "type": "int32",
            "description": "Sort order for displaying types together.",
            "example": 2
          },
          "area": {
            "type": "array",
            "description": "Deck areas where this type may be placed.",
            "items": {
              "type": "string",
              "enum": [
                "MAIN",
                "EXTRA",
                "SIDE"
              ]
            },
            "example": [
              "MAIN",
              "SIDE"
            ]
          }
        }
      }
    },
    "MONSTER": {
      "type": "object",
      "description": "Valid values for monster filters.",
      "properties": {
        "type": {
          "type": "array",
          "description": "All monster types.",
          "items": {
            "type": "string"
          }
        },
        "race": {
          "type": "array",
          "description": "All monster races.",
          "items": {
            "type": "string"
          }
        },
        "attributes": {
          "type": "array",
          "description": "All monster attributes.",
          "items": {
            "type": "string"
          }
        },
        "level": {
          "type": "array",
          "description": "Valid monster levels / ranks.",
          "items": {
            "type": "int32"
          }
        },
        "linkmarkers": {
          "type": "array",
          "description": "Valid link marker positions.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SPELL": {
      "type": "object",
      "description": "Valid values for a non-monster card class (Spell, Trap, or Skill).",
      "properties": {
        "type": {
          "type": "array",
          "description": "Types within this card class.",
          "items": {
            "type": "string"
          }
        },
        "race": {
          "type": "array",
          "description": "Sub-types or races within this card class.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "TRAP": {
      "type": "object",
      "description": "Valid values for a non-monster card class (Spell, Trap, or Skill).",
      "properties": {
        "type": {
          "type": "array",
          "description": "Types within this card class.",
          "items": {
            "type": "string"
          }
        },
        "race": {
          "type": "array",
          "description": "Sub-types or races within this card class.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SKILL": {
      "type": "object",
      "description": "Valid values for a non-monster card class (Spell, Trap, or Skill).",
      "properties": {
        "type": {
          "type": "array",
          "description": "Types within this card class.",
          "items": {
            "type": "string"
          }
        },
        "race": {
          "type": "array",
          "description": "Sub-types or races within this card class.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/ygoprodeck-api-card-values-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.