Get TLD
GET
https://api.vercel.com/v1/registrar/tlds/{tld}Get the metadata for a specific TLD.
Request
import { Vercel } from "@vercel/sdk";
const vercel = new Vercel({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.domainsRegistrar.getTld({ tld: "<value>", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", });
console.log(result);}
run();Response
{ "supportedLanguageCodes": {}}Errors
{ "status": "400", "code": "tld_not_supported", "message": "string"}AuthorizationbearerToken
Default authentication mechanism
400There was something wrong with the request
429TooManyRequests