Documentation
High schools
Interactive reference for the high schools endpoints. Fill in parameters, run live requests with your own token, and copy ready-to-paste code.
GET
/v1/data/high-schoolshigh_schools:readThe EMIS high school directory (8,000+ schools).
Query parameters
GET /v1/data/high-schools?page=1&per_page=20Code
curl "https://api.labs.org.za/v1/data/high-schools?page=1&per_page=20" \ -H "Authorization: Bearer labs_sandbox_your_token_here"
Response
Run the request to see a live response.
Example response shape
{
"data": [
{ "id": "hs_1", "emis_number": "800012345", "name": "Pretoria Boys High School", "province": "Gauteng", "quintile": 5 }
],
"meta": { "total": 6821, "page": 1, "per_page": 20 }
}GET
/v1/data/high-schools/:idhigh_schools:readA single high school by id.
Path parameters
GET /v1/data/high-schools/hs_1Code
curl "https://api.labs.org.za/v1/data/high-schools/hs_1" \ -H "Authorization: Bearer labs_sandbox_your_token_here"
Response
Run the request to see a live response.
Example response shape
{
"data": {
"id": "hs_1",
"emis_number": "800012345",
"name": "Pretoria Boys High School",
"province": "Gauteng",
"district": "Tshwane",
"quintile": 5,
"latitude": -25.75,
"longitude": 28.22
}
}