As suggested in the error response, you need to add in an API key.
I'd suggest reading the documentation properly and using the requests library for API calls, the method you're using right now is performing a simple GET request without any parameters.
Could you also share the API documentation? Because I could not find any API documentation for the v3 API.