I'm looking for approaches to get list of "spinning names" for some domain.
For example user enters 'example-domain.com' on custom page, then js makes ajax request to php script which makes some magic and return name suggestions similar to example-domain.com.
I thought even about making curl request "MYSITE/cart.php?a=add&domain=register&query=example-domain.com" and then parse html-table with domain suggestions.
How I can implement it using api? My current version is 7.6.
I would appreciate any help. Thank you!