Statistics
GPA (weighted/unweighted) API
Computes credit-weighted unweighted and weighted (honors/AP bonus) GPA from a list of courses with grade points and credit hours, returning total quality points and credits. Answers 'What is my GPA from these courses?', 'How do honors/AP bonus points change my weighted GPA?'.
Price$0.04per request
MethodPOST
Route/v1/stats/gpa
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
psychometricsgpagrade-point-averageweighted-gpaeducationcreditstranscriptscoring
API URL
Integration docshttps://x402.hexl.dev/v1/stats/gpaExample request
{
"courses": [
{
"gradePoints": 4,
"credits": 3
},
{
"gradePoints": 3,
"credits": 4
},
{
"gradePoints": 3.7,
"credits": 3,
"bonus": 1
}
]
}Example response
{
"unweightedGpa": 3.51,
"weightedGpa": 3.81,
"totalCredits": 10,
"totalQualityPoints": 35.1,
"nCourses": 3,
"interpretation": "B range (good)"
}Input schema
{
"type": "object",
"required": [
"courses"
],
"properties": {
"courses": {
"type": "array",
"items": {
"type": "object",
"required": [
"gradePoints",
"credits"
],
"properties": {
"gradePoints": {
"type": "number"
},
"credits": {
"type": "number"
},
"bonus": {
"type": "number"
}
}
},
"examples": [
[
{
"gradePoints": 4,
"credits": 3
},
{
"gradePoints": 3,
"credits": 4
}
]
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}