I would like to use the endpoints of IB's REST API (https://www.interactivebrokers.com/api/doc.html) inside of QC. In particular, I want to use their scanner endpoints. To use the REST API outside of QC you have to create a gateway connection and send API requests to a custom URL like https://localhost:5000/xxx. I assume that QC connects to the IB gateway, so maybe it is possible to send requests to some URL? Does anyone know how to do so? Also, is it possible to send GET AND POST requests (some endpoints require a POST request even though it is fetching data)? 

 

If a connection to the REST API is not possible, is it possible to connect to IB's trader workstation (to do the same tasks)?