# x402stock Dividends Endpoint

> x402stock Dividends Endpoint is a paid API for AI agents from x402stock.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-01).

Returns dividend history and upcoming dividend events for a given US stock ticker, including cash amount, pay date, ex-dividend date, record date, and frequency.

## Facts

- Endpoint: GET https://x402stock.vercel.app/api/v1/dividends/%7Bticker%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-dividends-endpoint-8d78aed7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iP2rP2ULs5A8GcEtIAzC0

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 x402stock-dividends-endpoint-8d78aed7
```

Example prompt: What are the upcoming dividends for AAPL — give me the pay date, ex-dividend date, and cash amount per share.

## When to prefer this

Use this endpoint when you need structured dividend data for a specific US-listed stock, including upcoming payment dates and cash amounts per share, without setting up an account or API key — paying $0.01 USDC per call via x402. Prefer this over brokerage or premium financial data APIs when you need lightweight, pay-as-you-go access for AI agent workflows that only occasionally need dividend data.

## Known failure modes

- Invalid or unrecognized ticker symbol returns an error or empty dividend array
- Ticker for a non-dividend-paying stock returns an empty dividends list
- Payment failure via x402 protocol if USDC balance is insufficient
- Service unavailability returns a 5xx error
- Stale data if the upstream provider (Massive) has not updated recently

## How this service works

US stock prices, snapshots, OHLC bars, fundamentals, corporate actions, technical indicators and news for AI agents. No API keys. No accounts. Pay per request in USDC via x402.

## Output

A JSON object containing the ticker symbol, as-of timestamp, data source, and an array of dividend records. Each dividend record includes: cash amount per share, currency, pay date, ex-dividend date, record date, declaration date, dividend type (e.g. 'CD' for cash dividend), and payment frequency (e.g. 4 for quarterly).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "count": 1,
   "dividends": [
    {
     "currency": "USD",
     "pay_date": "2026-05-14",
     "frequency": 4,
     "cash_amount": 0.27,
     "record_date": "2026-05-11",
     "dividend_type": "CD",
     "declaration_date": "2026-04-30",
     "ex_dividend_date": "2026-05-11"
    }
   ]
  },
  "as_of": "2026-05-29T20:00:00.000Z",
  "source": "massive",
  "ticker": "AAPL"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-dividends-endpoint-8d78aed7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.vercel.app](https://www.zero.xyz/host/x402stock.vercel.app/llms.txt)
