Skip to main content
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog
Servers Are Up
Virtual Datacenter
PricingFree Tools
Sign inBrowse catalog

Loading…

Servers Are Up

Your apps, automation and data on hardware we own. Build a private stack with predictable capacity and access through your dashboard, API or SSH.

SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    29 Step-by-Step Guides
  • Cloud & SaaS Catalog
    112 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Key Vault & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 23 Scopes
  • MCP Server
    129 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    34 Commands (v0.2)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/security

Rate Limits & Best Practices

How the API counts requests, what a 429 means, and how to build a client that stays inside its limits.

Intermediate
5 min
Updated 2026-10-21

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

Each API route has its own request limit, counted separately for each token, and the route limits are the same for every account. An organization API key can also have a limit of its own, which counts every route.

How Requests Are Counted

A request with a valid token counts against that token's allowance for the route it calls. Two tokens have separate allowances, and so do two routes. Reading allows more requests than changing, and a change that touches a server or costs money allows the fewest:

Request Limit for each token
GET /api/v1/instances 60 a minute
GET /api/v1/networks 30 a minute
POST /api/v1/instances/{id}/power 20 a minute
POST /api/v1/instances/{id}/snapshots 5 a minute
POST /api/v1/instances/{id}/backups 5 every 5 minutes
POST /api/v1/instances/{id}/rebuild 2 every 10 minutes

Purchases through POST /api/v1/orders and its POST /api/v1/deploy alias share one purchase limit; keep the same Idempotency-Key when you retry a purchase. POST /api/v1/instances is not a purchase endpoint. A request without a valid token is refused with 401, and too many of those from one address are refused with 429.

An Organization Key's Own Limit

An organization API key also has a Rate Limit of its own, set when the key is created in your organization's settings: a number of requests a minute, 100 unless you change it. Every request the key makes counts against it, on every route. Once the key has made that many requests in the last minute, its next request is refused with 429, even where the route's own limit has room. Personal access tokens have only the route limits.

Rate Limit Headers

A response to a request with a valid token says where that token stands: on the route's limit or, for an organization key, on the key's own limit when fewer requests are left under it:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 42
Header Meaning
X-RateLimit-Limit The limit for one window: the route's, or the organization key's own
X-RateLimit-Remaining Requests left in the current window
X-RateLimit-Reset Seconds until the window starts again

Handling 429 Responses

When a token has used its allowance, the API answers 429 with a Retry-After header, in seconds, and this body:

{
  "error": "Too many requests",
  "code": "RATE-1001",
  "retryAfter": 42
}

Implementing Retry Logic

async function apiRequest(url, options, maxRetries = 3) {
  for (let attempt = 0; attempt <= maxRetries; attempt++) {
    const response = await fetch(url, options);

    if (response.status === 429) {
      const retryAfter = Number.parseInt(
        response.headers.get('Retry-After') || '60'
      );
      console.log(`Rate limited. Retrying in ${retryAfter}s...`);
      await new Promise(r => setTimeout(r, retryAfter * 1000));
      continue;
    }

    return response;
  }
  throw new Error('Max retries exceeded');
}
import time
import requests

def api_request(url, headers, max_retries=3):
    for attempt in range(max_retries + 1):
        response = requests.get(url, headers=headers)

        if response.status_code == 429:
            retry_after = int(response.headers.get('Retry-After', 60))
            print(f'Rate limited. Retrying in {retry_after}s...')
            time.sleep(retry_after)
            continue

        return response
    raise Exception('Max retries exceeded')

Best Practices

1. Cache Responses

Keep a list you read often for 30 to 60 seconds instead of asking for it again on every page view.

2. Use Pagination

GET /api/v1/instances returns up to 200 servers at a time. Page through more with limit and offset:

GET /api/v1/instances?limit=25&offset=0

3. Use Webhooks Instead of Polling

Instead of listing your servers in a loop to notice one being created or deleted:

# Polling: one request every 5 seconds
while true; do
  curl https://serversareup.com/api/v1/instances \
    -H "Authorization: Bearer $SAU_API_KEY"
  sleep 5
done

register a webhook and receive those events as they happen:

POST /api/v1/webhooks
{"name":"server-events","url":"https://example.com/webhooks/sau","events":["instance.created","instance.deleted"]}

4. Give Each Token Only the Scopes It Needs

Scopes do not change a limit, but a leaked token with fewer scopes can do less.

5. Batch Power Actions

To start, stop or restart several servers, send one POST /api/v1/bulk/power request with up to 50 actions instead of one request for each server:

POST /api/v1/bulk/power
{"actions":[{"id":"SERVER_ID","action":"restart"},{"id":"OTHER_SERVER_ID","action":"restart"}]}

Need Higher Limits?

The limits are the same for every account, and support cannot raise them for one account.

Next Steps

  • Webhooks & Events
  • API Token Security
  • Instances API

Related Articles

Webhooks & Events

Read more

API Token Security

Read more

Instances API

Read more

Frequently Asked Questions

What does the Rate Limits & Best Practices documentation guide cover?
How the API counts requests, what a 429 means, and how to build a client that stays inside its limits. It is rated intermediate difficulty (5 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Rate Limits & Best Practices?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

How Requests Are CountedAn Organization Key's Own LimitRate Limit HeadersHandling 429 ResponsesImplementing Retry LogicBest Practices1. Cache Responses2. Use Pagination3. Use Webhooks Instead of Polling4. Give Each Token Only the Scopes It Needs5. Batch Power ActionsNeed Higher Limits?Next Steps
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library