Skip to main content
Market data API for stocks, forex, and cryptocurrency. Best for historical time-series (intraday to monthly), technical indicators (SMA, RSI, MACD), fundamental data, and earnings. Distinguishes itself from paid market-data vendors with broad global coverage and simple REST access via a single /query endpoint parameterized by function. 8 example endpoints available through Lava’s AI Gateway. See the Alpha Vantage API docs for full documentation.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.
This is a catch-all provider — any valid URL under https://www.alphavantage.co is supported. Alpha Vantage API. Construct URL as https://www.alphavantage.co/query?function={FUNCTION}&{params}. Example functions: TIME_SERIES_DAILY, GLOBAL_QUOTE, SYMBOL_SEARCH, CURRENCY_EXCHANGE_RATE, DIGITAL_CURRENCY_DAILY, SMA, RSI, MACD, NEWS_SENTIMENT, OVERVIEW, EARNINGS. The apikey query param is added automatically. The endpoints below are curated examples.

Endpoints

Daily OHLCV time series for a stock symbol

GET https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=IBM&outputsize=compact — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=IBM&outputsize=compact', { method: 'GET' });

Latest price and volume for a single symbol

GET https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=IBM — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=IBM', { method: 'GET' });

Search for stock symbols by keywords

GET https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=tesla — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=tesla', { method: 'GET' });

Realtime exchange rate between two currencies

GET https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=JPY — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=JPY', { method: 'GET' });

Daily time series for a digital currency

GET https://www.alphavantage.co/query?function=DIGITAL_CURRENCY_DAILY&symbol=BTC&market=USD — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=DIGITAL_CURRENCY_DAILY&symbol=BTC&market=USD', { method: 'GET' });

Simple moving average technical indicator

GET https://www.alphavantage.co/query?function=SMA&symbol=IBM&interval=daily&time_period=20&series_type=close — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=SMA&symbol=IBM&interval=daily&time_period=20&series_type=close', { method: 'GET' });

Company fundamentals, ratios, and key metrics

GET https://www.alphavantage.co/query?function=OVERVIEW&symbol=IBM — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=OVERVIEW&symbol=IBM', { method: 'GET' });

Market news and sentiment scores by topic or ticker

GET https://www.alphavantage.co/query?function=NEWS_SENTIMENT&tickers=AAPL,MSFT — $0.001 / request
const data = await lava.gateway('https://www.alphavantage.co/query?function=NEWS_SENTIMENT&tickers=AAPL,MSFT', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests