import requests

api_key = ""
url = 'https://api.malware-research.org/v1/whois/'


def whois(string):
    response = requests.get(url+string, headers={"x-api-key": api_key})
    print(response.status_code)
    print(response.text)
    
    
whois('google.com')