{
  "x402Version": 2,
  "id": 3431,
  "slug": "3431",
  "resource": "https://oracle.the-undesirables.com/api/v1/grade",
  "description": "Grade any physical Pokémon, Magic: The Gathering, Yu-Gi-Oh, or Digimon trading card using a 3-stage AI pipeline: (1) Qwen Vision LLM analyzes corners, edges, and surface defects, (2) OpenCV measures exact centering ratios programmatically, (3) BGS professional capping algorithm adjusts the final grade. Returns PSA/Beckett-calibrated subgrades and an overall condition score. Accepts card image URLs or base64.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x642e8a7C289381f24f0395e0539f0bA41c74Cc1B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "GueVKFK4VNe4LYvMoYAKpnJe8s7Yar6FF3r1f92gfm9y",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0x642e8a7C289381f24f0395e0539f0bA41c74Cc1B",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "100000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "game": "Pokemon",
            "image_url": "https://example.com/charizard.jpg"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "overall_grade": 9
            },
            "price": "$0.10",
            "status": "ok",
            "tool": "grade_card"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "game": {
                    "description": "Ecosystem context, e.g. 'Pokemon' or 'Magic'",
                    "type": "string"
                  },
                  "image_url": {
                    "description": "URL or direct path to the physical card image",
                    "type": "string"
                  }
                },
                "required": [
                  "image_url"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "type": "object"
                  },
                  "price": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tool": {
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "oracle.the-undesirables.com",
  "lastUpdated": "2026-08-26T16:15:16.439Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-26T16:15:16.136Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "oracle.the-undesirables.com",
    "manifest_name": "oracle.the-undesirables.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}