Developers

Curriculum & tertiary API

Public, read-only JSON for the Ghana NaCCA curriculum and the tertiary admissions catalogue. No key, no sign-up — just GET.

The Curriculum Explorer publishes curriculum and tertiary admissions data as a versioned JSON API so lesson planners, school dashboards, mobile apps and research projects can use it directly. Every response is plain JSON over HTTPS with permissive CORS, so browser and server clients can call it without registering an application or sending credentials.

Base URL
https://pearluxe.online/api/v1
Format
JSON, UTF-8
Methods
GET, HEAD, OPTIONS
Authentication
None — public
Rate limit
120 requests / minute / IP
CORS
Any origin, no cookies

Currently serving 14 classes, 43 subjects, 60 documents, 753 strands, 2782 content standards and 6475 indicators and 16 subject-combination learning areas (486 subject entries), 463 tertiary institutions, 44 admission windows, 17 scholarships, 10 calendars and 949 SHS schools. The index endpoint always reports the live totals.

Quick start

curl "https://pearluxe.online/api/v1/classes"

curl "https://pearluxe.online/api/v1/indicators?class=B5&subject=mathematics&q=fraction&per_page=5"

curl "https://pearluxe.online/api/v1/codes/B5.1.1.1.1"

curl "https://pearluxe.online/api/v1/subject-combinations/science"

curl "https://pearluxe.online/api/v1/institutions?category=public_university&per_page=5"

curl "https://pearluxe.online/api/v1/admission-windows?status=open&per_page=5"

curl "https://pearluxe.online/api/v1/shs-schools?region=Ashanti&category=A&per_page=5"

From the browser, no key or custom header is needed:

const res = await fetch('https://pearluxe.online/api/v1/strands?class=B5&subject=mathematics&per_page=5');
const { data, meta } = await res.json();
console.log(meta.total, data[0].name);

Response format

Every successful response uses the same envelope. List endpoints add a meta object with pagination details; single-resource endpoints omit it.

{
  "api_version": "v1",
  "generated_at": "2026-11-01T10:00:00+00:00",
  "data": [ /* objects, or one object */ ],
  "meta": {
    "count": 5,        // items in this response
    "total": 42,       // items matching the filters
    "page": 1,
    "per_page": 5,
    "pages": 9
  }
}

Errors use the same top-level shape with an error object instead of data:

{
  "api_version": "v1",
  "error": {
    "status": 400,
    "code": "invalid_parameter",
    "message": "q must be at least 2 characters."
  }
}

Parameters

class
A class name such as B5 or SHS2, or a numeric class id. Subjects, documents, strands, indicators and search accept it.
subject
A subject id, slug (mathematics) or exact name. Documents, strands, indicators and search accept it.
document
Document id. Filters /strands.
strand
Strand id. Filters /indicators.
standard
Content standard id. Filters /indicators.
q
Case-insensitive keyword, at least 2 characters. Required for /search.
page
Page number, default 1. Applies to documents, strands and indicators.
per_page
Page size, 1–100, default 50.

Unknown classes, subjects and invalid numbers return 400 rather than silently returning an empty list. A valid filter with no matches returns 200 with an empty data array.

Endpoints

All paths below are relative to https://pearluxe.online/api/v1.

Endpoint Returns Parameters
GET /api/v1 API index Version, coverage counts and the endpoint list. None
GET /api/v1/classes Classes Every class that has curriculum content, with strand counts. None
GET /api/v1/subjects Subjects Subjects and their document/strand counts. class
GET /api/v1/documents Documents Curriculum PDFs with subject, classes and page counts. class, subject, q, page, per_page
GET /api/v1/documents/{id} Document detail One document with every strand and its counts. None
GET /api/v1/strands Strands Strands with subject, document and content counts. class, subject, document, q, page, per_page
GET /api/v1/strands/{id} Strand detail Full tree: sub-strands, standards, indicators, outcomes and assessments. None
GET /api/v1/indicators Indicators Learning indicators with their curriculum context. class, subject, strand, standard, q, page, per_page
GET /api/v1/indicators/{id} Indicator detail One indicator with exemplars, competencies and source context. None
GET /api/v1/codes/{code} Code lookup Find a printed curriculum code across all record types. None
GET /api/v1/search Search Grouped keyword search across subjects, strands, standards, indicators, outcomes and assessments. q (required), class, subject
GET /api/v1/subject-combinations Subject combinations SHS, SHTS and STEM learning areas with their subject groups, selection rules and notes. None
GET /api/v1/subject-combinations/{slug} Learning-area detail One learning area, for example <code>science</code> or <code>robotics</code>, with all four groups and notes. None
GET /api/v1/institutions Institutions Tertiary institutions in the admissions catalogue. category, region, ownership, q, page, per_page
GET /api/v1/institutions/{slug} Institution detail One institution with admission windows and contacts. None
GET /api/v1/admission-windows Admission windows Application windows across institutions. institution, status, level, cycle, page, per_page
GET /api/v1/scholarships Scholarships Funding opportunities with deadlines and application links. status, level, q, page, per_page
GET /api/v1/scholarships/{slug} Scholarship detail One scholarship with eligibility and benefits. None
GET /api/v1/calendars Academic calendars Term-date rows with official source links. year, q, page, per_page
GET /api/v1/shs-schools SHS schools Public SHS, SHTS and TVET register from the GES/CSSPS list, with programme streams and STEM status. region, category, q, page, per_page
GET /api/v1/shs-schools/{code} SHS school detail One school by CSSPS code, including programme streams and STEM status. None

Try the index in your browser: https://pearluxe.online/api/v1. Individual records also carry web_url links back to the matching HTML page, and list items include api_url where a detail endpoint exists.

Caching and rate limits

Responses include an ETag and a Cache-Control max-age (5 minutes for most resources, 60 minutes for the index, classes, subjects and code lookups). Send the previous ETag in If-None-Match to get a cheap 304 Not Modified when nothing has changed:

curl -H 'If-None-Match: W/"a1b2c3d4e5f6"' "https://pearluxe.online/api/v1/classes"

Requests are counted per IP address in one-minute windows. Every response reports the current state:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1793528280

When the limit is exceeded the API returns 429 with a Retry-After header. Cache responses on your side and avoid polling; the underlying documents change infrequently.

Status codes

StatusCodeWhen
200—Success. Includes 304 when a cached ETag still matches.
400invalid_parameterUnknown class/subject filter, invalid page/per_page, or a search query shorter than 2 characters.
404not_foundUnknown endpoint, record id or curriculum code.
405method_not_allowedAnything other than GET, HEAD or OPTIONS.
429rate_limit_exceededMore than 120 requests from one IP within a minute.
503database_unavailableThe curriculum database is temporarily unreachable.

Data and provenance

Records are extracted from official NaCCA curriculum PDFs and normalised into classes, subjects, documents, strands, sub-strands, content standards, indicators, learning outcomes and assessment standards. The subject-combinations resource exposes the SHS, SHTS and STEM subject combination guidance that is also shown on the subject combinations page. Descriptions are cleaned of PDF hyphenation and layout artefacts, but some wording may still differ from the printed page.

Curriculum content is published by the National Council for Curriculum and Assessment (NaCCA), Ghana. This API is an independent index of those documents. Verify wording against the original PDF before publishing or assessing learners. See the curriculum glossary for the terminology used in responses.

Versioning

The current version lives under /api/v1 and is built only from additive changes: new fields and endpoints may appear, existing fields keep their meaning. Anything that breaks clients will be published under a new path such as /api/v2 and this version will keep working for a deprecation period. Pin the version in your base URL rather than parsing links out of responses.