# AgentStall ZA School Calendar

> AgentStall ZA School Calendar is a paid API for AI agents from agentstall.nilesh-b54.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-01).

Returns South African school term information and school-day status for a given date or year, including public holidays and term boundaries.

## Facts

- Endpoint: GET https://agentstall.nilesh-b54.workers.dev/v1/school-calendar?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstall-za-school-calendar-528e7f02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1OM3bbN6KAgg04m1eMrNN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentstall-za-school-calendar-528e7f02
```

Example prompt: Is November 4, 2026 a school day in South Africa, and if not, what's the reason and when does that school term end?

## When to prefer this

Use this endpoint when you need authoritative South African school calendar data — term dates, school-day status, and public holiday context — especially for scheduling, planning, or compliance workflows targeting South Africa. Prefer it over generic holiday APIs when you need school-specific term boundaries and the integrated school-day boolean check.

## Known failure modes

- Unpaid call returns HTTP 402 with PAYMENT-REQUIRED header — must pay $0.003 USDC via x402 v2
- Invalid date format (not YYYY-MM-DD) may return a validation error
- Year outside supported range (2026-2027) may return no data or an error
- Missing required parameters returns a schema validation error
- Network or worker availability issues may result in timeout or 5xx error

## How this service works

South African public school calendar: term dates and school holidays for 2026 and 2027 from the Department of Basic Education, special school holidays, and whether a given date is a school day. Useful for family travel, childcare, events and education planning in South Africa.

## Output

Returns a JSON object with the queried date, whether it is a school day (isSchoolDay boolean), the current term number, the date the term ends (termEnds), and a reason string explaining any non-school status (e.g. 'public holiday: Local Government Elections'). For year-based queries, returns a list of term dates for the specified school year.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "date": {
       "type": "string",
       "description": "Optional date (YYYY-MM-DD) to check whether it is a school day"
      },
      "year": {
       "type": "string",
       "description": "Optional year (2026-2027) to list the terms; defaults to the date's year or the current year"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-11-04",
  "term": 4,
  "reason": "public holiday: Local Government Elections",
  "termEnds": "2026-12-09",
  "isSchoolDay": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstall-za-school-calendar-528e7f02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstall.nilesh-b54.workers.dev](https://www.zero.xyz/host/agentstall.nilesh-b54.workers.dev/llms.txt)
