Check if a Domain is available to transfer
POST/domain-transferable/
v2
POST
domain-check-domain-transferability
For some TLDs (e.g., .de), transferability cannot be evaluated. In these cases, transferable = true is returned.
Request
Responses
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-X POST \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/domain-transferable
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.domain.checkDomainTransferability({});
assertStatus(response, 200);
use \Mittwald\ApiClient\Generated\V2\Clients\Domain\CheckDomainTransferability\CheckDomainTransferabilityRequest;
use \Mittwald\ApiClient\Generated\V2\Clients\Domain\CheckDomainTransferability\CheckDomainTransferabilityRequestBody;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
// TODO: Please consult the properties and constructor signature of
// CheckDomainTransferabilityRequestBody to learn how to construct a valid instance
$body = new CheckDomainTransferabilityRequestBody(/* TODO: ... */);
$request = (new CheckDomainTransferabilityRequest(
body: $body
));
$response = $client->domain()->checkDomainTransferability($request);
var_dump($response->getBody();