Yes coinmarketcap has a lot of data but I need to be able to query this in my program. Only one I can parse from their site is daily prices.
I read somewhere that CMC will soon announce API access to their DB with historical data, but it will be paid.
The other option is to make a DB with current 5 min ticks from CMC and make your own historical DB over time.