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_stock_split(ticker="AAPL", tickers_any_of="AAPL,TSLA,NVDA", ticker_from="A", ticker_after="A", ticker_to="Z", ticker_before="Z", execution_date=date.fromisoformat("2020-08-31"), execution_date_from=date.fromisoformat("2020-01-01"), execution_date_after=date.fromisoformat("2020-01-01"), execution_date_to=date.fromisoformat("2024-12-31"), execution_date_before=date.fromisoformat("2024-12-31"), adjustment_type=models.GetStockSplitsAdjustmentType.FORWARD_SPLIT, adjustment_types="forward_split,reverse_split", 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.getStockSplit({
ticker: "AAPL",
tickersAnyOf: "AAPL,TSLA,NVDA",
tickerFrom: "A",
tickerAfter: "A",
tickerTo: "Z",
tickerBefore: "Z",
executionDate: new Date("2020-08-31"),
executionDateFrom: new Date("2020-01-01"),
executionDateAfter: new Date("2020-01-01"),
executionDateTo: new Date("2024-12-31"),
executionDateBefore: new Date("2024-12-31"),
adjustmentType: "forward_split",
adjustmentTypes: "forward_split,reverse_split",
limit: 100,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/stock/split \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/stock/split', 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/stock/split",
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/stock/split"
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/stock/split")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/stock/split")
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{
"requestId": "a47d1beb8c11b6ae897ab76a1b095d8d",
"results": [
{
"adjustmentType": "forward_split",
"executionDate": "2020-08-31",
"historicalAdjustmentFactor": 0.25,
"id": "E987D589F61E7FAE48774F7C79B0E801",
"splitFrom": 1,
"splitTo": 4,
"ticker": "AAPL"
}
],
"status": "OK"
}Stock Split History
Retrieve historical stock split information including execution dates, split ratios, and adjustment types. Adjust historical prices for accurate analysis.
Use Case: Adjust historical price charts for all past stock splits to show accurate returns.
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_stock_split(ticker="AAPL", tickers_any_of="AAPL,TSLA,NVDA", ticker_from="A", ticker_after="A", ticker_to="Z", ticker_before="Z", execution_date=date.fromisoformat("2020-08-31"), execution_date_from=date.fromisoformat("2020-01-01"), execution_date_after=date.fromisoformat("2020-01-01"), execution_date_to=date.fromisoformat("2024-12-31"), execution_date_before=date.fromisoformat("2024-12-31"), adjustment_type=models.GetStockSplitsAdjustmentType.FORWARD_SPLIT, adjustment_types="forward_split,reverse_split", 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.getStockSplit({
ticker: "AAPL",
tickersAnyOf: "AAPL,TSLA,NVDA",
tickerFrom: "A",
tickerAfter: "A",
tickerTo: "Z",
tickerBefore: "Z",
executionDate: new Date("2020-08-31"),
executionDateFrom: new Date("2020-01-01"),
executionDateAfter: new Date("2020-01-01"),
executionDateTo: new Date("2024-12-31"),
executionDateBefore: new Date("2024-12-31"),
adjustmentType: "forward_split",
adjustmentTypes: "forward_split,reverse_split",
limit: 100,
});
for await (const page of result) {
console.log(page);
}
}
run();curl --request GET \
--url https://api.aries.com/v1/stock/split \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aries.com/v1/stock/split', 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/stock/split",
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/stock/split"
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/stock/split")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aries.com/v1/stock/split")
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{
"requestId": "a47d1beb8c11b6ae897ab76a1b095d8d",
"results": [
{
"adjustmentType": "forward_split",
"executionDate": "2020-08-31",
"historicalAdjustmentFactor": 0.25,
"id": "E987D589F61E7FAE48774F7C79B0E801",
"splitFrom": 1,
"splitTo": 4,
"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=execution_date.desc or sort=ticker.asc,execution_date.desc.
Response payload
Successful responses return aresults array of split events. Each event uses ticker, executionDate, splitFrom, and splitTo; optional event metadata includes id, adjustmentType, and historicalAdjustmentFactor. Paginated responses can include nextUrl, and the response wrapper includes status.Authorizations
Query Parameters
Single ticker symbol only, such as AAPL. Do not send a comma-separated list here; if you need multiple symbols, use tickersAnyOf instead. Multiple comma-separated values return HTTP 400: "Multiple tickers are not supported. Please provide a single ticker." Cannot be combined with tickersAnyOf; sending both returns HTTP 400: "Cannot specify both ticker and tickersAnyOf. Use ticker for a single symbol or tickersAnyOf for multiple."
"AAPL"
Response
Successful response
Stock split events with ratio and adjustment details, as returned by the upstream data provider.
Was this page helpful?