1. Getting Started
The WE24 REST API allows developers to programmatically search, provision, and configure domains and DNS records. All requests are served over HTTPS from https://api.we24.in/v1 or your local/deployed instance root /api/v1.
2. Authentication
Authenticate your API requests by including your secret API Key in the HTTP Authorization header:
Authorization: Bearer we24_live_9f82ab7...GET
/api/domains/search?q=mybrandReturns live availability and pricing for both free .we24.in subdomains and worldwide TLDs (.com, .in, .net, etc.).
{
"success": true,
"query": "mybrand",
"freeSubdomain": {
"domain": "mybrand.we24.in",
"available": true,
"price": 0,
"currency": "INR"
},
"paidDomains": [
{ "domain": "mybrand.com", "tld": ".com", "available": true, "price": 899 },
{ "domain": "mybrand.in", "tld": ".in", "available": true, "price": 499 }
]
}
POST
/api/v1/domainsInstantly provision a free .we24.in subdomain and attach initial DNS routing.
// Request Payload:
{
"subdomain": "acme-corp",
"targetIp": "76.76.21.21"
}
// Response:
{
"success": true,
"message": "Free domain acme-corp.we24.in provisioned successfully",
"domain": {
"id": "cm2...",
"domainName": "acme-corp.we24.in",
"domainType": "FREE_SUBDOMAIN",
"nameservers": ["ns1.we24.in", "ns2.we24.in"],
"status": "ACTIVE"
}
}
6. Webhook Events
Subscribe to HTTP POST notifications whenever domain events occur on your account:
domain.created— Fired when a free or paid domain is provisioned.dns.updated— Fired on any DNS record creation, edit, or deletion.order.completed— Fired upon successful registrar registration.domain.suspended— Fired if abuse actions are triggered.