Google Finance API

Get a Google Finance quote by symbol or link: price, change, 52-week range, market cap, P/E, analyst targets, news, and intraday and one-month daily bars, as JSON. Google shut its own Finance API in 2012.

curl "https://api.toolzerhub.com/v1/google-finance/quote?symbol_or_url=NVDA%3ANASDAQ" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"

Try the Google Finance API free

Start with 100 credits every month, then buy credits only when you need more.