Developer API
Find available VPS plans, prepare reseller orders and manage existing services.
Authentication and limits
Catalog discovery is public. Account endpoints accept scoped bearer keys from Developer access. Keep the key on your server.
curl "$API_ORIGIN/api/v1/services" \
-H "Authorization: Bearer $HOSTING_API_KEY"Set API_ORIGIN to your hosting site’s origin. A 429 includes Retry-After. Default quota is 60 calls per minute per key or account. Validate HTTP status and read the JSON error field on failure.
Find the product and plan to sell
Use the product slug to list its plans. Use the plan slug in quotes and orders. The plan response provides its allowed locations and OS images, retail pricing and reseller eligibility.
GET /api/v1/catalog/products?category=windows-vps
GET /api/v1/catalog/products/{productSlug}
GET /api/v1/catalog/plans/{planSlug}Submit a reseller order request
- Request reseller access in Developer access. The owner enables resale and selects which plans accept requests.
- Check your reseller account balance and create a key with
orders:readandorders:write. - Choose a plan with
reseller.requestable=true. Use a location code and OS image ID from that plan. - Request a quote and send its credit cost with your hostname and an idempotency key. Quote and request amounts are in hundredths of a credit.
- Track the request in the API or Reseller orders. The owner reviews it. Submitting a request does not charge credits or provision a server.
POST /api/v1/reseller/quote
{ "planSlug": "PLAN_SLUG", "locationCode": "LOCATION_CODE", "osImage": "OS_IMAGE_ID" }
POST /api/v1/reseller/orders
Idempotency-Key: your-unique-order-id
{ "planSlug": "PLAN_SLUG", "locationCode": "LOCATION_CODE", "osImage": "OS_IMAGE_ID",
"hostname": "vps.example.net", "expectedCreditCostCents": 1200 }
GET /api/v1/reseller/orders/{id}Catalog endpoints
GET/api/v1/catalog/productsList products and plans
Lists published products and their plans. Filter by category slug and follow nextPage.
Parameters page, category
GET/api/v1/catalog/products/{slug}Read a product
Returns all published plans within the selected product.
GET/api/v1/catalog/plans/{slug}Read a plan
Returns price, resources, allowed locations and OS image IDs, the checkout URL and reseller availability.
Reseller endpoints
GET/api/v1/reseller/accountRead reseller access and balance
Shows approval status and the USD-backed credit balance for the caller.
Key scope orders:read
POST/api/v1/reseller/quoteQuote a reseller configuration
Checks a plan, location and OS combination against current reseller pricing and the account balance.
Key scope orders:write
POST/api/v1/reseller/ordersRequest an order
Submits a quoted configuration for owner review. Use the same Idempotency-Key when retrying. Submission charges no credits and starts no installation.
Key scope orders:write
Parameters Idempotency-Key
GET/api/v1/reseller/ordersList order requests
Lists requests belonging to the API key’s account, newest first.
Key scope orders:read
Parameters page
GET/api/v1/reseller/orders/{id}Read an order request
Returns the request configuration, current review status and any owner note.
Key scope orders:read
DELETE/api/v1/reseller/orders/{id}Cancel a request
Cancels a request that is awaiting review. Repeating cancellation returns the cancelled request.
Key scope orders:write
Services endpoints
GET/api/v1/servicesList services
Lists services belonging to the personal or team account selected when creating the key.
Key scope services:read
GET/api/v1/services/{id}Read a service
Returns service state, assigned IPs, plan resources and public location.
Key scope services:read
GET/api/v1/services/{id}/metricsRead recorded metrics
Returns up to 500 actual collector samples in time order. Byte counters are decimal strings to preserve precision.
Key scope services:read
Parameters hours
GET/api/v1/services/{id}/pause-quoteGet a pause quote
Returns an expiring quote for an hourly server. Storage, assigned IPs and recurring add-ons can keep billing.
Key scope services:read
POST/api/v1/services/{id}/actionControl a server
Start, stop, restart, pause or resume an owned service with a configured node. A pause must include confirmation and its unexpired quote token.
Key scope services:control
GET/api/v1/services/{id}/passwordCheck guest agent reachability
Checks whether the QEMU Guest Agent on an accessible running VPS responds. It does not change the password.
Key scope services:password:reset
POST/api/v1/services/{id}/passwordReset a VPS password
Sets the password for an existing guest user on a running VPS with the QEMU Guest Agent available.
Key scope services:password:reset
Billing endpoints
GET/api/v1/invoicesList invoices
Lists up to 100 invoices within the caller’s billing access.
Key scope billing:read
GET/api/v1/invoices/{id}Read an issued invoice
Returns status, totals and line items for an accessible non-draft invoice.
Key scope billing:read
Status endpoints
GET/api/healthCheck API readiness
Returns database and Redis readiness and whether integrations are enabled.