Stock Splits

Obtain the stock splits of each company, with the split ratio as a numerator and denominator: a 4-for-1 split has numerator 4 and denominator 1, while a reverse split has a numerator smaller than its denominator.

Splits change the number of shares but not the value of the company, which is why historical prices are adjusted for them.

Automatically filtered to this Toolkit instance’s start and end date.

Also known as: share splits, reverse splits, split history.

Example · NVDA, AAPL, TSLA, GOOGL, AMZN · 2020 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_stock_splits:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["NVDA", "AAPL", "TSLA", "GOOGL", "AMZN"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2020-01-01",
    end_date="2025-12-31",
)

toolkit.get_stock_splits()[["Numerator", "Denominator"]]

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

When did Nvidia, Apple, Tesla, Alphabet and Amazon split their shares from 2020 to 2025, and at what ratio?

Which returns:

Item Numerator Denominator
(‘NVDA’, ‘2021-07-20’) 4 1
(‘NVDA’, ‘2024-06-10’) 10 1
(‘AAPL’, ‘2020-08-31’) 4 1
(‘TSLA’, ‘2020-08-31’) 5 1
(‘TSLA’, ‘2022-08-25’) 3 1
(‘GOOGL’, ‘2022-07-18’) 20 1
(‘AMZN’, ‘2022-06-06’) 20 1

Parameters

get_stock_splits accepts the following parameters.

ParameterTypeDescriptionExample
overwriteboolDefines whether to overwrite the existing data. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column
Share