---
title: "Retrieve student grades | Recupera i voti dello studente"
method: GET
path: "/grades"
tags: ["Student"]
---

# Retrieve student grades | Recupera i voti dello studente

`GET /grades`

## Request

- Base URL: `https://app.didattica.polito.it/api`
- URL: `https://app.didattica.polito.it/api/grades`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/polito/apis/polito-students-api/docs/grades/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

The request has succeeded.

- object
  - `data` ExamGrade[], required
    - `courseName` string, required
    - `credits` number, required
    - `grade` string, required
    - `date` string, date, required
    - `teacherId` integer, nullable, required
    - `onTimeExamPoints` number, nullable, required: Points for "on-time" exams - null the student is not eligible for on-time exams or the exam does not grant on-time points
    - `shortcode` string, required
    - `academicYear` integer, required
    - `creditsCountTowardsDegree` boolean, required: Defines whether the credits from the exam count toward the total required for graduation

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `500`: Server error

---

[API](https://skmtc.dev/polito/apis/polito-students-api.md) - [All operations](https://skmtc.dev/polito/apis/polito-students-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polito/apis/polito-students-api/revisions/9d87728aaa56?raw)
