Skip to main content

suggestions

GoDaddy Domains v1 API. Accepts a Personal Access Token (Bearer) or a classic sso-key credential.

Overview

Namesuggestions
TypeResource
Idgodaddy.registration.suggestions

Fields

The following fields are returned by SELECT queries:

Request was successful

NameDatatypeDescription
domainstringSuggested domain name

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectx_shopper_id, query, country, city, sources, tlds, length_max, length_min, limit, wait_msReturns domain name suggestions based on a seed domain, keywords, or purchase history. Useful for presenting alternatives when a desired domain is unavailable.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
citystring (city-name)Name of city to be used as a hint for target region
countrystring (iso-country-code)Two-letter ISO country code to be used as a hint for target region NOTE: These are sample values, there are many more
length_maxintegerMaximum length of second-level domain (wire: lengthMax)
length_minintegerMinimum length of second-level domain (wire: lengthMin)
limitintegerMaximum number of suggestions to return
querystringDomain name or set of keywords for which alternative domain names will be suggested
sourcesarraySources to be queried - CC_TLD — Varies the TLD using Country Codes - EXTENSION — Varies the TLD - KEYWORD_SPIN — Identifies keywords and then rotates each one - PREMIUM — Includes variations with premium prices
tldsarrayTop-level domains to be included in suggestions NOTE: These are sample values, there are many more
wait_msinteger (integer-positive)Maximum amount of time, in milliseconds, to wait for responses If elapses, return the results compiled up to that point (wire: waitMs)
x_shopper_idstringShopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. (wire: X-Shopper-Id)

SELECT examples

Returns domain name suggestions based on a seed domain, keywords, or purchase history. Useful for presenting alternatives when a desired domain is unavailable.

SELECT
domain
FROM godaddy.registration.suggestions
WHERE x_shopper_id = '{{ x_shopper_id }}'
AND query = '{{ query }}'
AND country = '{{ country }}'
AND city = '{{ city }}'
AND sources = '{{ sources }}'
AND tlds = '{{ tlds }}'
AND length_max = '{{ length_max }}'
AND length_min = '{{ length_min }}'
AND limit = '{{ limit }}'
AND wait_ms = '{{ wait_ms }}'
;