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 |
|---|---|---|---|---|
| 370ms | 418ms | 425ms | 771ms | 1261ms |
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 this API endpoint with all available parameters in our API playground
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.