Libstocks is a C library which can be used to fetch stocks quotes. It is currently able to get quotes from a lot of stocks markets. The supported markets are : Argentina European markets Australia Mexico Brasil United States Canada Venezuela Chili Unfortunatly, libstocks can get historical quotes just for the United States market.