I don't know if this is possible or not but one of the requirements for the algorithm I am coding is to check the US Dollar Index (specifically if it has reached its 5 day ADR). I want to reach out to an external service API that already has the signal "yes" or "no" in the response. So my questions are:

1) Can I query an external API within my Python script?

2) Does QuantConnect already offer a way to query data for the US Dollar Index so that I can bypass the need for an external call? (although I would think that the extrernal call could be useful later).