Skip to main content

Prerequisites

  • An API token (contact our sales team)
  • curl, Python with requests, or Node.js with node-fetch

Authentication

All API requests require a Bearer token in the Authorization header. Your token is non-transferable — all charges and resources are associated to your account through your token.

Step 1: Check available GPUs

This returns GPU family names (like H100) and their canonical variants (like nvidia-h100-sxm5-80gb). You can use either format when requesting offers.

Step 2: Get offers

The response includes offers from all vendors, sorted by price. Each offer has an offer_id and expires after 30 minutes.

Step 3: Procure an offer

Provisioning is asynchronous. The response returns a status — poll until ready.

Step 4: Poll until ready

When procurement_status is "ready", you’ll see instances with external_ip and ssh_command.

Step 5: Connect

Use the private key that corresponds to the public key you provided in Step 3:

Step 6: Clean up

For a complete, copy-paste-ready script that handles the full lifecycle, see the Full Example.