Stock Split API
The Stock Split API provides historical and upcoming stock split data for companies listed on the world's largest stock exchanges. Look up a company's full split history by ticker, or query a forward / reverse split calendar by date range and exchange.
From 2,514 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 415ms | 438ms | 472ms | 876ms | 1335ms |
Didn't find what you were looking for? Suggest an improvement
/v1/stocksplit GET
https://api.api-ninjas.com/v1/stocksplit
Returns a list of stock split records matching your filters. With no parameters, returns splits dated between 30 days ago and 30 days from now (recent and upcoming). Up to 50 records are returned per request by default (configurable via limit, max 1000).
Parameters
All parameters are optional.
tickeroptionalCompany ticker symbol. For U.S.-listed stocks use the bare symbol (e.g.
GOOG); for international listings include the exchange suffix as the symbol trades (e.g.7203.Tfor Toyota on Tokyo,RELIANCE.NSfor Reliance on NSE India). Returns that company's full split history.exchangeoptionalFilter results to a single exchange by its code — for example
US,JPX(Tokyo),LSE(London),HKSE(Hong Kong), orNSE(India).split_typeoptionalFilter by split direction:
forward(e.g. 4-for-1) orreverse(a consolidation, e.g. 1-for-10).dateoptionalSingle date in YYYY-MM-DD format. Cannot be combined with
date_startordate_end.date_startoptionalRange start in YYYY-MM-DD format. Free-tier users cannot query earlier than 24 months ago.
date_endoptionalRange end in YYYY-MM-DD format.
limitoptionalMaximum results to return. Default
50, max1000.offsetoptionalNumber of results to skip for pagination. Default
0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of stock split records, each containing the following fields, or an error if the request is unsuccessful.
tickerCompany ticker symbol, including the exchange suffix for international listings.
nameCompany name.
short_nameCompany name with the trailing legal form (Inc., Ltd., Corp., etc.) removed.
exchangeExchange code for the listing — e.g.
US,JPX,HKSE,LSE, orNSE.dateEffective (ex-) date of the split (YYYY-MM-DD).
numeratorShares held after the split (the
4in a 4-for-1 split).denominatorShares held before the split (the
1in a 4-for-1 split).ratioHuman-readable split ratio, e.g.
4:1or1:10.split_factorNumeric multiplier (numerator ÷ denominator) — e.g.
4for a 4-for-1 split,0.1for a 1-for-10 reverse split. Use it to back-adjust historical prices and share counts.split_typeforwardwhen numerator ≥ denominator;reversefor a consolidation.currencyTrading currency of the listing (e.g.
USD,JPY,HKD).
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/stocksplit?ticker=GOOGHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/stocksplit?ticker=GOOG" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Stock Split API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Stock Split API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Stock Split API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Stock Split API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.What data and coverage does the Stock Split API provide?
It provides historical and upcoming stock splits for companies listed on the world's largest stock exchanges, spanning the major U.S., European, and Asian markets. Both forward splits and reverse splits (consolidations) are covered, each with its exact ratio and effective date. To pair splits with prices, see the Stock Price API.How do I look up stock splits for a specific company?
Pass thetickerparameter to/v1/stocksplit. For U.S.-listed stocks use the bare symbol (e.g.AAPL); for international listings include the exchange suffix exactly as the symbol trades (e.g.7203.Tfor Toyota on Tokyo, orRELIANCE.NSfor Reliance on NSE India). The endpoint returns that company's full split history, most recent first. Look up or resolve symbols with the Ticker API.How do I query a split calendar over a date range?
Usedate_startanddate_end(both YYYY-MM-DD) to define a window, optionally narrowing byexchangeorsplit_type(forwardorreverse); with no parameters the endpoint returns splits dated from 30 days ago through 30 days ahead, covering both recent and upcoming splits. Free-tier requests cannot query adate_startearlier than 24 months ago, so deeper history requires a paid plan, and you can page through large result sets withlimit(default 50, max 1000) andoffset.What does a stock split record include?
Each record includes theticker, companynameandshort_name,exchange, the splitdate, the rawnumeratoranddenominator, a human-readableratio(e.g.4:1), a numericsplit_factor(e.g.4for a 4-for-1 split or0.1for a 1-for-10 reverse split), thesplit_type(forwardorreverse), and the tradingcurrency. Usesplit_factorto back-adjust historical prices and share counts.