# Stock Dividends & Split History API

> Stock Dividends & Split History API is a paid API for AI agents from agent402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns the full dividend and stock-split history for a given ticker symbol, including ex-dates, cash amounts, split dates, and split ratios over a configurable time range.

## Facts

- Endpoint: GET https://agent402.tools/api/stock-dividends
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stock-dividends-split-history-api-1e3438d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KMeILdhqq08ImCDepfzqm

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 stock-dividends-split-history-api-1e3438d3
```

Example prompt: Can you pull the full dividend and stock-split history for Johnson & Johnson (JNJ) over the last 10 years — I want to see every ex-date, payment amount, and any split ratios?

## When to prefer this

Use this endpoint when you need structured, per-event dividend and split history for a specific public equity ticker, especially when you want both corporate actions (dividends and splits) in a single call with configurable date ranges. Prefer this over scraping financial sites or using general-purpose search when you need clean, machine-readable records for analysis or portfolio calculations.

## Known failure modes

- Invalid or unrecognized ticker symbol returns empty arrays or an error
- Unsupported range value returns a validation error
- Network or upstream Yahoo Finance outage may cause timeouts or partial data
- Payment not completed (x402 required) blocks the request

## How this service works

Dividend and stock-split history for a ticker: every cash dividend (ex-date + amount) and split (date + ratio) over a configurable range (default 5y, up to max). Empty arrays for non-payers - a valid answer, not an error. Backed by Yahoo Finance's chart endpoint with events=div,split.

## Output

Returns two arrays: one listing every cash dividend event (ex-date and amount per share) and one listing every stock split event (date and ratio), both covering the requested time window. Non-dividend-paying stocks return empty arrays rather than an error.

## 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": [
      "symbol"
     ],
     "properties": {
      "range": {
       "type": "string",
       "description": "History window: 1y, 2y, 5y, 10y, ytd, max (default 5y)"
      },
      "symbol": {
       "type": "string",
       "description": "Ticker symbol (e.g. AAPL)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "currency",
      "range",
      "dividends",
      "splits",
      "dividendCount",
      "splitCount"
     ],
     "properties": {
      "range": {
       "type": "string"
      },
      "splits": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "symbol": {
       "type": "string"
      },
      "currency": {
       "type": "string"
      },
      "dividends": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "splitCount": {
       "type": "integer"
      },
      "dividendCount": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "range": "5y",
  "splits": [
   {
    "date": "2020-08-31",
    "ratio": "4:1",
    "numerator": 4,
    "denominator": 1
   }
  ],
  "symbol": "AAPL",
  "currency": "USD",
  "dividends": [
   {
    "date": "2026-05-11",
    "amount": 0.26
   }
  ],
  "splitCount": 1,
  "dividendCount": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stock-dividends-split-history-api-1e3438d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
