api.pro.coinbase.com retrieve historic candles data
Im working on the same thing. You have to repeat the request. 

For 1000 candles you need to loop the request 3-4 times with different start and end parameters. 

I had it working for hole hours but now that I switched to minute granularity the request comes out weird.