Documentation

Base URL: https://api.helpdeskcentral.co.za/schools · All data endpoints are GET and return JSON.

Authentication

Every data endpoint needs your key. Send it any of these ways:

Authorization: Bearer ck_••••••••   # recommended
X-API-Key: ck_••••••••
GET /api/geo/schools?q=curro&key=ck_••••••••

No key yet? Create a free account and generate one on your dashboard.

Health no key needed

GET /api/health
Service status and record counts. Use it for uptime monitoring and Render warm-ups.

Provinces

GET /api/geo/provinces
Returns the 9 provinces. No parameters.

Cities

GET /api/geo/cities
ParamRequiredDescription
provincenoFilter, e.g. Gauteng

Suburbs

GET /api/geo/suburbs
ParamRequiredDescription
provincenoFilter by province
citynoFilter by city

Schools

GET /api/geo/schools
ParamRequiredDescription
qnoName search, e.g. curro
province / city / suburbnoGeo filters
limitnoDefault 50, max 500
offsetnoPagination offset

Response: { total, offset, limit, results: [{ name, suburb, city, province, ... }] }

Places

GET /api/geo/places
ParamRequiredDescription
qnoPopulated-place search, e.g. cape
limitnoDefault 50, max 500

Errors

CodeMeaning
401Missing or unknown key (UNAUTHORIZED)
403Key revoked or inactive
429Free monthly quota used (QUOTA_EXCEEDED) — top up on the pricing page
404Unknown endpoint
405Only GET is supported

Playground — try it live

// Hit "Send Request" to see a live response