The getQuote API returns real-time, delayed, and end of day stock price data for U.S. and global exchanges, including equities, ETFs, mutual funds, and indexes. Key metrics available include latest price, bid/ask quotes, pre-market prices, opening/closing prices, after-hours prices, average volume, latest dividend, 200 day moving average, and EPS.
This API supports a variety of use cases, including real-time trading dashboards to display live prices and metrics, portfolio monitoring tools to track multiple securities, technical analysis platforms for charting trends, investor research applications for fundamental analysis, market watch widgets for embedding real-time quotes in financial websites, AI-driven applications such as predictive trading models and automated portfolio optimization, and quantitative trading strategies for high-frequency and algorithmic trading.
Key Features
๐ Multi-Symbol Query Support - Retrieve data for multiple stocks in one call.
Users can request quotes for multiple symbols (e.g., GOOG, AAPL) in a single API call by separating symbols with commas, streamlining data retrieval for portfolios or watchlists. This feature simplifies workflows for applications like multi-asset dashboards or comparison tools, reducing API calls and enhancing efficiency.
โฑ๏ธ Real-Time and Delayed Pricing - Access the latest market prices with minimal latency.
The API delivers current bid, ask, and last trade prices, along with after-hours data when available, enabling developers to build applications that reflect live market conditions. This is perfect for trading platforms or investor apps requiring up-to-the-minute pricing updates.
๐ Rich Market Metrics - Get comprehensive data including moving averages and dividends.
With fields like MovingAverage50, MovingAverage200, and TTMDividend, users can access advanced metrics for technical analysis or fundamental research. This supports building sophisticated tools for traders and analysts who need detailed insights into price trends and security performance.
๐ Secure Authentication - Protect your data access with a Base64-encoded key.
The API requires a T parameter for secure authentication, ensuring only authorized users can access sensitive market data. This feature provides peace of mind for developers integrating the API into production environments like financial portals or trading systems.
Query Parameters:
| Parameter | Meaning | Data Type |
|---|---|---|
| T | Application Key which authenticates you with cloudquote (required) | Base64 string |
| symbol | One or more symbols to look up, separated by commas. (ex: GOOG,AAPL) | String |
JSON Response:
The response is an object, containing the following keys:
| Parameter | Meaning | Data Type |
|---|---|---|
| rows | A collection of quote results, in the same order as the symbols requested | Array of Object |
| rows[...] | A single stock quote | Object |
Fields in rows[...] Object:
| Field | Meaning | Data Type |
|---|---|---|
| AfterHoursPrice* | After Market Hours Price | Number |
| AfterHoursTradeTime* | After Market Hours Last Trade Time | Unix Epoch Time |
| AnnualDividend* | Annual Dividend | Number |
| Ask | Latest Asking Price | Number |
| AskSize | Latest Asking Price Size | Number |
| AvgVolume1M | Average Volume (Trailing 1 Month) | Number |
| AvgVolume1W | Average Volume (Trailing 1 Week) | Number |
| AvgVolume3M | Average Volume (Trailing 3 Month) | Number |
| AvgVolume52 | Average Volume (Trailing 52 Weeks) | Number |
| AvgVolume6M | Average Volume (Trailing 5 Month) | Number |
| AvgVolumeYTD | Average Volume (Since Jan 1) | Number |
| Bid | Latest Bid Price | Number |
| BidSize | Latest Bid Price Size | Number |
| Change | Daily Price Change | Number |
| ChangePercent | Daily Price Change in Percent | Number |
| ChartEndTime | The time to end a chart of this security at | Unix Epoch Time |
| ChartStartTime | The time to start a chart of this security at | Unix Epoch Time |
| Delay | Delay in minutes for the exchange | Number |
| EPS* | Earnings Per Share | Number |
| ExchangeDefaultCurrency | Default Currency of Exchange | String |
| ExchangeName | Name of Exchange | String |
| ExchangePrefixCode | Prefix Exchange Code | String |
| ExchangeShortName | Short Name of Exchange | String |
| High | Today's High price | Number |
| High1M | High Price (Trailing 1 Month) | Number |
| High1MDate | One Month High Price Date | Unix Epoch Time in ms |
| High1W | High Price (Trailing 1 Week) | Number |
| High1WDate | One Week High Price Date | Unix Epoch Time in ms |
| High3M | High Price (Trailing 3 Month) | Number |
| High3MDate | Three Month High Price Date | Unix Epoch Time in ms |
| High52 | High Price (Trailing 52 Weeks) | Number |
| High52Date | 52 Week High Price Date | Unix Epoch Time in ms |
| High6M | High Price (Trailing 6 Month) | Number |
| HighYTD | High Price (Since Jan 1) | Number |
| LastTradeTime | Time of Last Trade | Unix Epoch Time |
| LatestDividend* | Latest Dividend | Number |
| LatestDividendDate* | Latest Dividend Date | Date (YYYYMMDD) |
| LessRecentClose | Close Price before Most Recent Close | Number |
| LessRecentCloseDate | Date of Close Price before Most Recent Close | Unix Epoch Time in ms |
| Low | Todayโs Low Price | Number |
| Low1M | Low Price (Trailing 1 Month) | Number |
| Low1MDate | One Month Low Price Date | Unix Epoch Time in ms |
| Low1W | Low Price (Trailing 1 Week) | Number |
| Low1WDate | One Week Low Price Date | Unix Epoch Time in ms |
| Low3M | Low Price (Trailing 3 Month) | Number |
| Low3MDate | Three Month Low Price Date | Unix Epoch Time in ms |
| Low52 | Low Price (Trailing 52 Weeks) | Number |
| Low52Date | 52 Week Low Price Date | Unix Epoch Time in ms |
| Low6M | Low Price (Trailing 6 Month) | Number |
| Low6MDate | Six Month Low Price Date | Unix Epoch Time in ms |
| LowYTD | Low Price (Since Jan 1) | Number |
| MostRecentClose | Most Recent Closing Price | Number |
| MostRecentCloseDate | Most Recent Closing Price Date | Unix Epoch Time in ms |
| MovingAverage200 | Average Price Over Last 200 Trading Sessions | Number |
| MovingAverage50 | Average Price Over Last 50 Trading Sessions | Number |
| Name | Security Name | String |
| Open | Today's Open price | Number |
| PrevClose | Closing Price from the previous trading day | Number |
| Price | Latest price for the security | Number |
| SecurityTypeCode | Code Name of Security Type (ex. STOCK,FUND, etc.) | String |
| SecurityTypeName | โPrettyโ Name of Security Type (ex. โStockโ, โMutual Fundโ, etc.) | String |
| SharesOutstanding* | Shares Outstanding | Number |
| ShortName | Short Security Name | String |
| StartingPrice1M | Starting Price (Trailing 1 Month) | Number |
| StartingPrice1W | Starting Price (Trailing 1 Week) | Number |
| StartingPrice3M | Starting Price (Trailing 3 Month) | Number |
| StartingPrice52 | Starting Price (Trailing 52 Weeks) | Number |
| StartingPrice6M | Starting Price (Trailing 6 Month) | Number |
| StartingPriceYTD | Starting Price (Since Jan 1) | Number |
| Symbol | Primary Symbol (may be different than requested symbol) | String |
| SymbolID | Symbol Identifier (FinancialContent unique ID) | String |
| TTMDividend* | Trailing 12 Month Dividend | Number |
| Volume | Today's Cumulative Volume | Number |
| YTDDividend* | Year to Date Dividend | Number |
*Fields only available when proper entitlements are enabled.
Use Cases
๐ Real-Time Trading Dashboards - Display live stock prices and metrics for traders.
Developers can use fields like Price, Bid, Ask, and Volume to create dynamic dashboards that provide real-time market updates, enabling traders to make quick, informed decisions based on the latest stock data.
๐ Portfolio Monitoring Tools - Track performance across multiple securities.
By querying multiple symbols, users can build portfolio trackers that display key metrics like ChangePercent, High52, and Low52, helping investors monitor real-time performance and compare assets against historical benchmarks.
๐ง Technical Analysis Platforms - Power charting tools with moving averages and price ranges.
The APIโs MovingAverage50 and MovingAverage200 fields, along with High1M and Low1M, enable developers to create advanced charting tools for technical analysis, supporting traders in identifying trends and potential entry/exit points.
๐ Investor Research Applications - Provide detailed stock insights for fundamental analysis.
Fields like EPS, AnnualDividend, and SharesOutstanding allow researchers to build tools that deliver comprehensive stock profiles, aiding investors in evaluating securities based on fundamental metrics and market trends.
๐ Market Watch Widgets - Embed real-time quotes in financial websites.
Developers can integrate fields like Price, Change, and ExchangeName into widgets for financial portals, providing users with concise, up-to-date stock information that enhances engagement on news or investment sites.
๐ค AI-Powered Predictive Trading Models - Leverage real-time data for machine learning algorithms.
Developers can use fields like Price, Volume, ChangePercent, MovingAverage50, and MovingAverage200 to train AI models that predict stock price movements or identify trading signals, enabling automated trading systems or algorithmic strategies.
โ๏ธ AI-Driven Portfolio Optimization - Optimize investment portfolios using AI.
By combining fields like EPS, AnnualDividend, High52, Low52, and Volume with machine learning, developers can build tools that automatically adjust portfolio allocations based on real-time market trends and risk profiles, enhancing investment decision-making.
โก๏ธ Quantitative Trading Strategies - Develop high-frequency and algorithmic trading systems.
Quantitative traders can leverage fields like Price, Bid, Ask, Volume, and ChangePercent, along with historical data such as High1M, Low1M, and MovingAverage50, to build sophisticated trading algorithms. These algorithms can execute rapid trades based on statistical arbitrage, momentum strategies, or market microstructure analysis, capitalizing on real-time market inefficiencies.
Why Choose FinancialContent's getQuote API?
๐ Unmatched Reliability - Consistent access during market hours and beyond.
With 99.99% uptime, the API ensures uninterrupted data delivery, even during high-volatility periods. Developers can rely on it for mission-critical applications like live trading platforms or investor tools.
๐ Flexible Data Integration - Seamlessly combine real-time and historical data.
The API integrates effortlessly with other FinancialContent APIs, allowing users to blend real-time quotes with historical tick or price data, creating comprehensive solutions for market analysis and visualization.
๐ Scalable Query Handling - Process multiple symbols efficiently.
Designed to handle high-volume requests for multiple symbols, the API scales seamlessly to support enterprise-grade applications, from small retail investor tools to large-scale financial platforms.
๐ Developer-Friendly Resources - Robust documentation and expert support.
FinancialContent provides detailed API guides, code samples, and responsive support to ensure smooth integration. Our resources empower developers to quickly implement the API for any use case, from prototyping to production.
Optimized for High-Speed Access
The getQuote API is built for performance, adhering to industry-leading best practices for rapid data delivery. Our RESTful endpoints use lightweight JSON formatting to minimize payload size, enabling fast parsing and low bandwidth usage. Global edge servers reduce latency for users worldwide, while intelligent caching accelerates repeated queries. Rate limiting and optimized pagination ensure stability under heavy traffic, and asynchronous request handling supports efficient processing of multi-symbol queries. This performance-driven design ensures developers can deliver real-time, responsive applications with minimal delays.
Sample Request
GET /api/getQuote?T=your_base64_key&symbol=GOOG,AAPL
Sample Response (JSON)
{
"rows": [
{
"Symbol": "GOOG",
"Price": 2500.75,
"Bid": 2500.50,
"Ask": 2501.00,
"Volume": 1200000,
"ChangePercent": 0.85,
"MostRecentClose": 2498.30,
"MovingAverage50": 2450.20,
"ExchangeName": "NASDAQ",
...
},
{
"Symbol": "AAPL",
"Price": 125.07,
"Bid": 124.90,
"Ask": 125.20,
"Volume": 112117500,
"ChangePercent": -0.45,
"MostRecentClose": 125.63,
"MovingAverage50": 123.80,
"ExchangeName": "NASDAQ",
...
}
]
}
FinancialContent is one of the largest providers of stock market data, business news and content syndication tools for online publishers