Dividend
FreeValueStandardPro
Fetch the dividend events of a symbol across a date range.
- Returns the dividend events for a symbol with an ex-date between the specified dates (inclusive).
- One row per payment, not per tax-character component, so summing
amountover a period gives that period's total. Where the source published a payment only as its parts, those parts are returned instead and flagged withis_component; a payment is never returned both ways.
AAPL · 20250303 · 20250306
from thetadatadx import Client
client = Client.from_env()
rows = client.market_data.corporate_action_dividend(
"AAPL", "20250303", "20250306",
)
for t in rows:
print(t.ex_dividend_date, t.amount, t.event_code) Sample response ·
JSON[
{
"amount": 0.77,
"announcement_date": "2020-01-29",
"distribution_type": "CASH",
"event_code": "DIV",
"ex_dividend_date": "2020-02-07",
"is_component": false,
"payment_date": "2020-02-13",
"record_date": "2020-02-10"
},
{
"amount": 0.82,
"announcement_date": "2020-05-01",
"distribution_type": "CASH",
"event_code": "DIV",
"ex_dividend_date": "2020-05-08",
"is_component": false,
"payment_date": "2020-05-14",
"record_date": "2020-05-11"
}
]Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | yes | - | Ticker symbol (e.g. AAPL) |
start_date | date | yes | - | Start date YYYYMMDD |
end_date | date | yes | - | End date YYYYMMDD |
timeout_ms | int | no | - | Per-request deadline in milliseconds. 0 means no deadline. |
Response
Rows of Dividend:
| Field | Type | Description |
|---|---|---|
announcement_date | i32 | Date the dividend was declared, as a YYYYMMDD integer. Absent while the dividend is pending. |
ex_dividend_date | i32 | Ex-dividend date as a YYYYMMDD integer. The range filter and sort key. |
record_date | i32 | Shareholder-of-record date as a YYYYMMDD integer. |
payment_date | i32 | Payment date as a YYYYMMDD integer. |
amount | f64 | Per-share dividend amount in USD. Absent when the source states no amount, which is not a payment of zero. |
event_code | string | Dividend type: DIV, DIVIF, FRANK or DIST. |
is_component | bool | False when the row is a whole payment. True when it is one part of a payment, broken out by tax character because the source published no combined total for it. Summing every returned row is correct either way. |
distribution_type | string | What kind of money the row represents, such as INCOME, LONG_TERM_CAPITAL_GAINS or RETURN_OF_CAPITAL. AGGREGATE marks a total whose parts are not returned, CASH a plain payment given without a breakdown, and UNSPECIFIED a row whose source stated no kind. |