Skip to content

A subject's syllabus tree with live counts. No key required.

GET
/api/v1/public/syllabus/{exam}/{slug}
curl --request GET \
--url https://api.utmelab.com/api/v1/public/syllabus/example/example
  • None
exam
required
string

Exam code, e.g. JAMB.

slug
required
string

Subject slug, e.g. physics.

country
string | null

Country code filter, e.g. GH. Absent is the full honest tree.

Media typeapplication/json

One subject’s whole topic tree with live counts.

object
exam
required
string
subject
required

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
summary
required

Counts over a subject’s syllabus, for progress bars and checklists.

object
questions
required
integer
subtopics
required
integer
subtopics_with_questions
required
integer
topics
required
integer
topics_with_questions
required
integer
topics
required
Array<object>

One node of a subject’s syllabus as served: what you must be able to do (objectives) beside what you can actually practise (question_count). The stored form is core::papers::SyllabusTopic; this one adds counts.

object
countries
required

Countries this topic belongs to. Empty means every member country.

Array<string>
lesson_refs
Array<object>
object
id
required
string
order

Canonical position of this reference within its parent.

integer format: int32
title
string
name
required
string
objectives
required
Array<string>
order
required
integer format: int32
question_count
required
integer
slug
required
string
subtopics
required
Array<object>
object
countries
required

Inherited from the parent topic. A subtopic carries no scope of its own.

Array<string>
lesson_refs
Array<object>
object
id
required
string
order

Canonical position of this reference within its parent.

integer format: int32
title
string
name
required
string
objectives
required
Array<string>
order
required
integer format: int32
question_count
required
integer
slug
required
string
weight
required
integer format: int32

Example generated

{
"exam": "example",
"subject": {
"countries": [
"example"
],
"exam": "example",
"is_compulsory": true,
"name": "example",
"objective_paper_questions": 1,
"order": 1,
"slug": "example",
"syllabus_exam": "example",
"syllabus_subject": "example"
},
"summary": {
"questions": 1,
"subtopics": 1,
"subtopics_with_questions": 1,
"topics": 1,
"topics_with_questions": 1
},
"topics": [
{
"countries": [
"example"
],
"lesson_refs": [
{
"id": "example",
"order": 1,
"title": "example"
}
],
"name": "example",
"objectives": [
"example"
],
"order": 1,
"question_count": 1,
"slug": "example",
"subtopics": [
{
"countries": [
"example"
],
"lesson_refs": [
{
"id": "example",
"order": 1,
"title": "example"
}
],
"name": "example",
"objectives": [
"example"
],
"order": 1,
"question_count": 1,
"slug": "example"
}
],
"weight": 1
}
]
}

No such subject in this exam

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"
}