# Grades & Study Calc – Weighted Grade Calculator

> Grades & Study Calc – Weighted Grade Calculator is a paid API for AI agents from grades-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates an overall class grade from a list of categories or assignments, each with a score, maximum, and weight, normalizing weights that don't sum to 100.

## Facts

- Endpoint: GET https://grades-calc.x402tookit.com/weighted-grade?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grades-study-calc-weighted-grade-calculator-73f70d45
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BpSP9ZEtihIvSwmYY6p_0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability grades-study-calc-weighted-grade-calculator-73f70d45
```

Example prompt: Can you calculate my overall class grade? Homework (45 out of 50, worth 20%), Quizzes (38 out of 50, worth 15%), Midterm (82 out of 100, worth 30%), and Final (88 out of 100, worth 35%).

## When to prefer this

Use this endpoint when you need to compute a weighted overall class grade from multiple categories or assignments with individual scores, maximums, and weights — especially when the weights may not sum to 100 and need automatic normalization. Prefer this over a simple average calculator when category weights differ and you need a letter grade, GPA points, and a per-category breakdown.

## Known failure modes

- Missing required 'items' query parameter returns an error
- Items array exceeds 50 entries may be rejected or truncated
- Malformed JSON in the items array returns a parse error
- All weights set to zero results in undefined normalization
- Scores exceeding the maximum value may produce unexpected percentages

## How this service works

Overall class grade from categories or assignments with scores, maximums and weights, normalizing weights that do not total 100.

## Output

Returns the overall percentage grade, letter grade, GPA points (4.0 scale), a breakdown of each item's weight and points contributed, whether weights were normalized, the highest and lowest performing items, and a plain-English summary and verdict.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "items"
     ],
     "properties": {
      "items": {
       "type": "string",
       "description": "JSON array of up to 50 objects like {\"name\":\"Homework\",\"score\":45,\"max\":50,\"weight\":20}; max defaults to 100"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "items": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "weight": {
          "type": [
           "null",
           "number"
          ]
         },
         "percent": {
          "type": [
           "null",
           "number"
          ]
         },
         "pointsContributed": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "letter": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "gpaPoints": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "lowestItem": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grades-study-calc-weighted-grade-calculator-73f70d45/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grades-calc.x402tookit.com](https://www.zero.xyz/host/grades-calc.x402tookit.com/llms.txt)
