For the complete documentation index, see llms.txt. This page is also available as Markdown.

Alpha Vantage

Look up the latest and historical stock, forex, and market data from Alpha Vantage.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

Alpha Vantage

API Key

Alpha Vantage

Connect to Alpha Vantage with an API key to look up the latest and historical stock, forex, and market data.

Set up in Alpha Vantage

  1. Prepare the Alpha Vantage account or service that the workflow will access. Grant access to the required resources and operations.

  2. Create or obtain the API credential identified in the fields below. Use the provider instructions linked with those fields to find its key-management page.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select Alpha Vantage.

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

API Key

Yes

Your Alpha Vantage API key. Get a free key at https://www.alphavantage.co/support/#api-key. Free-tier keys are limited to 25 requests per day. Provider instructions.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required Alpha Vantage action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

Get Stock Quote

Get the latest stock quote (price, volume, day range) from Alpha Vantage.

Inputs

Field
Type
Required
Description

Symbol

select (string)

Yes

Select a popular stock ticker, or type any ticker symbol. Available values: AAPL, MSFT, IBM, GOOGL, AMZN, TSLA, NVDA, META, NFLX, INTC, AMD.

Outputs

Field
Type
Description

Symbol

string

The quoted ticker symbol.

Price

string

The latest traded price.

Open

string

The opening price for the latest trading day.

High

string

The highest price for the latest trading day.

Low

string

The lowest price for the latest trading day.

Volume

string

Shares traded on the latest trading day.

Latest Trading Day

string

The date this quote is from.

Previous Close

string

The previous trading day's closing price.

Change

string

Price change since the previous close.

Change Percent

string

Percent price change since the previous close.

Result Message

string

Human-readable result summary.

Search Alpha Vantage for ticker symbols matching a company name or fragment.

Inputs

Field
Type
Required
Description

Keywords

string

Yes

Company name or ticker fragment to search for.

Outputs

Field
Type
Description

Matches

object_array

The matching symbols with name, type, region, and currency.

Symbols

string_array

Flat list of matched ticker symbols.

Result Message

string

Human-readable result summary.

Get Currency Exchange Rate

Get the real-time exchange rate between two currencies from Alpha Vantage.

Inputs

Field
Type
Required
Description

From Currency

select (string)

Yes

Select a major currency, or type any 3-letter ISO code. Available values: USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, INR, MXN, ZAR, SGD, HKD, NZD, SEK, NOK.

To Currency

select (string)

Yes

Select a major currency, or type any 3-letter ISO code. Available values: USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, INR, MXN, ZAR, SGD, HKD, NZD, SEK, NOK.

Outputs

Field
Type
Description

From Currency Code

string

The source currency's ISO code.

From Currency Name

string

The source currency's full name.

To Currency Code

string

The target currency's ISO code.

To Currency Name

string

The target currency's full name.

Exchange Rate

string

The current exchange rate.

Last Refreshed

string

When this rate was last refreshed.

Time Zone

string

The time zone of the last-refreshed timestamp.

Bid Price

string

The current bid price.

Ask Price

string

The current ask price.

Mid Price

string

The midpoint between bid and ask, for convenience.

Result Message

string

Human-readable result summary.

Get Company Overview

Get company fundamentals (sector, financial ratios, description) from Alpha Vantage.

Inputs

Field
Type
Required
Description

Symbol

select (string)

Yes

Select a popular stock ticker, or type any ticker symbol. Available values: AAPL, MSFT, IBM, GOOGL, AMZN, TSLA, NVDA, META, NFLX, INTC, AMD.

Outputs

Field
Type
Description

Symbol

string

The ticker symbol.

Name

string

The company's full name.

Description

string

A summary of the company's business.

Asset Type

string

The type of security, e.g. 'Common Stock'.

Exchange

string

The exchange this symbol is listed on.

Currency

string

The reporting currency.

Country

string

The company's country of registration.

Sector

string

The company's sector.

Industry

string

The company's industry.

Address

string

The company's registered address.

Official Site

string

The company's official website.

Fiscal Year End

string

The month the fiscal year ends.

Latest Quarter

string

The most recent reported fiscal quarter.

Market Capitalization

string

The company's market capitalization.

P/E Ratio

string

Price-to-earnings ratio.

PEG Ratio

string

Price/earnings-to-growth ratio.

Book Value

string

Book value per share.

Dividend Per Share

string

Annual dividend per share.

Dividend Yield

string

Dividend yield.

EPS

string

Earnings per share.

Revenue (TTM)

string

Trailing-twelve-month revenue.

Gross Profit (TTM)

string

Trailing-twelve-month gross profit.

Profit Margin

string

Net profit margin.

Operating Margin (TTM)

string

Trailing-twelve-month operating margin.

Return on Assets (TTM)

string

Trailing-twelve-month return on assets.

Return on Equity (TTM)

string

Trailing-twelve-month return on equity.

CIK

string

SEC Central Index Key.

Result Message

string

Human-readable result summary.

Get Time Series Daily

Get daily open/high/low/close/volume prices for a ticker from Alpha Vantage.

Inputs

Field
Type
Required
Description

Symbol

select (string)

Yes

Select a popular stock ticker, or type any ticker symbol. Available values: AAPL, MSFT, IBM, GOOGL, AMZN, TSLA, NVDA, META, NFLX, INTC, AMD.

Output Size

select (string)

No

Compact returns the last 100 trading days; full returns all history. Available values: Compact (last 100 trading days), Full (all available history). Default: compact.

Outputs

Field
Type
Description

Symbol

string

The ticker symbol.

Last Refreshed

string

The most recent trading day in the series.

Output Size

string

The output size Alpha Vantage used, 'Compact' or 'Full'.

Time Zone

string

The time zone of the trading days.

Daily Bars

object_array

Daily OHLCV bars, oldest to newest.

Dates

string_array

Flat list of trading-day dates, ascending.

Has More

boolean

True if more historical data exists beyond what was returned.

Result Message

string

Human-readable result summary.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?