(May-15-2023, 04:22 PM)alifihri Wrote: I think requesting HTML by API is denied.Yes it is denied can be problem with domain you loop over,if look at Doc.
So should now do a simple test with the curl command in Doc or in Python it will be like this.
To see if your Api keys works,sometime the work for limit amount of time,then have to reactivate keys.
import requests api_key = "YOUR_API_KEY" api_secret = "YOUR_API_SECRET" domain = "example.guru" url = f"https://api.godaddy.com/v1/domains/available?domain={domain}" headers = { "Authorization": f"sso-key {api_key}:{api_secret}" } response = requests.get(url, headers=headers) print(response.status_code) print(response.content)If this work should check the domain you loop over it complain about appraisal/
CharlotteComputerRepair.com"
domain.