API Reference
Built for developers
Automate your domain portfolio using our powerful GraphQL and REST APIs. Integrate domain searching, purchasing, and DNS management directly into your own applications.
Universal Mapping
One unified API schema for 50+ underlying registrars.
Granular Permissions
Create scoped API keys for specific domains or actions.
api.central.domains/v1
// Initialize the Central Domains SDKimport{ CentralDomains }from'@centraldomains/sdk';constclient =newCentralDomains({ apiKey: process.env.CENTRAL_DOMAINS_API_KEY });// Fetch all expiring domains across registrarsconstdomains =awaitclient.domains.list({ status:'expiring', daysUntilExpiry:30});// Automatically renew and log the transactionfor(constdomainofdomains) {awaitclient.domains.renew(domain.id); console.log(`Successfully renewed ${domain.name}`); }
