Alpha Vantage

Alpha Vantage

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Alpha Vantage to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Alpha Vantage API key and the stock symbols you want to track to pull market data and company fundamentals into the PostHog Data warehouse.

You can claim a free API key on the Alpha Vantage support page.

Note: the free tier is limited to roughly 25 requests per day, and each selected table costs one request per symbol on every sync. Some datasets require a paid plan.

Configuration

OptionTypeRequired
API keypasswordYes
Symbols (comma-separated)textYes

Linking Alpha Vantage to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Alpha Vantage
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
time_series_daily

Daily open/high/low/close/volume bars per symbol (20+ years of history). Full refresh.

Full refreshsymbol, date
time_series_daily_adjusted

Daily bars per symbol with split/dividend-adjusted close, dividend amount, and split coefficient (25+ years of history). Requires a paid Alpha Vantage plan. Full refresh.

Full refreshsymbol, date
time_series_weekly

Weekly open/high/low/close/volume bars per symbol. Full refresh.

Full refreshsymbol, date
time_series_monthly

Monthly open/high/low/close/volume bars per symbol. Full refresh.

Full refreshsymbol, date
global_quote

Latest price and trading-day snapshot per symbol (one row per symbol). Full refresh.

Full refreshsymbol
company_overview

Company fundamentals, ratios, and descriptive fields per symbol (one row per symbol). Full refresh.

Full refreshsymbol
income_statement

Annual and quarterly income statements per symbol. One row per report. Full refresh.

Full refreshsymbol, fiscalDateEnding, report_type
balance_sheet

Annual and quarterly balance sheets per symbol. One row per report. Full refresh.

Full refreshsymbol, fiscalDateEnding, report_type
cash_flow

Annual and quarterly cash-flow statements per symbol. One row per report. Full refresh.

Full refreshsymbol, fiscalDateEnding, report_type
earnings

Annual and quarterly reported EPS (with estimates and surprise) per symbol. One row per report. Full refresh.

Full refreshsymbol, fiscalDateEnding, report_type
dividends

Historical and declared dividend distributions per symbol. One row per distribution. Full refresh.

Full refreshsymbol, ex_dividend_date
splits

Historical stock split events per symbol. One row per split. Full refresh.

Full refreshsymbol, effective_date
insider_transactions

Insider buy and sell transactions by executives, directors and other key stakeholders per symbol. One row per filing. Supports incremental sync.

Incremental, Full refreshtransaction_datesymbol, transaction_date, executive, security_type, acquisition_or_disposal, shares, share_price
institutional_holdings

Institutional holder positions per symbol, each row carrying the symbol's overall institutional ownership totals. Roughly 4,000 holders per symbol. Full refresh.

Full refreshsymbol, holder_name, last_reported, shares_held
news_sentiment

Market news articles mentioning each symbol, with article-level and per-ticker sentiment scores. One row per article per symbol. Supports incremental sync.

Incremental, Full refreshtime_publishedsymbol, url
listing_status

Every active and delisted US stock and ETF with its exchange, asset type, and IPO/delisting dates. Covers the whole market rather than the configured symbols. Full refresh.

Full refreshsymbol, status, ipoDate
earnings_calendar

Company earnings scheduled over the next 12 months, with the consensus EPS estimate. Covers the whole market rather than the configured symbols. Full refresh.

Full refreshsymbol, reportDate, fiscalDateEnding