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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DTIME_SERIES_DAILY%26symbol%3DIBM%26outputsize%3Dcompact" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DGLOBAL_QUOTE%26symbol%3DIBM" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DSYMBOL_SEARCH%26keywords%3Dtesla" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DCURRENCY_EXCHANGE_RATE%26from_currency%3DUSD%26to_currency%3DJPY" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DDIGITAL_CURRENCY_DAILY%26symbol%3DBTC%26market%3DUSD" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DSMA%26symbol%3DIBM%26interval%3Ddaily%26time_period%3D20%26series_type%3Dclose" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DOVERVIEW%26symbol%3DIBM" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DNEWS_SENTIMENT%26tickers%3DAAPL%2CMSFT" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
Next Steps
All Providers Browse all supported AI providers
Forward Proxy Learn how to construct proxy URLs and authenticate requests