# zaref Crypto Classifier for South African Tax Purposes

> zaref Crypto Classifier for South African Tax Purposes is a paid API for AI agents from zaref.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Classifies a crypto trading activity as revenue or capital for South African tax purposes based on trading frequency and holding period

## Facts

- Endpoint: HEAD https://zaref.dev/calc/crypto-classify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zaref-crypto-classifier-for-south-african-tax-purposes-284fd060
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w4A_CJx8A37_SxnYnj66_

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-crypto-classifier-for-south-african-tax-purposes-284fd060 -d '<json body>'
```

Example prompt: I trade crypto about 15 times a month and typically hold for 2 months — can you classify whether my activity would be treated as revenue or capital for South African tax purposes?

## When to prefer this

Use this endpoint when you need a quick, South Africa-specific crypto tax classification based on trading behavior metrics. Prefer this over generic tax advice tools when the user is specifically subject to SARS rules and needs to distinguish between revenue account and capital account treatment for cryptocurrency. Best suited for agents helping South African users with tax planning or SARS compliance.

## Known failure modes

- Missing required 'intention' parameter returns an error or incomplete classification
- Invalid or non-numeric values for trades_per_month or holding_period_months may cause a bad request
- HEAD method returns no response body — classification result may only be communicated via headers or status code
- Ambiguous edge cases near the revenue/capital boundary may yield uncertain classifications

## 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 a South African tax classification for the described crypto trading activity — indicating whether it would likely be treated as revenue (taxed as income) or capital (subject to capital gains tax), based on the provided trading frequency, holding period, and stated intention.

## 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": {
      "intention": {
       "type": "string"
      },
      "trades_per_month": {
       "type": "string"
      },
      "holding_period_months": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zaref-crypto-classifier-for-south-african-tax-purposes-284fd060/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)
