Developer API

Automate Everything witha Powerful API

Manage your infrastructure programmatically with RESTful API, webhook integrations, and official SDKs. Integrate into your CI/CD pipelines, build custom panels.

Comprehensive Documentation
OAuth 2.0 & API Key
50ms Average Response
RESTfulAPI Standard
4Official SDK
99.9%API Uptime

API Explorer

Discover all endpoints and test them directly

https://api.hosted.cloud/v1
GET/v1/servers
POST/v1/servers
GET/v1/domains
POST/v1/dns/records
GET/v1/billing/invoices
DELETE/v1/servers/{id}
Example Request
curl -X GET "https://api.hosted.cloud/v1/servers" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Example Response
{
  "data": [
    {
      "id": "srv_abc123",
      "name": "web-production",
      "status": "running",
      "ip": "185.x.x.x",
      "plan": "cloud-4vcpu-8gb"
    }
  ],
  "meta": { "total": 1, "page": 1 }
}

API Features

Secure and fast integration with enterprise-grade API infrastructure

OAuth 2.0 & API Key

Authentication with both OAuth 2.0 flow and API Key. Granular access control with scope-based authorization.

Smart Rate Limiting

Automatic rate limit based on package level. Burst traffic support and remaining request info in headers.

JSON API Standard

Consistent JSON response format, pagination, filtering, and sorting support. OpenAPI 3.0 specification.

TLS 1.3 Encryption

All API traffic is encrypted with TLS 1.3. Certificate pinning and mutual TLS support.

API Versioning

Backward compatibility with semantic versioning. Deprecation policy and migration guide.

Usage Analytics

Monitor your API usage on a real-time dashboard. Request logs and error analysis.

Use Cases

What can you do with our API?

CI/CD Integration

Integrate server and service management into your deployment pipeline.

  • Auto-deploy with GitHub Actions
  • GitLab CI pipeline integration
  • Jenkins webhook triggering

Custom Dashboard

Build your own control panel for your customers.

  • White-label panel development
  • Customer self-service portal
  • Real-time monitoring

Notification System

Set up instant notifications and automation with webhooks.

  • Slack/Discord integration
  • Email alert system
  • PagerDuty incident creation

Automation

Automate repetitive tasks and save time.

  • Auto-scaling rules
  • Scheduled backups
  • DNS propagation check

Frequently Asked Questions

Get Started with the API

Set up your integration in minutes. Get started quickly with comprehensive documentation and sample code.

API Integrations | Hosted Cloud