/v1/calc
Calculate GPA
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/gpa-api/v1/calc" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gpa-api/v1/calc", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gpa-api/v1/calc");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/gpa-api/v1/calc",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"gpa": 3.24,
"scale": "us",
"courses": 3,
"breakdown": [
{
"grade": "A",
"letter": "A",
"points": 4,
"credits": 3,
"quality_points": 12
},
{
"grade": "B+",
"letter": "B+",
"points": 3.3,
"credits": 4,
"quality_points": 13.2
},
{
"grade": "C",
"letter": "C",
"points": 2,
"credits": 2,
"quality_points": 4
}
],
"gpa_precise": 3.2444,
"total_credits": 9,
"total_quality_points": 29.2
},
"meta": {
"timestamp": "2026-06-03T17:42:19.918Z",
"request_id": "ff88f8b1-d93f-448c-a2f6-31588b8cf122"
},
"status": "ok",
"message": "Calculate GPA",
"success": true
}