You can use this tool, I've been using it for quite a while... It's in Java, so it runs on my Mac and Windows workstations. Give you access to historical data for a bunch of different types of contracts...
http://www.tradinggeeks.net/downloads/ib-data-downloader/
You can probably email developer with specific API questions...
http://www.tradinggeeks.net/downloads/ib-data-downloader/
You can probably email developer with specific API questions...