By the error message, it seems that this API is not CORS enabled. The HTTP endpoint is not intended to be used directly in the client (like an app) but in the server, since you’re also sending an API key in your URL which should be secret (be careful with this!).