GPA API
Calculate a weighted grade-point average (GPA). The calc endpoint takes a list of courses — each with a grade and the credit hours it is worth — and returns the credit-weighted GPA, the totals, and a per-course breakdown of quality points so you can see exactly how the average was formed. Grades may be US letter grades (A, A-, B+, … F) on the standard 4.0 scale, or 4.3 with the us_plus scale that gives A+ extra weight; percentages from 0 to 100 mapped to letters and points with the usual cutoffs; raw grade points given directly as numbers; or your own custom letter-to-point mapping for any institution's scheme. Courses can be passed as a JSON array or a compact string like "A:3,B+:4,C:2", and credits default to 1 for an unweighted average. The scales endpoint lists the built-in grade scales and their point values. Everything is computed locally and deterministically, so it is instant and private — no student data is stored. Ideal for student planners and dashboards, university and school portals, LMS and ed-tech apps, scholarship and admissions tools, and academic what-if calculators. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This computes GPA; for general statistics use a statistics API.
api.oanor.com/gpa-api