Skip to content
# api

API Reference

Provision and manage servers, hosting, databases and billing from your terminal, CI, or any HTTP client. Everything in the console is scriptable.

Looking for setup or account help? Open Help & guides.

Topics

Authentication

All requests require a Bearer token in the Authorization header (a few endpoints, like the dedicated server catalog, are public and noted as such below). Generate tokens from your dashboard under Profile β†’ Developer β†’ API token.

bash
curl https://bashrack.com/api/v1/orders \
  -H "Authorization: Bearer $BASHRACK_API_TOKEN" \
  -H "Content-Type: application/json"
Base URL: https://bashrack.com/api/v1
Rate limit: 60 requests / minute per token. Burst: 10.
Idempotency: POST /orders accepts an X-Idempotency-Key header β€” safe retries replay the first response for 24h.
IP allowlist: if you restrict your token to specific IPs, requests from other IPs get 403 ip_not_allowed.