RealGainz
Enhance your financial potential with RealGainz. Our real-time API delivers accurate financial data, empowering you to stay ahead in the market. Transform data into actionable insights and maximize your gains with RealGainz. An indispensable tool for all finance professionals and enthusiasts seeking a clear and up-to-date view of the market.
RealGainz endpoints
| Method | Endpoint | Description |
|---|---|---|
| Stock Data | ||
| GET |
Detect Descending Triangle /{symbol}/descending-triangle/{start_date}/{end_date}/{breakout_direction}/{breakout_date}/{target_price} |
Example of Use: To detect a Descending Triangle pattern for Apple’s stocks from January 1, 2023, to March 1, 2023, with a downward breakout on March 5, 2023, and a target price… |
| GET |
Detect Ascending Triangle /stock-data/{symbol}/ascending-triangle/{start_date}/{end_date}/{breakout_direction}/{breakout_date}/{target_price} |
Example of Use: To detect an Ascending Triangle pattern for Apple’s stocks from January 1, 2023, to March 1, 2023, with an upward breakout on March 5, 2023, and a target price of… |
| GET |
Detect Symmetric Triangle /stock-data/{symbol}/symmetric-triangle/{start_date}/{end_date}/{breakout_direction}/{breakout_date}/{target_price} |
Example of Use: To detect a Symmetric Triangle pattern for Apple’s stocks from January 1, 2023, to March 1, 2023, with an upward breakout on March 5, 2023, and a target price of… |
| GET |
Get Candlestick data /stock-data/{symbol}/candlestick |
Example of Use: To get the candlestick data of Microsoft’s stocks, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/candlestick. |
| GET |
Get Relative Volume data /stock-data/{symbol}/rvol/{period} |
Example of Use: To get the RVOL data of Microsoft’s stocks with a period of 20, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/rvol/20. |
| GET |
Get ADX data /stock-data/{symbol}/adx/{period} |
Example of Use: To get the ADX data of Microsoft’s stocks with a period of 20, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/adx/20. |
| GET |
Get stochastic data /stock-data/{symbol}/stochastic/{period}/{signalPeriod} |
Example of Use: To get the stochastic oscillator data of Microsoft’s stocks with a period of 20 and a signal period of 5, make a GET request to… |
| GET |
Get SMA data /stock-data/{symbol}/sma/{interval}/{time_period}/{series_type} |
Example of Use: To get the weekly SMA data of Microsoft’s stocks based on the opening price for a time period of 20, make a GET request to… |
| GET |
Get EMA data /stock-data/{symbol}/ema/{interval}/{time_period}/{series_type} |
Example of Use: To get the weekly EMA data of Microsoft’s stocks based on the opening price for a time period of 30, make a GET request to… |
| GET |
Get RSI data /stock-data/{symbol}/rsi/{interval}/{time_period}/{series_type} |
Example of Use: To get the weekly RSI data of Microsoft’s stocks based on the opening price for a time period of 20, make a GET request to… |
| GET |
Get Bollinger Bands data /stock-data/{symbol}/bbands/{period}/{stdDev} |
Example of Use: To get the Bollinger Bands data of Microsoft’s stocks with a period of 30 and a standard deviation of 3, make a GET request to… |
| GET |
Get MACD data /stock-data/{symbol}/macd/{fastPeriod}/{slowPeriod}/{signalPeriod} |
Example of Use: To get the MACD data of Microsoft’s stocks with a fast period of 10, a slow period of 20, and a signal period of 7, make a GET request to… |
| GET |
Get EPS /stock-data/{symbol}/eps |
Example of Use: To get the EPS of Microsoft, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/eps. |
| GET |
Get PE ratio /stock-data/{symbol}/pe-ratio |
Example of Use: To get the P/E ratio of Microsoft, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/pe-ratio. |
| GET |
Get dividend yield /stock-data/{symbol}/dividend-yield |
****Endpoint****: https://realgainz.p.rapidapi.com/stock-data/{symbol}/dividend-yield **Description**: This endpoint returns the dividend yield of a specific company in… |
| GET |
Get market cap /stock-data/{symbol}/market-cap |
Example of Use: To get the market capitalization of Microsoft, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/market-cap. |
| GET |
Get stock dividends /stock-data/{symbol}/dividends |
Example of Use: To get the dividend data of Microsoft’s stocks, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/dividends. |
| GET |
Get stock volumes /stock-data/{symbol}/volume |
Example of Use: To get the trading volume of Microsoft’s stocks, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/volume. |
| GET |
Get current stock prices /stock-data/{symbol}/currentPrice |
Example of Use: To get the current price of Microsoft’s stocks, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/currentPrice. |
| GET |
Get low stock prices /stock-data/{symbol}/lowPrice |
**Endpoint**: https://realgainz.p.rapidapi.com/stock-data/{symbol}/lowPrice **Description**: This endpoint returns the lowest price of a specific company’s stocks in real-time.… |
| GET |
Get max stock prices /stock-data/{symbol}/maxPrice |
Example of Use: To get the maximum price of Microsoft’s stocks, make a GET request to https://realgainz.p.rapidapi.com/stock-data/MSFT/maxPrice. |
| GET |
Get closing stock prices /stock-data/{symbol}/closing |
Example of Use: To get the closing price of Microsoft’s stocks, make a GET request to http://localhost:3000/stock-data/MSFT/closing. |
| GET |
Get opening stock prices /stock-data/{symbol}/opening |
Example of Use: To get the opening price of Microsoft’s stocks, make a GET request to http://localhost:3000/stock-data/MSFT/opening. |
| Efficiency Ratios | ||
| GET |
Get Asset Turnover Ratio for a range of years /financial-data/efficiency/{symbol}/asset-turnover-ratio/{startYear}/{endYear} |
Example of Use: To get the Asset Turnover Ratio for Apple from the year 2020 to 2022, make a GET request to https://realgainz.p.rapidapi.com/financial-data/efficiency/AAPL/asset-t… |
| GET |
Get Average Collection Period /financial-data/efficiency/{symbol}/average-collection-period/{startYear}/{endYear} |
Example of Use: To get the Average Collection Period for Apple from the year 2020 to 2022, make a GET request to… |
| Liquidity Ratios | ||
| GET |
Get Current Ratio /financial-data/liquidity/{symbol}/current-ratio/{year} |
Example of Use: To get the Current Ratio for Apple for the year 2023, make a GET request to https://realgainz.p.rapidapi.com/financial-data/liquidity/AAPL/current-ratio/2023 |
| GET |
Get Quick Ratio /financial-data/liquidity/{symbol}/quick-ratio/{year} |
Example of Use: To get the Quick Ratio for Apple for the year 2023, make a GET request to https://realgainz.p.rapidapi.com/financial-data/liquidity/AAPL/quick-ratio/2023. |
| Market Ratios | ||
| GET |
Get P/E Ratio /financial-data/market/{ticker}/pe-ratio |
Parameters: • {ticker}: The ticker symbol of the company for which you want to get the P/E Ratio. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. Example of Use: To… |
| GET |
Get real-time stock data /financial-data/market/{ticker}/real-time |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the real-time stock data. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. Example of… |
| GET |
Get relevant dividend data /financial-data/market/{symbol}/dividend-info |
Parameters: {symbol}: The symbol of the company for which you want to get the dividend information. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. Example of Use: To… |
| Profitability Ratios | ||
| GET |
Get the gross margin of a company /financial-data/market/{symbol}/dividend-info |
Parameters: {symbol}: The symbol of the company for which you want to get the dividend information. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. Example of Use: To… |
| GET |
Get the operating margin of a company /financial-data/profitability/{ticker}/operating-margin/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the Operating Margin. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The year… |
| GET |
Get the net profit margin of a company /financial-data/profitability/{ticker}/net-profit-margin/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the Net Profit Margin. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The… |
| GET |
Get the return on assets (ROA) of a company /financial-data/profitability/{ticker}/roa/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the ROA. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The year for which… |
| GET |
Get the return on equity (ROE) of a company /financial-data/profitability/{ticker}/roe/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the ROE. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The year for which… |
| Solvency Ratios | ||
| GET |
Get Debt to Equity Ratio /financial-data/solvency/{ticker}/debt-to-equity-ratio/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the Debt to Equity Ratio. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The… |
| GET |
Get Debt to Assets Ratio /financial-data/solvency/{ticker}/debt-to-assets-ratio/{year} |
Parameters: {ticker}: The ticker symbol of the company for which you want to get the Debt to Assets Ratio. For example, AAPL for Apple Inc., MSFT for Microsoft, etc. {year}: The… |
RealGainz pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 200 / hour |
|
| PRO Recommended | $20 / month | 1000 / hour |
|
| ULTRA | $40 / month | 2500 / hour |
|