All URIs are relative to https://api.simply.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| domaincheck() | GET /2/my/domaincheck/{domain}/ | Check domain availability |
domaincheck($domain): \SimplyCom\SimplyCom\Model\Domaincheck200ResponseCheck domain availability
Check if a domain is available for registration or can be transferred. Supports both ASCII and internationalized domain names (IDN). Note: This endpoint includes a 1-second delay to prevent abuse.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = SimplyCom\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SimplyCom\Api\DomainsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$domain = example.com; // string | The fully qualified domain name to check (e.g., example.com)
try {
$result = $apiInstance->domaincheck($domain);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DomainsApi->domaincheck: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| domain | string | The fully qualified domain name to check (e.g., example.com) |
\SimplyCom\SimplyCom\Model\Domaincheck200Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]