I've been thinking about the subject and I've always wondered, from where do they obtain the data that is analized in applications, I've looked at Nasdaq's website and they do not seem to have any sort of APIs, do the firms parse yahoo's finance section, or are there special contracts, agreements in places with the different stock markets?

  • This might be on topic on the Money site or maybe on Cross-Validated.
    – user28988
    May 25, 2012 at 4:48
  • Yeah, I was unsure as were to post it but I ask with a programming interest if you can call it like that, if it needs to be migrated I'd have no problem at all.
    – Tristian
    May 25, 2012 at 5:05

3 Answers 3


There are firms that specialize in providing Market Data for most asset classes. Reuters, Bloomberg and Markit are three of many. The data is sold, so there likely won't be public APIs for most of it. Academics use CRSP to track stock returns - most of the data on efficient markets is from that data set.


Yahoo does have a simple API for obtaining current data for individual stocks. Details here:


But it's not a way to get historic data. For that, you'll probably have to subscribe to a service.


They subscribe to data feeds to the various exchanges and record the data as it comes in. Free sources like Yahoo and Google can have errors in the data, can be delayed, and don't have all the information that professional traders require.

Not the answer you're looking for? Browse other questions tagged or ask your own question.