# ZARef Bond Repayment Calculator

> ZARef Bond Repayment Calculator is a paid API for AI agents from zaref.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Calculates South African home loan bond repayment amounts given principal, interest rate, term, and optional deposit

## Facts

- Endpoint: HEAD https://zaref.dev/calc/bond-repayment?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zaref-bond-repayment-calculator-32fdb06b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ocp_LTrC_0OIRMjM4gZDC

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 zaref-bond-repayment-calculator-32fdb06b -d '<json body>'
```

Example prompt: Can you calculate my monthly bond repayment on a R2 million home loan in South Africa, with a R200 000 deposit, at an interest rate of 11.75% over 20 years?

## When to prefer this

Choose this endpoint when you need a South African-specific bond repayment calculation with clean JSON output suitable for AI agents, particularly when working within a broader zaref.dev data pipeline that already uses South African interest rates, FX, or property data. Prefer this over generic mortgage calculators when the user is explicitly dealing with South African home loans (bonds) and needs a cited, reliable, machine-readable result.

## Known failure modes

- Missing required query parameters (amount, rate, years) return an error response
- Invalid or non-numeric parameter values may result in a 400 error
- Extremely high or low rate values outside realistic bounds may return validation errors
- HEAD method returns headers only — response body must be fetched via GET for actual data

## How this service works

South African reference data as clean, cited JSON: fuel prices, interest rates, FX and bond yields, tax tables, tariffs, wages and grants, live government tenders and crypto prices, plus calculators. Built for AI agents and applications.

## Output

Returns computed bond repayment figures in JSON, including the monthly instalment amount based on the provided principal, annual interest rate, loan term in years, and optional deposit, using standard South African amortisation methodology.

## 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": [
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "rate": {
       "type": "string"
      },
      "years": {
       "type": "string"
      },
      "amount": {
       "type": "string"
      },
      "deposit": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zaref-bond-repayment-calculator-32fdb06b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zaref.dev](https://www.zero.xyz/host/zaref.dev/llms.txt)
