GnistAI GnistAI
Log in

Alpha Vantage (Finance)

Stock quotes, historical OHLCV, FX rates, and crypto prices.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Alpha Vantage

REST Bridge Endpoint https://context.gnist.ai/rest/alpha-vantage/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (5)

get_price

Get the latest market quote for a stock or ETF.

Uses Alpha Vantage (requires ALPHA_VANTAGE_API_KEY env var).

Args:
ticker: Stock ticker symbol (e.g. "AAPL", "TSLA", "SPY").

Returns:
Latest price, open/high/low, volume, previous close, and change %.

ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. "AAPL", "TSLA", "SPY").
Request Body
{
  "ticker": "example"
}
get_historical

Get historical OHLCV data for a stock or ETF.

Args:
ticker: Stock ticker symbol (e.g. "AAPL", "MSFT").
start: Start date in YYYY-MM-DD format (inclusive).
end: End date in YYYY-MM-DD format (inclusive).
interval: Data interval — "daily", "weekly", or "monthly" (default: "daily").

Returns:
Symbol, interval, count, and list of OHLCV entries (open, high, low, close, volume).

ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. "AAPL", "MSFT").
startstringrequiredStart date in YYYY-MM-DD format (inclusive).
endstringrequiredEnd date in YYYY-MM-DD format (inclusive).
intervalstringoptionalData interval — "daily", "weekly", or "monthly" (default: "daily"). (default: "daily")
Request Body
{
  "ticker": "example",
  "start": "example",
  "end": "example"
}
get_fx_rate

Get the daily exchange rate between two currencies.

Uses ECB reference rates (updated daily ~16:00 CET on business days).
Supports all major currencies. Cross-rates are derived from EUR-based data.

Args:
base: Base currency ISO 4217 code (e.g. "USD", "EUR", "GBP").
quote: Quote currency ISO 4217 code (e.g. "NOK", "JPY", "CHF").

Returns:
Exchange rate (1 base = N quote), with the ECB reference date.

ParameterTypeRequiredDescription
basestringrequiredBase currency ISO 4217 code (e.g. "USD", "EUR", "GBP").
quotestringrequiredQuote currency ISO 4217 code (e.g. "NOK", "JPY", "CHF").
Request Body
{
  "base": "example",
  "quote": "example"
}
get_crypto_price

Get the current price and market data for a cryptocurrency.

Accepts common ticker symbols (e.g. "BTC", "ETH", "SOL") or CoinGecko IDs
(e.g. "bitcoin", "ethereum"). Prices are in USD via CoinGecko's free API.

Args:
symbol: Cryptocurrency symbol (e.g. "BTC") or CoinGecko ID (e.g. "bitcoin").

Returns:
Current USD price, market cap, and 24-hour change percentage.

ParameterTypeRequiredDescription
symbolstringrequiredCryptocurrency symbol (e.g. "BTC") or CoinGecko ID (e.g. "bitcoin").
Request Body
{
  "symbol": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/alpha-vantage/get_price" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"ticker": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/alpha-vantage/get_price",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "ticker": "example"
},
)
print(resp.json())

Related Toolkits (Finance)

Resources