API Documentation

Base URL: https://www.unified.nestict.com/api/v1

Authenticate with header X-Api-Key: your_key or query ?api_key=your_key.

Endpoints

MethodPathDescription
GET/schoolsSearch schools (q, region/county, ownership, category, page, per_page)
GET/schools/{code}Get school by code
GET/regionsList regions
GET/countiesList counties (?region_id=)
GET/sub-countiesList sub-counties (?county_id=)
GET/statsDataset statistics
GET/postalPostal codes / offices
GET/banksBanks
GET/bank-branchesBank branches
GET/filesFile catalogue metadata
GET/meKey + usage info

Example (cURL)

curl -s -H "X-Api-Key: ksd_xxxxx" \
  "https://www.unified.nestict.com/api/v1/schools?q=nairobi&per_page=10"

Example (JavaScript)

const res = await fetch('https://www.unified.nestict.com/api/v1/schools?q=nairobi&per_page=10', {
  headers: { 'X-Api-Key': 'ksd_xxxxx', 'Accept': 'application/json' },
});
const data = await res.json();

Code examples (PHP, Python, Node…) Full reference Get API access