Blog » APIs » Top 8 Best Stock Market APIs to Use in 2023
By Team RapidAPI //
Whether you're building an algorithmic trading prediction app or charting historical stock market data for various stock ticker symbols, a finance or stock market API (Application Programming Interface) will come in handy.
In this API roundup, you'll find the top stock market APIs developers most commonly use on the Rapid API Hub to get real-time stock quotes, data feeds, and stock exchanges. Some APIs may provide data available in CSV formats.
FAQs What API should I use to get stock prices? All APIs listed in this article provide stock prices, some even include additional datapoints such as historical data and crypto data. Click Connect to API to see all of the API documentation including API calls, API requests, authentication, and endpoints. Is Nasdaq API free? The Nasdaq Stock Pricing API listed on the Rapid API Hub is free to use. Check it out here. How much does the API cost? This article covers both free APIs and paid stock APIs, and the cost and pricing ranges from $0-$329/month. This article will dive into some of the best paid and free stock APIs for developers. What is the best stock market data API? After reviewing over 75 stock market data APIs, we found these 8 APIs to be the very best and worth mentioning:- Twelve Data
- YH Finance
- Yahoo Finance
- RealStonks
- Latest Stock Price
- Alpha Vantage API
- Stock and Options Trading Data Provider API
- Finage Currency Data Feed API
- Twelve Data API
- YH Finance API
- Yahoo Finance API
- RealStonks API
- Latest Stock Price API
- Alpha Vantage API
- Stock and Options Trading Data Provider API
- Finage Currency Data Feed API
- Currency convertor
- YH historical
- Stock snapshot
- Simple stock price
- Financials
- Options
- Analysis
- Historical Data
- Statistics
- Charts
- Newfeeds
- Timeseries
- Balance sheets
- and more
- Yahoo Finance with Python
- Quote
- Search
- Customizable
- Forex(FX)
- Digital & crypto currencies
- Technical indicators
- Yahoo Finance with Python
- Options
- Straddle
- Best Stock Market Apps for Android
- Best Stock Market Sites to Check Investments
- Finance summaries
- Movers
- Quotes
- Stock charts
- Historical data
- Newsfeed
- Time-series
- Balance sheets
- Profiles
- sanko/Robinhood
- Jamonek/Robinhood
- robinhood
- Node.js
- PHP
- Python
- Ruby
- Objective-C
- Java (for Android)
- C# (.net)
- cURL
- RapidQL
- Finage Currency Data Feed
- Schwab - Research investments, and follow market news
- FCS - Powered by 25+ currency exchange rate data sources. The FCS delivering real-time 145+ country and 2000+ Forex currencies. 5000+ Crypto Currencies data, and 30+ Countries stocks data.
- Crypto Asset Tickers - Brave New Coin spot price tickers and currency conversion for 500+ crypto assets.
- Finnhub - Realtime Stock Price - We provide API for realtime stock data, forex and crypto. Register for FREE API key here: https://finnhub.io/register
- Investors Exchange (IEX) Trading - The IEX API is a is a free, web-based API supplying IEX quoting and trading data.
- Currency Converter - Provides exchange rates based on the official banks data.
- Alpha Vantage - The simplest and most effective way to receive both realtime and historical stock, FX, technical indicators, cryptocurrency, and sector performance data. Constantly ranked number one for ease of use, accuracy, and price. See the documentation. Start now for free.
- Latest Mutual Fund NAV - API provides latest NAV information of all mutual funds in India from Association of Mutual Funds of India (AMFI). The database will update as soon as data is updated on AMFI.
- Breaking News - MyAllies News delivers real-time news and stock pricing from across the globe and information on the latest breaking business and financial news.
- Hryvna Today - Exchange rates from Hryvna Today
- Currency - Accurate and reliable currency exchange rates for over 150 currencies
- Coinranking - Data about all cryptocurrencies and exchanges.
- Currency Value - Get fast and reliable price conversion values.
- CurrencyScoop - CurrencyScoop is a developer-friendly and enterprise-grade REST API which provides real-time , daily and historical exchange rates for 168 world currencies and precious metals, delivered in a JSON format and compatible with any application, framework or language. The CurrencyScoop Forex data powers currency converters, mobile apps and back-office systems around the world.
- Option Chain - The Option Chain Data API is developed by Inter Data Limited to provide real-time Options and Stock data for United States listed options. The data is provided in easy to consume JSON format through RESTful API. The data covers all expirations dates of a listed options.
- Stock and Options Trading Data Provider - No. 1 rated U.S listed stock and options data provider with the lowest cost. The cloud based API has a simple interface and return easy to consume data in JSON format.
- Quandl - The premier source for financial, economic, and alternative datasets, serving investment professionals. Quandl’s platform is used by over 400,000 people, including analysts from the world’s top hedge funds, asset managers and investment banks.
- kuponiko - Be first to get the coupons that get posted online.
- Current Precious Metal Price - This API can be used to get the current price of gold, silver, platinum, and palladium in US dollars per troy ounce.
- walletapi.cloud - Integrate a ledger layer enabling asset accounting or closed-loop payments between your users or IoT devices.
- SEC Filings - A collection of methods that returns various financial data for a requested company including SEC Filings, balance sheets, financial ratios , company look-up utilities and more.
- Thailand National Lottery - Thai National Lottery results, check the Thai National Lottery here as soon as the numbers are drawn.
- Blockchain Info - Plaintext query api to retreive data from blockchain.info
- AwesomeAPI Exchange - Cotação de Moedas
- Path. Cryptocurrency. - One interface to retrieve transactions across crypto exchanges and wallets. Create your own Coin Trackers, Portfolio Managers and more.
- Mortgage Payments - A simple API to calculate monthly mortgage payments, including principal and interest; taxes; homeowners insurance; and mortgage insurance.
- Zirra - Zirra makes non-traditional data usable for investors to reduce risk, increase return and boost overall educated decisions. Billions of data points, thousands of sources processed daily, powered by AI.
- Tradematic Cloud - Back-end infrastructure for building investment and trading apps. Build your MVP for free. Scale it to full-featured app, when you have real traction. All you need to do is customize your front-end.
- Investing - Cryptocurrency Markets - These APIs provide data of all cryptocurrencies, markets, ideal for tracking prices and exchange rates.
- Taxee - MEET TAXEE
- Simple Currency Conversion - Quick currency converter using IMF and bank data
- Fidelity Investments - Query for quote data, market movers, international markets, sector performance, orders, chart, and news
- Global Bitcoin Price Index - GBX - BitcoinAverage.com is proud of the fact that we were the first global price index in the cryptocurrency and blockchain industry, and have proven over the years to also be one of the most reliable. It is considered by most as the de facto standard bitcoin price index.
- vatlayer - Vatlayer is a simple REST-based JSON API offering instant EU VAT number validation, VAT compliant price calculations and VAT rates for all 28 current member states of the European Union. Its system is secured by HTTPS and focused on ease of use & integration, delivering all VAT data in lightweight and highly portable JSON format.
- EUR Risk Free Rate - Complete euro yield curve with one query
- Currency Quake - Provides Access to the statistical strength of all 8 major currencies, across 28 Forex pairs and on 4 different time frames.
- FinsentsAPI - Equity news sentiment for smarter investment decisions. News Sentiment is derived from millions of web sources. It helps tracking the volume of information published for a given company, and its degree of positiveness or negativeness. Can be used as input for predicting stock prices.
- Bitcoin Historical Price Data - BitcoinAverage.com is proud of the fact that we were the first global price index in the cryptocurrency and blockchain industry, and have proven over the years to also be one of the most reliable. It is considered by most as the de facto standard bitcoin price index.
- Find Bin Numbers - Verify BIN numbers to assist with fraud prevention or customer verification in your projects.
- Free Currency Converter by Hajana One - Hajana One API will help developers to convert strings to other currency which is required. Its totally free no any charges will be charged.
- BitcoinAverage Historical Data - BitcoinAverage is an open source project designed to provide weighted average bitcoin price calculation. It utilises all exchanges where price and volume data is available.
- TaxRates.io - TaxRates.io delivers guaranteed Tax Rates, GST Rates and VAT Rates via REST API.
- Coinmill Currency - JavaScript API for powering currency exchange rates on websites.
- Comparing Differences Between Two Lists - List comparer is an easy and convenient API to compare two lists for finding out common, duplicate or unique entries.
- Value Research Online for Finance Market - An open API to get mutual funds information available through valueresearchonline.com
- QuoteAPI - This api provides analytics on Stock Prices. Stock prices are curated from Yahoo Finance; and Machine Learning is used to evaluate the stock.
- Bank BSR Codes - India - Find BSR (Basic Statistical Return) Codes of all banks in India either through branch address or BSR Code.
- Domestic Money Transfer For Indian Bank - APIScript Developer is Secured Domestic Money Transfer API Provider in India. IMPS money transfer limit is 75000 per month per mobile. Using our api you can instant money transfer to beneficiary Account. Easy integration with high Security with SSL features Money transfer api works for all bank who is accept IMPS/NEFT/AUTO.
- Stockvider end of day historical data - EOD prices and volume. Stockvider provides free of property rights raw data and technical analysis data. Stockvider covers more than 4000 US equities from NYSE and NASDAQ. Visit our website for more information.
- CLLAX - Cllax - Advice, resources and tools for starting a small business. Information on getting finance, business planning, hiring, IT, marketing and much more. ( https://cllax.com/ )
- IP2Currency - IP2Currency Exchange Rate Web Service provides the user with an easy way to get a localized & latest Currency Exchange Rate based on the visitor's IP address.
- FinanceCalc - Implements common financial calculations: Amortization, CAGR, CI, DF, FV, IRR, XIRR, LR, NPV, PP, PV, PI, ROI, R72, WACC, PMT, Inflation-adjusted Return
- EuroMillions - Euromillions results - Tuesday and Friday Euromillions Results. Check the Latest Euromillions Results here as soon as the numbers are drawn.
- Mutual Fund Historical NAV - India - Get Historical Net Asset Values (NAVs) of any mutual fund in India registered with the Association of Mutual Funds of India (AMFI).
- Abnormal Volume Calculcator - This API calculates abnormal trading volumes and test statistics following the scientific method 'event study methodology'
- The Currency Cloud - Embed the Currency Cloud API to deliver comprehensive international payment and remittance services to your clients.
- Abnormal Volatility Calculator - This API calculates the abnormal volatilities following the scientific method 'event study methodology'
- Dogechain - The API of the Dogecoin blockchain - get info on an address and current network statistics.
- SEC Refinery - Parretir's SEC Refinery API provides cleanly parsed full plain text from SEC filings.
- Find BSB Numbers - Provides information about BSB numbers, such as Bank Name, Address, GEO coordinates.
- bitcoinwhoswho - Bitcoin Address Checker API returns any scam reports on a given BTC address.
- Armatic - Armatic gives automation insights, increases efficiencies & more revenue.
- CurrencyAPI - Get current currency exchange rates for over all currencies.
- Daneel - Newscuration and Market sentiment on the Blockchain market
- Market Cycles - Analyze dominant cycles in stock market
- Dinero Sabio - Spanish Finance API
Browse Stock Market APIs
What is the best stock market data API?
After reviewing over 67 stock market data APIs, we found these 8 APIs to be the very best and worth mentioning:
Our Top 8 Stock Market APIs for 2023
Twelve Data | Best for real-time and historical data | Connect to API |
YH Finance | Best forfinancial summaries | Connect to API |
Yahoo Finance | Best forstock market data | Connect to API |
RealStonks | Best forreal-time stock prices | Connect to API |
Latest Stock Price | Best forthe latest stock prices | Connect to API |
Alpha Vantage | Best forhistorical stock, FX, and crypto | Connect to API |
Stock and Options Trading Data Provider | Best forUS stocks and options | Connect to API |
Finage Currency Data Feed | Best forcurrencies, metals, and stocks | Connect to API |
Top Most Commonly Used Stock Market APIs on Rapid
1. Twelve Data
The Twelve Data API provides financial data for developers to enter the world markets. Instant access for real-time and historical data of stocks, forex, crypto, ETFs, indices, and more.
Twelve Data is the fastest-growing company in the financial data industry based on 3 simple postulates:Coverage. All kinds of assets including stocks, forex, crypto, ETFs, indices. Equity data is available from all 5 continents, in real-time and historical retrospective.
Professional. Solutions and tools that help customers to focus on product development and stop thinking about the data sources.
Affordability. Data should be available for everyone and for every need, therefore we offer the most generous free plan in the industry with options to increase the limits.
Popularity Score: 9.9/10
Best For
2.YH Finance
The YH Finance Complete API helps developers query stocks, quotes, movers and other financial summary. All endpoints include:
Popularity Score:8.6/10
Best For
3.Yahoo Finance
The official Yahoo Finance API was deprecated/discontinued, but there's an unofficial API available on the Rapid API Hub that provides all the data you see on Yahoo Finance.
The API has multiple endpoints that provide data such as:
Related Resources
Popularity Score:9.8/10
Best For
4.RealStonks
The RealStonks API provides developers the real-time stock price of any NASDAQ-listed stock, along with some other parameters.
Popularity Score:9.8/10
Best For
5.Latest Stock Price
The Latest Stock Price API provides developers with the latest NSE stock price. Price update frequency is 1 min.
Popularity Score:9.8/10
Best For
6.Alpha Vantage
Alpha Vantage provides an API service for real-time and historical data on stocks, forex (FX), and digital/cryptocurrencies. Endpoints include:
Related Resources
Popularity Score:9.9/10
Best For
7.Stock and Options Trading Data Provider
This Stock API provides data for US listed stocks and ETFs through a RESTful service. This is a cloud based API with a simple interface returning data in JSON format.
The API has 2 endpoints:
Popularity Score:9.6/10
Best For
8.Finage Currency Data Feed
Finage is a financial data provider company. You can request over 700+ symbols including currencies, metals, stocks, and cryptocurrencies. You can call the last prices, convert currencies between each other, and get the historical data.
Learn more here.
Popularity Score:n/a/10
Best For
Additional Info
Related ContentTo get live stock market data, you'll need a Rapid user account.Sign up today, it's free.Then search for or navigate to one of the APIs listed in this article. Subscribe to the API of interest and begin testing their endpoints. Many of the stock APIs here provide access to real-time data.
Does Yahoo Finance have an API?Unfortunately, Yahoo Finance deprecated their official API. However, there's an unofficial Yahoo Finance API available on RapidAPI. It provides data such as:
According to Quora: There seems to be some documentation on github & npmjs that shows you how to interact with their private API:
But there's no official public API on their site.You might also want to consider using theunofficial Yahoo Finance APIor browsing the full list ofstock market APIsif you’re looking for stock market data.
According to Quora:
"}}]}There seems to be some documentation on github & npmjs that shows you how to interact with their private API:
But I can’t seem to find an official public API on their site.
You might also want to consider using theunofficial Yahoo Finance APIor browsing this list ofstock market APIsif you’re looking for stock market data.
Summary: Best Stock Market APIs for Developers
API | Main Functionality | Popularity Score | Latency | Success Rate |
---|---|---|---|---|
Twelve Data | Real-time & historical data | 9.9/10 | 254ms | 100% |
YH Finance | Best for financial summaries | 8.5/10 | 11513ms | 85% |
Yahoo Finance | Stock market data | 9.9/10 | 1891ms | 96% |
RealStonks | Best for real-time stock prices | 9.8/10 | 3903ms | 100% |
Latest Stock Price | Best for the latest stock prices | 9.8/10 | 916ms | 100% |
Alpha Vantage | Crypto, forex, and stock data | 9.9/10 | 774ms | 100% |
Stock and Options Trading Data Provider | Options and straddle | 9.6/10 | 3249ms | 100% |
Finage Currency Data Feed | Currencies, metals, stock, & crypto | n/a | 80ms | n/a |
All APIs mentioned above and accessible on the Rapid API Hubare available in the following programming languages:
To learn more how to get started with RapidAPI SDKs, visit our docs.
What’s Next?
What do you think is the best stock market API for financial data? Comment below!
3.8/5 - (5 votes)
Complete List of the Best Finance & Stock Market APIs
« Build a Weather Pattern Animation with the Dark Sky API [Python]
Top 10 Best Recipe APIs [in 2023] »
Related Blog Posts
Cloud and API: A perfect match or a complex pair?
5 Steps to Fueling a Successful Local Analytics Product Using Data Axle’s Data on RapidAPI
What Are Microservices?
8 Common API Error Examples and Use Cases
Team RapidAPI
Reader Interactions
Comments
Quinton Pike says
You should also consider https://Polygon.io to be on this list.
Reply
Millet Ittıfaki says
Polygon.io is really slow and their websockets are not stable. We are getting socket error EVERY week. So, NEVER AGAIN.
Reply
Stephen says
I have the same problem with Polygon.
When I make an API request to polygon, it give me 500 server error. It is a shame. It is impossible to use this data in production. Also, other endpoints are not working too for crypto and forex.
Here you can see the error;
Reply
Matt Bastille says
I would heavily recommend having a look at FactSet APIs
Especially for accurate sector data, geographic revenue exposure, estimates, ownership, and ESG data!
Reply
Nick Samon says
Twelve API is extremely bad. So slow and it’s hard to understand their endpoints. Customer support is slow, bad, and disrespectful. I will never use it again. I’ve wasted my time and my money there. You can not build any product with them. Yahoo APIs are better.
Reply
Babashola Joshua says
Thanks so much for this article. It’s really helpful.
I also suggest using IXBRAnalyst to get real-time access to financial data in excel on any of your devices.Reply
jason thomas says
Problem with yahoo, is i get a lot of data that is just zeros, and it messes up the entire analysis.
Reply
Peter says
I’m using the newsfilter.io stock market news API. They have a query and real-time stream API and an API to render article content. I’m pretty happy with their news source coverage (I’m a day- and swing-trader), much better than any brokers news feed I’ve seen so far (and I’ve seen many…..). Recently started using their Discord news bot for our trading community too. Works like a charm so far.
Reply