API Module Domain suggestNameDomainRequest

From Openprovider API documentation

Jump to: navigation, search


Module Domain > Name Suggestion

Module domain
Command name suggestNameDomainRequest
Use Returns a list of domain suggestions based on a search term
  • name - the search term which will be used to generate matches
  • limit - maximum number of suggestions to return
  • language - the three letter country code in which suggestions should be returned (ISO-3166 ALPHA-3 code format)
  • sensitive - 1/true to remove domain name suggestions deemed obscene by the supplier. 0/false to include obscene domain name suggestions.
Output returns array of domain suggestions with the following format:
  • name (domain and TLD seperated by '.')
  • domain (domain name, not including the tld)
  • tld (only the tld )


Using PHP class

$request = new OP_Request;
 ->setAuth(array('username' => 'username', 'password' => 'password'))
   'name' => 'wac', //search term 
   'limit'  => 3,
   'language' => 'spa',
   'sensitive' => 1,


Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="UTF-8"?>"
Personal tools