# Israel Capital Gains Tax Calculator

> Israel Capital Gains Tax Calculator is a paid API for AI agents from heb-utils-x402.hebutils-api.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Calculates Israeli capital gains tax on an asset sale, returning the real (inflation-adjusted) gain and estimated total tax in ILS

## Facts

- Endpoint: GET https://heb-utils-x402.hebutils-api.workers.dev/il-capital-gains?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/israel-capital-gains-tax-calculator-d24b957b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BG1d60qSQ0GVwKKR84VjS

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 israel-capital-gains-tax-calculator-d24b957b
```

Example prompt: I sold an Israeli asset for 500,000 ILS that I originally bought for 300,000 ILS. The CPI index at purchase was 100 and at sale was 120. My other taxable income this year is 80,000 ILS and I'm not a substantial shareholder — can you calculate my Israeli capital gains tax?

## When to prefer this

Use this endpoint when you need a quick arithmetic estimate of Israeli capital gains tax, especially with CPI-based inflation indexing or when accounting for substantial shareholder status. Prefer this over generic tax calculators when the jurisdiction is specifically Israel and you need the real-gain adjustment baked in.

## Known failure modes

- Missing required 'cost' or 'sale' query parameters returns a validation error
- Non-numeric values for cost, sale, or index fields cause a parse error
- Negative or zero cost/sale values may return unexpected results
- Payment failure (x402) if USDC balance is insufficient
- Rate limiting if too many requests are made in quick succession

## How this service works

Pay-per-call utility APIs in USDC on Base: Hebrew calendar and text tools, Shabbat times, Base token control-risk screen and address summary, plus finance arithmetic tools. General information and arithmetic only; not investment, tax or legal advice and not a recommendation to buy, sell or hold anything.

## Output

Returns a JSON object with the inflation-adjusted real gain (real_gain) and the estimated total capital gains tax owed (estimated_total_tax), both in ILS. These are arithmetic estimates for informational purposes only, not official tax advice.

## 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": [
      "cost",
      "sale"
     ],
     "properties": {
      "cost": {
       "type": "string"
      },
      "sale": {
       "type": "string"
      },
      "cost_index": {
       "type": "string"
      },
      "sale_index": {
       "type": "string"
      },
      "other_taxable_income": {
       "type": "string"
      },
      "substantial_shareholder": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "real_gain": 40000,
  "estimated_total_tax": 10000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/israel-capital-gains-tax-calculator-d24b957b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from heb-utils-x402.hebutils-api.workers.dev](https://www.zero.xyz/host/heb-utils-x402.hebutils-api.workers.dev/llms.txt)
