Art 0

Is there a good way to add a "market snapshot" to my webpage using Javascript?

I just want a very simple display, something like: DJIA 10000 NASDAQ 2000 SP500 500

I want it to display recent values.

Any ideas?

  • If you want the most up to date stock market quotes, you'll have to pay for the service. I don't know of any site that provides a stock market quote feed. Mottie over 9 years ago
  • I agree with Fudgey. Even if you found a data source, you'll need to tell us how the source is feeding the data which then we might be able to tell you how to consume it. o.k.w over 9 years ago
  • yeah, not many exchanges provide their data for free and the ones that do usually put at least a 30 minute delay on it. I found a swiss exchange that provides a feed in JSON, but it had the delay on it... danwellman over 9 years ago

1 answer


For non-commercial use, you can use Yahoo Finance data feeds:

It may not be suitable to your needs though, in which case you would likely opt for a commercial solution.

Answered over 9 years ago by enbuyukfener