APIYard
Back to APIs
FinanceAPI KeyFree tier

Alpha Vantage

Free stock market data API with 20+ years of historical data, real-time quotes, technical indicators, and FX rates.

Base URL

https://www.alphavantage.co/query
stocksforextechnical indicatorshistoricalETF

Endpoints

GET?function=GLOBAL_QUOTE

Get the latest price and volume for a stock.

const response = await fetch("https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=AAPL&apikey=YOUR_API_KEY", {
  method: "GET",
  headers: {
  "Content-Type": "application/json",
  "X-API-Key": "YOUR_API_KEY"
  }
});

const data = await response.json();
console.log(data);

Response Preview

{
  "Global Quote": {
    "01. symbol": "AAPL",
    "05. price": "189.30",
    "06. volume": "52431621",
    "10. change percent": "+1.2300%"
  }
}