Does the API work over plain http? Use https. Every address of the API is an https address. More: The REST API, Addresses