Get TLD price data
GET
/__remote/api.vercel.com/v1/registrar/tlds/{tld}/priceGet price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the Get price data for a domain endpoint to get the price data for a specific domain.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo();
async function run() { const result = await vercel.domainsRegistrar.getTldPrice({ tld: "<value>", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", });
console.log(result);}
run();Response
{ "years": "123", "purchasePrice": "123", "renewalPrice": "123", "transferPrice": "123"}Errors
{ "status": "400", "code": "tld_not_supported", "message": "string"}400There was something wrong with the request
429TooManyRequests