Python (SDK)
from datetime import date
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.corporate_actions.get_dividends(ticker="AAPL", tickers_any_of="AAPL,MSFT,GOOG", ticker_from="A", ticker_after="A", ticker_to="Z", ticker_before="Z", ex_dividend_date=date.fromisoformat("2024-08-11"), ex_dividend_date_from=date.fromisoformat("2024-01-01"), ex_dividend_date_after=date.fromisoformat("2024-01-01"), ex_dividend_date_to=date.fromisoformat("2024-12-31"), ex_dividend_date_before=date.fromisoformat("2024-12-31"), frequency=4, frequency_min=1, frequency_above=0, frequency_max=12, frequency_below=13, distribution_type=models.DistributionType.RECURRING, distribution_types="recurring,special", limit=100)
while res is not None:
# Handle items
res = res.next()import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.corporateActions.getDividends({
ticker: "AAPL",
tickersAnyOf: "AAPL,MSFT,GOOG",
tickerFrom: "A",
tickerAfter: "A",
tickerTo: "Z",
tickerBefore: "Z",
exDividendDate: new Date("2024-08-11"),
exDividendDateFrom: new Date("2024-01-01"),
exDividendDateAfter: new Date("2024-01-01"),
exDividendDateTo: new Date("2024-12-31"),
exDividendDateBefore: new Date("2024-12-31"),
frequency: 4,
frequencyMin: 1,
frequencyAbove: 0,
frequencyMax: 12,
frequencyBelow: 13,
distributionType: "recurring",
distributionTypes: "recurring,special",
limit: 100,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/corporate-actions/dividends \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/corporate-actions/dividends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/corporate-actions/dividends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/corporate-actions/dividends"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/corporate-actions/dividends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/corporate-actions/dividends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"nextUrl": "https://api.aries.com/v1/corporate-actions/dividends?next=...",
"requestId": "abdd5e0f749621028802750474bc45cc",
"results": [
{
"cashAmount": 0.26,
"distributionType": "recurring",
"exDividendDate": "2025-11-10",
"frequency": 4,
"payDate": "2025-11-13",
"recordDate": "2025-11-10",
"ticker": "AAPL"
}
],
"status": "OK"
}Corporate Actions
Dividend History
Retrieve historical dividend payments including amounts, ex-dividend dates, and payment schedules. Essential for income investment analysis and yield calculations.
Use Case: Calculate dividend growth rate over 10 years to identify dividend aristocrat stocks.
GET
/
v1
/
corporate-actions
/
dividends
Python (SDK)
from datetime import date
from finance_dev import FinanceDev, models
with FinanceDev(
security=models.Security(
client_id="<YOUR_CLIENT_ID_HERE>",
client_secret="<YOUR_CLIENT_SECRET_HERE>",
),
) as fd_client:
res = fd_client.corporate_actions.get_dividends(ticker="AAPL", tickers_any_of="AAPL,MSFT,GOOG", ticker_from="A", ticker_after="A", ticker_to="Z", ticker_before="Z", ex_dividend_date=date.fromisoformat("2024-08-11"), ex_dividend_date_from=date.fromisoformat("2024-01-01"), ex_dividend_date_after=date.fromisoformat("2024-01-01"), ex_dividend_date_to=date.fromisoformat("2024-12-31"), ex_dividend_date_before=date.fromisoformat("2024-12-31"), frequency=4, frequency_min=1, frequency_above=0, frequency_max=12, frequency_below=13, distribution_type=models.DistributionType.RECURRING, distribution_types="recurring,special", limit=100)
while res is not None:
# Handle items
res = res.next()import { FinanceDev } from "@ariesdotcom/finance-dev";
const financeDev = new FinanceDev({
security: {
clientID: "<YOUR_CLIENT_ID_HERE>",
clientSecret: "<YOUR_CLIENT_SECRET_HERE>",
},
});
async function run() {
const result = await financeDev.corporateActions.getDividends({
ticker: "AAPL",
tickersAnyOf: "AAPL,MSFT,GOOG",
tickerFrom: "A",
tickerAfter: "A",
tickerTo: "Z",
tickerBefore: "Z",
exDividendDate: new Date("2024-08-11"),
exDividendDateFrom: new Date("2024-01-01"),
exDividendDateAfter: new Date("2024-01-01"),
exDividendDateTo: new Date("2024-12-31"),
exDividendDateBefore: new Date("2024-12-31"),
frequency: 4,
frequencyMin: 1,
frequencyAbove: 0,
frequencyMax: 12,
frequencyBelow: 13,
distributionType: "recurring",
distributionTypes: "recurring,special",
limit: 100,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/corporate-actions/dividends \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/corporate-actions/dividends', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aries.com/v1/corporate-actions/dividends",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aries.com/v1/corporate-actions/dividends"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aries.com/v1/corporate-actions/dividends")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/corporate-actions/dividends")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"nextUrl": "https://api.aries.com/v1/corporate-actions/dividends?next=...",
"requestId": "abdd5e0f749621028802750474bc45cc",
"results": [
{
"cashAmount": 0.26,
"distributionType": "recurring",
"exDividendDate": "2025-11-10",
"frequency": 4,
"payDate": "2025-11-13",
"recordDate": "2025-11-10",
"ticker": "AAPL"
}
],
"status": "OK"
}Query parameter notes
Thetickers query parameter accepts a single symbol only. If you need multiple symbols, use tickersAnyOf with a comma-separated list.
The sort query parameter is a plain string, not an enum and not a separate asc / desc selector. Send the sort column together with its direction in the same value, for example sort=ticker.asc, sort=ex_dividend_date.desc, or sort=ticker.asc,ex_dividend_date.desc.Authorizations
Query Parameters
Response
Dividends data.
Paginated response containing dividend events.
Was this page helpful?