Get availability for a domain
GET
/__remote/api.vercel.com/v1/registrar/domains/{domain}/availabilityGet availability for a specific domain. If the domain is available, it can be purchased using the Buy a domain endpoint or the Buy multiple domains endpoint.
/__remote/api.vercel.com/v1/registrar/domains/{domain}/availability
const response = await fetch('/__remote/api.vercel.com/v1/registrar/domains/domain/availability?teamId=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "available": "true"}Errors
{ "issues": [ { "path": [], "message": "string" } ], "message": "string"}429TooManyRequests