Discover/stockanalysis.com API
live

stockanalysis.com APIstockanalysis.com

Access stock quotes, income statements, statistics, IPO calendars, and pre-market movers from StockAnalysis.com via a structured JSON API.

Endpoints
7
Updated
11d ago
Try it
Search keyword — a company name or ticker symbol (e.g. 'AAPL', 'Microsoft', 'Tesla').
api.parse.bot/scraper/038c400f-48f4-4b33-a649-2d971f2d7d73/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/038c400f-48f4-4b33-a649-2d971f2d7d73/search_stocks?query=AAPL' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Search for stocks and ETFs by keyword (company name or ticker symbol). Returns results across multiple global exchanges including US, international, and ETF listings.

Input
ParamTypeDescription
queryrequiredstringSearch keyword — a company name or ticker symbol (e.g. 'AAPL', 'Microsoft', 'Tesla').
Response
{
  "type": "object",
  "fields": {
    "count": "integer — number of matching results",
    "query": "string — the search keyword echoed back",
    "results": "array of matching stocks/ETFs, each with symbol, name, type, price, and market_cap"
  },
  "sample": {
    "data": {
      "count": 25,
      "query": "AAPL",
      "results": [
        {
          "name": "Apple Inc.",
          "type": "Stock",
          "price": 280.14,
          "symbol": "AAPL",
          "market_cap": 4114515909840
        },
        {
          "name": "Apple Inc.",
          "type": "Stock",
          "price": 212.16,
          "symbol": "@swx/AAPL",
          "market_cap": 3206401103379
        },
        {
          "name": "Kurv Yield Premium Strategy Apple (AAPL) ETF",
          "type": "ETF",
          "price": 24.37,
          "symbol": "!AAPY",
          "market_cap": 5358826
        }
      ]
    },
    "status": "success"
  }
}

About the stockanalysis.com API

This API provides 7 endpoints covering real-time stock quotes, detailed financial statements, curated stock lists, IPO calendars, and pre-market session movers from StockAnalysis.com. The get_stock_financials_income endpoint returns full income statement data — revenue, gross profit, net income, EPS, and margins — organized by fiscal year, while get_stock_statistics delivers over a dozen categorized metric groups including valuation, dividends, short selling, and analyst forecasts.

Stock Quotes and Search

The search_stocks endpoint accepts a company name or ticker symbol and returns a ranked list of matches with symbol, name, type, price, and market cap across US and international exchanges plus ETFs. For a specific ticker, get_stock_overview returns an abbreviated real-time quote object: fields p (price), cp (change percent), v (volume), h52/l52 (52-week range), ms (market status), and exchange (ex). The ms field is useful for determining whether a quote reflects an open or closed session.

Financials and Statistics

get_stock_financials_income returns a financialData object keyed by fiscal year, with arrays for metrics like revenue, grossProfit, netIncome, epsBasic, and operating income. The head object includes the statement title and a canonical URL; details provides the fiscal year range and last trading day. get_stock_statistics structures data into named section objects — valuation, ratios, shares, dividends, balanceSheet, cashFlow, incomeStatement, and more — each containing a text summary and a data array of labeled metric entries covering things like P/E, forward P/E, enterprise value, and short interest.

Lists, IPOs, and Pre-Market Movers

get_stock_list fetches a curated stock list by URL slug (e.g. mega-cap-stocks, most-shorted-stocks), returning each entry's symbol, name, market cap, price, change, and revenue. get_ipo_calendar returns upcoming IPOs bucketed into thisWeek, nextWeek, and later, each entry including price range, shares offered, exchange, and estimated market cap. get_market_movers_premarket surfaces top pre-market gainers, losers, and most active stocks with premarket price, change percent, volume, and market cap; the active array may be empty outside active pre-market hours.

Common use cases
  • Screen mega-cap or most-shorted stocks using get_stock_list with curated slugs and filter by market cap or revenue
  • Track IPO pipeline by pulling this week's and next week's offerings with price ranges and estimated valuations from get_ipo_calendar
  • Build a pre-market watchlist by monitoring top gainers and losers with premarket change percent and volume from get_market_movers_premarket
  • Compare multi-year income trends for a ticker by extracting annual revenue and EPS arrays from get_stock_financials_income
  • Populate a stock screener with valuation and short-selling metrics using the categorized sections from get_stock_statistics
  • Display a real-time quote widget using the abbreviated fields from get_stock_overview, including 52-week range and market status
  • Build a ticker search autocomplete using search_stocks results that include type classification (stock vs. ETF) across global exchanges
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does StockAnalysis.com have an official developer API?+
StockAnalysis.com does not publish an official public developer API with documented endpoints or API keys. This Parse API provides structured access to the same data the site surfaces.
What does `get_stock_statistics` return beyond basic valuation?+
It returns over 15 categorized section objects. Beyond valuation (market cap, enterprise value) and ratios (P/E, forward P/E, P/S), it includes dividends, shortSelling, analystForecasts, stockSplit, financialPosition, financialEfficiency, taxes, and stockPrice sections — each with a text summary and a labeled data array.
Does `get_stock_financials_income` return quarterly data?+
The endpoint currently returns annual period data, as indicated by the period field in the response. Quarterly breakdowns are not exposed. You can fork this API on Parse and revise it to add a quarterly income statement endpoint.
Are balance sheet and cash flow statements available?+
Not as dedicated endpoints. The get_stock_statistics endpoint includes summary-level balanceSheet and cashFlow sections with key metrics, but full-statement line-item detail for those two statements is not currently covered. You can fork the API on Parse and revise it to add dedicated balance sheet and cash flow statement endpoints.
Is the pre-market movers data available at all hours?+
The get_market_movers_premarket endpoint is accessible at any time, but the active array (most active pre-market stocks) may return empty outside actual pre-market trading hours. The gainers and losers objects include query metadata that reflects when the data was last updated.
Page content last updated . Spec covers 7 endpoints from stockanalysis.com.
Related APIs in FinanceSee all →
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
guba.eastmoney.com API
Access Chinese stock discussion posts and comments from Eastmoney's community platform to monitor investor sentiment, search board discussions, and retrieve detailed post information and stock board metadata. Get real-time insights into what traders are discussing about specific stocks through posts, replies, and board analytics.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
blackrock.com API
Access comprehensive BlackRock iShares ETF data to research fund performance, holdings, fees, and sector allocations, plus search and compare specific ETFs. Monitor investment details like distributions, key characteristics, and broad market indices all in one place.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.