# Investing Math – Dividend Yield & Income Calculator

> Investing Math – Dividend Yield & Income Calculator is a paid API for AI agents from invest-math.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates dividend yield, annual/monthly income, yield on cost, and projected cumulative dividends over time with optional dividend growth.

## Facts

- Endpoint: GET https://invest-math.x402tookit.com/dividend-math?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/investing-math-dividend-yield-income-calculator-0e64760a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hUXFYgjvwX4emP5J44ylC

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 investing-math-dividend-yield-income-calculator-0e64760a
```

Example prompt: I own 200 shares of a stock priced at $75 with an annual dividend of $3 per share and a 4% annual dividend growth rate — can you calculate the dividend yield, my yearly and monthly income, and project what my cumulative dividends and yield on cost will look like after 15 years?

## When to prefer this

Use this endpoint when you need to compute dividend-specific investing metrics — yield, income projections, yield on cost, and cumulative dividend totals — especially with a dividend growth rate component. Prefer it over generic financial calculators when the user is evaluating income-generating dividend stocks or planning long-term passive income from equity holdings.

## Known failure modes

- Missing required fields (price or annualDividend) returns a validation error
- Years outside 1–60 range may be rejected or clamped
- Negative price or dividend values may produce nonsensical results
- Zero price causes division-by-zero for yield calculation
- Network/payment failure returns HTTP 402 or 5xx error

## How this service works

Dividend yield, yearly income, and yield on cost and total dividends after years of dividend growth.

## Output

Returns dividend yield percentage, annual and monthly income, total position value, yield on cost percentage, the projected dividend per share after N years of growth, and cumulative dividends collected over the projection period. Also includes growth rate used and optional disclaimers.

## 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": [
      "price",
      "annualDividend"
     ],
     "properties": {
      "price": {
       "type": "number",
       "description": "Share price"
      },
      "years": {
       "type": "integer",
       "description": "Years to project, 1 to 60 (default 10)"
      },
      "shares": {
       "type": "number",
       "description": "Shares held, default 100"
      },
      "growthPct": {
       "type": "number",
       "description": "Yearly dividend growth in percent, default 0"
      },
      "annualDividend": {
       "type": "number",
       "description": "Dividend per share per year"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "years": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "yieldPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "growthPct": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "annualIncome": {
       "type": [
        "null",
        "number"
       ]
      },
      "monthlyIncome": {
       "type": [
        "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/investing-math-dividend-yield-income-calculator-0e64760a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from invest-math.x402tookit.com](https://www.zero.xyz/host/invest-math.x402tookit.com/llms.txt)
