API Reference
Integrate VPSoto services programmatically
The VPSoto API allows you to manage your servers, monitor usage, and automate deployments programmatically. Our RESTful API is designed to be simple, powerful, and easy to integrate.
Base URL
https://api.vpsoto.com/v1Authentication
All API requests require authentication using API keys. You can generate API keys from your dashboard under Settings → API Keys.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.vpsoto.com/v1/serversKeep your API keys secure
Never share your API keys or commit them to version control.
Core Endpoints
Servers
/serversList all servers in your account
/servers/:idGet details about a specific server
/serversCreate a new server
/servers/:idUpdate server configuration
/servers/:idDelete a server
Server Actions
/servers/:id/restartRestart a server
/servers/:id/startStart a stopped server
/servers/:id/stopStop a running server
Response Format
All responses are returned in JSON format:
{
"success": true,
"data": {
"id": "srv_123456",
"name": "web-server-1",
"status": "active",
"ip": "192.168.1.100",
"location": "us-east-1"
}
}Rate Limits
API requests are limited to 1000 requests per hour per API key. Rate limit information is included in response headers:
X-RateLimit-Limit: Maximum requests per hourX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Time when the rate limit resets
SDKs and Libraries
Node.js
npm install @vpsoto/sdkPython
pip install vpsotoPHP
composer require vpsoto/sdkGo
go get github.com/vpsoto/sdk-goNeed More Information?
This is a quick overview of our API. For complete documentation with detailed examples and use cases, visit our full API documentation.
View Full API Documentation →