Finance
Stockanalysis.Com logo

Stockanalysis.Com API

stockanalysis.com

Search stocks and ETFs, view fundamentals and financial statements, browse ratios and metrics, and compare companies.

Actions
8
Category
Finance
Login
Not required
Output
JSON

Call the Stockanalysis.Com API

Submit a task, then poll the job until it settles. This example runs act_stockanalysis_com_company_compare_chart.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_stockanalysis_com_company_compare_chart",
    "params": {
      "symbol": "XOM",
      "compare_metric": "totalReturn"
    }
  }'

8 actions on stockanalysis.com

Read

  • Company Compare Chart

    act_stockanalysis_com_company_compare_chartread2 credits / call

    Returns total-return comparison time series for a stock and metric.

    symbol
    string · required
    compare_metric
    string · required
    search_query
    string
    stock_symbol
    string
  • ETF Overview

    act_stockanalysis_com_etf_overview_ssrread1 credit / call

    Returns ETF overview for a symbol: price, expense ratio, AUM, NAV, and holdings.

    symbol
    string · required
    etf_symbol
    string
    search_query
    string
  • ETF Quote

    act_stockanalysis_com_etf_quoteread1 credit / call

    Returns a live ETF quote with price, change, volume, and pre-market fields.

    symbol
    string · required
    etf_symbol
    string
    search_query
    string
  • Homepage

    act_stockanalysis_com_homepage_ssrread1 credit / call

    Returns homepage market data including top gainers and index summaries.

  • Market Index Chart

    act_stockanalysis_com_market_index_chartread1 credit / call

    Returns benchmark index levels and intraday chart series.

    c
    string
  • Search Autocomplete

    act_stockanalysis_com_search_autocompleteread1 credit / call

    Returns ranked stock and ETF matches for a search query.

    search_query
    string · required
  • Stock Overview

    act_stockanalysis_com_stock_overview_ssrread1 credit / call

    Returns stock overview for a symbol: price, market cap, PE, dividend yield, and analyst target.

    symbol
    string · required
    stock_symbol
    string
    search_query
    string
  • Stock Quote

    act_stockanalysis_com_stock_quoteread1 credit / call

    Returns a live stock quote with price, change, volume, 52-week range, and pre-market fields.

    symbol
    string · required
    search_query
    string
    stock_symbol
    string

Stockanalysis.Com API questions

Is there an API for Stockanalysis.Com?
Stockanalysis.Com does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for stockanalysis.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Stockanalysis.Com data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when stockanalysis.com changes its markup, Anakin updates the action.
Do I need a Stockanalysis.Com account?
No. Every Stockanalysis.Com action listed here runs anonymously — no account and no credentials required.
What does the Stockanalysis.Com API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites