Skip to content

Every subject one exam offers.

GET
/api/v1/exams/{exam}/subjects
curl --request GET \
--url https://api.utmelab.com/api/v1/exams/example/subjects \
--header 'X-API-Key: <X-API-Key>'
exam
required
string

Exam code, e.g. JAMB.

Media typeapplication/json
Array<object>

One exam’s offering of a subject. The same concept appears once per exam carrying that board’s own name, not one row with an alias.

object
countries
required

Countries this exam offers the subject in. Empty means every country the exam runs in.

Array<string>
exam
required
string
is_compulsory
required
boolean
name
required
string
objective_paper_questions

MCQs the objective paper holds. Null where unverified: absence is data, never a zero masquerading as a fact.

integer | null format: int32
order
required

Canonical subject position within an exam curriculum.

integer format: int32
slug
required
string
syllabus_exam

If this subject uses another exam’s syllabus, the exam code (e.g., “WAEC”). Null means this exam’s own syllabus.

string | null
syllabus_subject

If this subject uses another exam’s syllabus, the subject slug (e.g., “biology”). Null means this exam’s own syllabus.

string | null

Example generated

[
{
"countries": [
"example"
],
"exam": "example",
"is_compulsory": true,
"name": "example",
"objective_paper_questions": 1,
"order": 1,
"slug": "example",
"syllabus_exam": "example",
"syllabus_subject": "example"
}
]

An API key is missing or invalid.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The API key lacks the required scope.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The caller has exceeded the applicable rate limit.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}

The API is temporarily unavailable.

Media typeapplication/json

Stable body returned by HTTP error responses.

object
code
required
string
error
required
string

Example generated

{
"code": "example",
"error": "example"
}