Powerful RESTful API to manage your servers, domains, and DNS programmatically. Build custom integrations and automate your infrastructure.
Get started with the EzServer API in minutes
Generate an API key from your dashboard to authenticate your requests.
Get API Keyhttps://api.easyserver.com/v1
Authorization: Bearer YOUR_API_KEY
Complete reference for all available endpoints
Manage your servers, configurations, and monitoring
Domain registration and management
DNS zones and records management
Real-world examples to get you started
GET /api/v1/servers Host: api.easyserver.com Authorization: Bearer YOUR_API_KEY Content-Type: application/json
{
"data": [
{
"id": 1,
"name": "web-server-01",
"ip_address": "192.168.1.10",
"status": "active",
"type": "vps"
}
],
"meta": {
"total": 1
}
}
POST /api/v1/servers Host: api.easyserver.com Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "name": "api-server-01", "ip_address": "192.168.1.20", "type": "vps", "configuration_id": 2 }
{
"data": {
"id": 2,
"name": "api-server-01",
"ip_address": "192.168.1.20",
"status": "pending",
"type": "vps",
"created_at": "2024-01-15T10:30:00Z"
}
}
POST /api/v1/dns/records Host: api.easyserver.com Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "zone_id": 1, "name": "api", "type": "A", "content": "192.168.1.20", "ttl": 3600 }
{
"data": {
"id": 5,
"name": "api",
"type": "A",
"content": "192.168.1.20",
"ttl": 3600,
"created_at": "2024-01-15T10:35:00Z"
}
}
Standard HTTP status codes and error responses
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid input data",
"details": {
"name": [
"The name field is required."
],
"ip_address": [
"Invalid IP address format."
]
}
}
}
Standard Plan:
1,000 requests per hour
Enterprise Plan:
10,000 requests per hour
Rate limits are enforced per API key. Exceeded limits will return a 429 Too Many Requests status.
Official and community-maintained libraries
easyserver-js
easyserver-python
easyserver-php
easyserver-go
Our developer support team is here to help you integrate successfully.