A subject's syllabus tree with live counts. No key required.
const url = 'https://api.utmelab.com/api/v1/public/syllabus/example/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.utmelab.com/api/v1/public/syllabus/example/exampleAuthorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exam code, e.g. JAMB.
Subject slug, e.g. physics.
Query Parameters
Section titled “Query Parameters”Country code filter, e.g. GH. Absent is the full honest tree.
Responses
Section titled “Responses”One subject’s whole topic tree with live counts.
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 this exam offers the subject in. Empty means every country the exam runs in.
MCQs the objective paper holds. Null where unverified: absence is data, never a zero masquerading as a fact.
Canonical subject position within an exam curriculum.
If this subject uses another exam’s syllabus, the exam code (e.g., “WAEC”). Null means this exam’s own syllabus.
If this subject uses another exam’s syllabus, the subject slug (e.g., “biology”). Null means this exam’s own syllabus.
Counts over a subject’s syllabus, for progress bars and checklists.
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 this topic belongs to. Empty means every member country.
object
Canonical position of this reference within its parent.
object
Inherited from the parent topic. A subtopic carries no scope of its own.
object
Canonical position of this reference within its parent.
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
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The caller has exceeded the applicable rate limit.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}The API is temporarily unavailable.
Stable body returned by HTTP error responses.
object
Example generated
{ "code": "example", "error": "example"}