{
  "x402Version": 2,
  "id": 2272,
  "slug": "2272",
  "resource": "https://api.anchor-x402.com/v1/grade",
  "description": "Academic letter grade with red-pen marginalia for anything. $0.01 USDC.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6apuZvJQ51Led9iEjnHw6f5jfnXL4qjt8S1h58PeXzuR",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x127462e296fAc1A7F5cF33bA57bB2f0FFf5cD0B6",
      "asset": "0x431D5dfF03120AFA4bDf332c61A6e1766eF37BDB",
      "amount": "2000000000000000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "ai",
      "description": "Academic letter grade with red-pen marginalia for anything. $0.01 USDC.",
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "target": "def add(a, b): return a - b  # surely this is correct"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "letter_grade": "D",
            "marginalia": [
              "Function name says 'add' but operator says 'subtract' — pick a side.",
              "The comment is the funniest thing in this codebase.",
              "Add a test and your subconscious will thank you."
            ],
            "summary": "Strong vibes, weak math. See me after class."
          },
          "type": "json"
        }
      },
      "name": "Grade",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "target": {
                    "description": "Anything to grade.",
                    "maxLength": 6000,
                    "type": "string"
                  }
                },
                "required": [
                  "target"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_kxz79e8i"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "api.anchor-x402.com",
  "lastUpdated": "2026-09-15T16:01:08.566Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-15T16:01:08.197Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.anchor-x402.com",
    "manifest_name": "api.anchor-x402.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"
  }
}