# /saqa/qualifications/search

`POST /api/saqa/qualifications/search`

Price: 5 credits

Search the South African National Qualifications Framework register kept by SAQA: qualifications, part-qualifications and the learning programmes recorded against them, by title, text, id, NQF level, field, subfield, qualification type, sub-framework, quality assurance functionary, originator and accredited provider. Each record carries its SAQA id, title, levels, field and subfield, sub-framework, originator, minimum credits, quality assurance functionary and, for a learning programme, its parent qualification.

## How to use it

Find South African qualifications on the NQF register. Pass a qualification id to saqa/qualifications for its purpose, outcomes, unit standards, learning programmes and accredited providers.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `count` (integer, required) — Max number of results (min: 1; max: 8000)
- `scope` (string) — registered: qualifications and learning programmes currently registered; all: every record SAQA keeps, those past their end date and historic ones included, each with its status (default: "registered"; one of: "registered", "all")
- `title` (string, nullable) — Text contained in the title (examples: "Bachelor of Commerce", "Diploma"; minLength: 1)
- `keyword` (string, nullable) — Words searched across the record's text (examples: "accounting"; minLength: 1)
- `qualification_id` (string, nullable) — SAQA qualification or learning programme id (examples: "101172")
- `nqf_level` (string, nullable) — NQF level (one of: "Level N/A: Pre-2009 was L1", "Level N/A: Pre-2009 was L2", "Level N/A: Pre-2009 was L3", "Level N/A: Pre-2009 was L4", "Level N/A: Pre-2009 was L5", "Level N/A: Pre-2009 was L6", "Level N/A: Pre-2009 was L7", "Level N/A:Pre-2009 was L8+", "Level TBA:Pre-2009 BelowL1", "Level TBA: Pre-2009 was L1", "Level TBA: Pre-2009 was L2", "Level TBA: Pre-2009 was L3", "Level TBA: Pre-2009 was L4", "Level TBA: Pre-2009 was L5", "Level TBA: Pre-2009 was L6", "Level TBA: Pre-2009 was L7", "Level TBA:Pre-2009 was L8+", "NQF Level 01", "NQF Level 02", "NQF Level 03", "NQF Level 04", "NQF Level 05", "NQF Level 06", "NQF Level 07", "NQF Level 08", "NQF Level 09", "NQF Level 10", "Not Applicable", "New Level Assignment Pend.", "Undefined")
- `pre_2009_nqf_level` (string, nullable) — Pre-2009 NQF level (one of: "Below Level 1", "Level 1", "Level 2", "Level 3", "Level 4", "Level 5", "Level 6", "Level 7", "Level 8 and above", "Above Level 8", "Level 8", "Not Applicable", "Undefined")
- `abet_band` (string, nullable) — ABET band (one of: "ABET Level 4", "Undefined", "ABET Level 1", "ABET Level 2", "ABET Level 3", "LAMP 1")
- `field` (string, nullable) — NQF field (one of: "Agriculture and Nature Conservation", "Culture and Arts", "Business, Commerce and Management Studies", "Communication Studies and Language", "Education, Training and Development", "Manufacturing, Engineering and Technology", "Human and Social Studies", "Law, Military Science and Security", "Health Sciences and Social Services", "Physical, Mathematical, Computer and Life Sciences", "Services", "Physical Planning and Construction")
- `subfield` (string, nullable) — NQF learning subfield (one of: "Adult Learning", "Building Construction", "Civil Engineering Construction", "Cleaning, Domestic, Hiring, Property and Rescue Services", "Communication Studies", "Consumer Services", "Cultural Studies", "Curative Health", "Design Studies", "Early Childhood Development", "Earth and Space Sciences", "Electrical Infrastructure Construction", "Engineering and Related Design", "Environmental Relations", "Environmental Sciences", "Fabrication and Extraction", "Film, Television and Video", "Finance, Economics and Accounting", "Forestry and Wood Technology", "General Social Science", "Generic", "Generic Management", "Higher Education and Training", "Horticulture", "Hospitality, Tourism, Travel, Gaming and Leisure", "Human Resources", "Industrial & Organisational Governance and Human Resource Development", "Information Studies", "Information Technology and Computer Sciences", "Justice in Society", "Language", "Life Sciences", "Literature", "Manufacturing and Assembly", "Marketing", "Mathematical Sciences", "Media Studies", "Music", "Nature Conservation", "Office Administration", "People/Human-Centred Development", "Performing Arts", "Personal Care", "Physical Planning, Design and Management", "Physical Sciences", "Preventive Health", "Primary Agriculture", "Procurement", "Project Management", "Promotive Health and Developmental Services", "Public Administration", "Public Policy, Politics and Democratic Citizenship", "Public Relations", "Rehabilitative Health/Services", "Religious and Ethical Foundations of Society", "Rural and Agrarian Studies", "Safety in Society", "Schooling", "Secondary Agriculture", "Sovereignty of the State", "Sport", "Traditions, History and Legacies", "Transport, Operations and Logistics", "Undefined", "Urban and Regional Studies", "Visual Arts", "Wholesale and Retail")
- `qualification_type` (string, nullable) — Qualification type (one of: "Advanced Certificate", "Advanced Diploma", "Advanced Occupational Cert", "Advanced Occupational Dip", "B Tech", "Certificate (HEQCIS)", "Diploma (Min 240)", "Diploma (Min 360)", "Doctoral Degree", "Elementary Certificate", "Elementary Occupational Cert", "Foundational Learning Cert", "Further Diploma", "Further Ed and Training Cert", "General Certificate", "General Occupational Cert", "Higher Certificate", "Higher Occupational Cert", "Honours Degree", "Intermediate Certificate", "Intermediate Occupational Cert", "Master's Degree", "National Certificate", "National Diploma", "National First Degree", "National First Degree(Min 480)", "National Higher Certificate", "National Higher Diploma", "National Masters Diploma", "National N Certificate", "National N Diploma", "National Occupational Cert", "Occupational Certificate", "Occupational Dip", "Part-Qualification", "PG B Deg (eg B Ed)", "Post Dip Diploma", "Post-basic Diploma", "Post-doctoral Degree", "Postgraduate Diploma", "Prof First Degree (Min 360)", "Professional Qualification", "Professional Registration", "Qual at Nat Sen Cert level", "Schl below SenC: not full qual", "Senior Certificate", "Specialised Occupational Dip", "Trade", "Unknown")
- `sub_framework` (string, nullable) — NQF sub-framework (one of: "GFETQSF", "HEQSF", "OQSF", "SFAP", "SFNA")
- `qa_functionary` (string, nullable) — Primary or delegated quality assurance functionary (one of: "AEE", "AgriSETA", "BANKSETA", "CATHSSETA", "CETA", "CHE", "CHIETA", "ETDP SETA", "EWSETA", "FASSET", "FOODBEV", "FPMSETA", "HPCSA", "HW SETA", "INSETA", "LG SETA", "MERSETA", "MICTS", "MQA", "PAB", "PSETA", "QCTO", "SAAHSP", "SABPP", "SAICA", "SANC", "SAPC", "SAPFTC", "SAS SETA", "SERVICES", "TETA", "UMALUSI", "W&RSETA")
- `originator_id` (string, nullable) — Originator id from saqa/providers/search (examples: "PRO_18741")
- `accredited_provider_id` (string, nullable) — Accredited provider id from saqa/providers/search (examples: "72310")

## Response

### 200 — Successful Response

- `@type` (string) (default: "SaqaQualificationRow")
- `id` (string, nullable)
- `title` (string, nullable)
- `url` (string, nullable)
- `is_learning_programme` (boolean, nullable)
- `parent_qualification_id` (string, nullable)
- `parent_qualification_url` (string, nullable)
- `pre_2009_nqf_level` (string, nullable)
- `nqf_level` (string, nullable)
- `abet_band` (string, nullable)
- `field` (string, nullable)
- `subfield` (string, nullable)
- `sub_framework` (string, nullable)
- `originator` (string, nullable)
- `min_credits` (integer, nullable)
- `qa_functionary` (string, nullable)
- `status` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

