UniApplyForMe Labs
Documentation

APS calculator

Interactive reference for the aps calculator endpoints. Fill in parameters, run live requests with your own token, and copy ready-to-paste code.

POST/v1/data/aps-calculatoraps_calculator:use

University-specific APS score for a set of subject results.

university_slug plus a marks array of { subject_slug, percentage (0 to 100) }. All identifiers are slugs (for example university_slug "cput" and subject_slug "eng_hl", "math", "phsc"). Get subject_slug values from GET /v1/data/subjects.

subject_slug values come from GET /v1/data/subjects.

POST /v1/data/aps-calculator

Code

curl -X POST "https://api.labs.org.za/v1/data/aps-calculator" \
  -H "Authorization: Bearer labs_sandbox_your_token_here" \
  -H "Content-Type: application/json" \
  -d '{
  "university_slug": "cput",
  "marks": [
    { "subject_slug": "eng_hl", "percentage": 80 },
    { "subject_slug": "math", "percentage": 75 },
    { "subject_slug": "phsc", "percentage": 65 }
  ]
}'

Response

Run the request to see a live response.

Example response shape
{
  "data": {
    "aps_score": 42,
    "university_slug": "cput",
    "qualifies_for": ["d246168c-cec4-4e11-899f-5c8aac55032a", "3f2a9c1e-8b4d-4e6a-9f21-7c5d0a1b2c3d"]
  }
}
GET/v1/data/subjectsany token

NSC subjects and their subject_slug values, for building aps-calculator requests.

Query parameters

GET /v1/data/subjects

Code

curl "https://api.labs.org.za/v1/data/subjects" \
  -H "Authorization: Bearer labs_sandbox_your_token_here"

Response

Run the request to see a live response.

Example response shape
{
  "data": [
    { "slug": "eng_hl", "name": "English Home Language" },
    { "slug": "math", "name": "Mathematics" },
    { "slug": "phsc", "name": "Physical Sciences" },
    { "slug": "life_sci", "name": "Life Sciences" }
  ]
}