

A Product of Backtick Labs
Complete reference for OceanLinux API v1
Base URL
oceanlinux.com/api/v1
Authentication
Bearer Token
Rate Limit
1000/month
Security
HTTPS Only
Learn how to quickly get started with the OceanLinux API
Include your API key in the Authorization header of every request.
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://oceanlinux.com/api/v1/walletBefore purchasing servers, ensure you have sufficient wallet balance.
Secure your API requests with proper authentication
All API requests must include a valid API key in the Authorization header using Bearer token format.
Authorization: Bearer ol_1234567890abcdef...API keys can have different permission levels:
servers:read
View server information
servers:write
Purchase and manage servers
wallet:read
View wallet balance
Manage your wallet balance for API-based server purchases
Purchase and manage servers using your wallet balance
Understanding API error responses and status codes
{
"error": "Insufficient wallet balance",
"message": "Your wallet balance (₹500) is insufficient for this purchase (₹1200)",
"code": "INSUFFICIENT_BALANCE",
"required": 1200.00,
"available": 500.00,
"timestamp": "2024-01-15T10:30:00Z"
}Ready-to-use code snippets in different languages
Complete examples for common API operations
View All Examples