Search code examples
restapigodaddy-api

Is Godaddy API returning bad results?


I'm trying to figure out if I'm doing something wrong, or if GoDaddy is just returning bad results.

When I check the domain availability on their API sandbox, domains show up as "true" or available.

But then, when I check on the front end of GoDaddy, they show as "taken"

For example, if I use the following get request, GoDaddy API returns as "available"

https://api.ote-godaddy.com/v1/domains/available?domain=facebookchat.com&checkType=FAST&forTransfer=false

Returned JSON

{
  "available": true,
  "currency": "USD",
  "definitive": true,
  "domain": "facebookchat.com",
  "period": 1,
  "price": 7490000
}

But if I check on the front end here, it comes back as "taken"

https://www.godaddy.com/domainsearch/find?checkAvail=1&tmskey=&domainToCheck=facebookchat.com

Photo from official API showing domain available:

Photo from official API showing domain *available*

Front end results showing domain NOT available:

Front end results showing domain NOT *available*


Solution

  • I'd say their API is unreliable. I just tested it for domain=getpostman.com and it reports "available": true even though it most certainly is not.

    {
        "available": true,
        "currency": "USD",
        "definitive": true,
        "domain": "getpostman.com",
        "period": 1,
        "price": 10690000
    }
    

    According to the docs, the "available" and "definitive" values are supposed to indicate that they are absolutely sure about whether or not the domain name is available.

    DomainAvailableResponse

    available* boolean Whether or not the domain name is available

    definitive* boolean Whether or not the available answer has been definitively verified with the registry