CQGTrader doesn't have the API, but CQG Integrated client does. CQG IC API gives you access to real time data from all exchanges you're enabled for, historical data, analytics (including trade systems and custom studies) and trading abilities. Price for API depends on your specific needs.