Header-authenticated API reference

API filter options reference

A current reference for the public question filters and their accepted values.

Questions endpoint

Use the Django API contract for requests and authentication.

https://django:8000/api/questions/

Subject options

Subjectsession_codedisplay
Biology6100610
Chemistry6200620
Physics6250625

Query parameters

ParameterDescription
qText search across major fields.
question_idExact question id match.
subjectBiology/Chemistry/Physics or session code alias (610/620/625).
session_codeExact syllabus code filter.
sessionExam session (e.g., Oct/Nov).
yearExam year (integer).
paper_codeExact paper code filter.
variantExact variant filter.
subtopicExact subtopic filter.
question_typeAlias filter (same values as subtopic).
answerExact answer filter.
limitPage size (default 50, max 500).
offsetPagination offset.
order_bySort column name from questions table.
sortSort direction: asc or desc.
include_image_base641 to include base64; 0 to exclude heavy payload.

session_code

  • 610
  • 620
  • 625

session

  • Feb/March
  • May/June
  • Oct/Nov

year

  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
  • 2016

paper_code / variant / answer

paper_code

  • 2

variant

  • 1
  • 2
  • 3

answer

  • A
  • B
  • C
  • D

Subtopic options (66)

`question_type` uses the same values as `subtopic`.

  • Acid-base Titration
  • Acids, Bases and Salts
  • Atoms
  • Biological Molecules
  • Biotechnology & Genetic Modification
  • Cells
  • Characteristics of living Organisms
  • Chemical Bonding
  • Chemical Calculation
  • Chemical Energetics
  • Chemical Formula and Equation
  • Chemistry of Environments
  • Coordination and Response
  • Density
  • Dichotomous Key
  • Diffusion
  • Diseases, Immunity and Drugs
  • Earth and the Solar System
  • Ecology
  • Electric circuits
  • Electrical quantities
  • Electrochemistry
  • Elements, Compounds and Mixtures
  • Energy Sources
  • Energy Work and Power
  • Enzymes
  • Excretion and Homeostasis
  • Experimental Techniques and Chemical Analysis
  • Forces
  • General properties of waves
  • Human Influences on Ecosystems
  • Human Nutrition
  • Inheritance
  • Light
  • Magnetism
  • Mass and weight
  • Metals
  • Mole Concept
  • Moment/Torque
  • Momentum
  • Motion
  • Movement of substances into and out of cells
  • OOP
  • Organic Chemistry
  • Periodic Table
  • Physical quantities and measurement techniques
  • Plant Nutrition
  • Polymers
  • Pressure
  • Radioactivity
  • Rates of Reaction
  • Redox Reaction
  • Reproduction in Humans
  • Reproduction in Plants
  • Respiration
  • Reversible Reaction and Equilibrium
  • Sound
  • Stars and the Universe
  • States of Matter
  • The nuclear model of the atom
  • Thermal properties and temperature
  • Transfer of thermal energy
  • Transport in Animals
  • Transport in Plants
  • Unsure
  • Variation and Selection

order_by options

  • answer
  • extracted_text
  • file_question
  • image_base64
  • image_key
  • image_url
  • paper_code
  • question_id
  • session
  • session_code
  • subtopic
  • variant
  • year