Security considerations of consuming public API

I have a website and i want to consume public API from third party services such as Zoopla, weather etc.

I want to ensure i do not consume malicious code/malware from the data retrieved from the 3rd party services.

What are the security checks/best practice i should consider when using any 3rd party public API?

I am using AWS API Gateway.