Hi everyone, I am starting to use IB rest api with R. I am having a bit of issues accessing the data. I have connected through the local https://localhost:5000 and have logged in successfully. Now I am trying to pull my "FYI" data. Using this link, "https://localhost:5000/v1/portal/fyi/unreadnumber". I am receiving an error. Below is my code. Code: library(httr) set_config( config( ssl_verifypeer = 0L ) ) GET("https://localhost:5000/v1/portal/fyi/unreadnumber") Error in curl::curl_fetch_memory(url, handle = handle) : SSL: certificate subject name 'Client Portal Web API' does not match target host name 'localhost' Here are is the get started link that tries to guide you through setting up. https://interactivebrokers.github.io/cpwebapi/ Here is the link to the end point connections. https://interactivebrokers.com/api/doc.html Thank you.
Have you tried executing the commands with their Swagger interface? It's been a bit since I messed around with it, but I know that gives you a way to test drive the interface. Not sure if it helps in your case, but figured I'd mention it. https://interactivebrokers.github.io/cpwebapi/swagger-ui.html