In March 2024, we launched our well-received PHP SDK, designed to streamline REST API integration for PHP projects. That was just the beginning—after hearing the growing demand from modern JavaScript and TypeScript developers, we’re thrilled to unveil our new TypeScript SDK!
🎯 Why a TypeScript SDK?
The TypeScript ecosystem now spans across backend services, serverless functions, and frontend frameworks - making it a powerful choice for full-stack projects. With this SDK, developers benefit from:
Compile-time type safety, reducing errors and speeding up development
IDE integration, yielding autocomplete, inline documentation, and smart refactoring
A clean promise-based API compatible with modern workflows
📦 Supported API Endpoints & Functionality
Our SDK wraps the full feature set of the Realtime Register REST API, enabling developers to integrate seamlessly into their TypeScript applications. Key functionalities include:
Domain Management
Create, update, renew, delete, and transfer domains in bulk or individually
Get and modify WHOIS privacy settings
Manage DNS records (A, MX, TXT, CNAME, etc.)
Financial Workflows
Check account balances, and retrieve transaction history
Retrieve current exchange rates
Notifications & Webhooks
List and manage notifications
Access API-driven status updates
Additionally, the SDK supports SSL certificate issuance and management—an essential add-on for modern web projects.
👉 And more!
⚙️ SDK Design Highlights
Fully typed request/response structures for strong developer confidence
Optimized for Node.js (e.g. Express, NestJS)
Lightweight and efficient
⚡ Quick Start
Get up and running in seconds:
pnpm add @realtimeregister/api
Then, integrate it into your code:
import RealtimeRegisterAPI from '@realtimeregister/api'
const client = new RealtimeRegisterAPI({
apiKey: process.env.RTR_API_KEY,
customer: 'your_customer_handle'
});
// Example — get metadata for a tld
async function getMetadata() {
const resp = await client.tlds.info('nl');
console.log(resp.metadata);
}
👉 Visit the GitHub repo for full documentation, type definitions, and code examples.
🧠 Who It’s For
Full-stack developers using TypeScript everywhere
API-first teams building UI dashboards with Next.js or Angular
Integrators deploying on Node.js, Lambda, or edge runtimes
Anyone needing scalable, typed integration with domain, SSL, and financial workflows
✅ Why It Matters
This SDK joins our PHP SDK in making Realtime Register integration faster, safer, and more efficient across languages and environments—amplifying value for developers worldwide.