VPS with API

Servers can be created and deleted via API — for automation and Terraform.

Filters 1
Processor
Disk
Disk type
Size, GB
RAM
Traffic per month
at least
Operating system
Country
Payment method
Virtualization
Terms
Found 292 plans — showing , first:
Host and plan ProcessorRAM Disk Traffic Where Payment Price
EUGameHost EUGameHostNano Edge
Money-back DDoS protection Ready in minutes
1 coreCPU 512 MBRAM 5 GBNVMe 100 Mbit/sport 🇬🇧 United Kingdom Bank card (Visa/Mastercard)PayPal
0.86 $ when paying for year: 0.67 $/mo Open
V.PS V.PSNano
Money-back Ready in minutes IPv6
1 coreCPU 1 GBRAM 15 GBSSD 1 TB1 Gbit/s 🇩🇪 Germany Bank card (Visa/Mastercard)PayPalInvoice for companies
0.93 $ total when paying for year Open
HostVDS HostVDSHostVDS 1
Hourly billing
1 coreCPU 1 GBRAM 10 GBNVMe 500 GB50 Mbit/s 🇺🇸 USA CryptocurrencyBank card (Visa/Mastercard)
0.99 $ Open
Jink Host Jink HostDirt
No ID required DDoS protection Ready in minutes
1 coreCPU 512 MBRAM 20 GBNVMe unlimited100 Mbit/s CryptocurrencyBank card (Visa/Mastercard)PayPal
1.00 $ total when paying for 3 mo Open
myPrepaid-Server myPrepaid-Server1 Euro Server
DDoS protection IPv6
1 core3.5 GHz 512 MBRAM 20 GBNVMe 1 Gbit/sport 🇩🇪 Germany Bank card (Visa/Mastercard)PayPalInvoice for companies
1.12 $ Open
Sive Host Sive HostKunene River
Hourly billing Money-back DDoS protection
1 coreCPU 1 GBRAM 10 GBSSD 400 GB100 Mbit/s 🇿🇦 South Africa CryptocurrencyBank card (Visa/Mastercard)PayPal
1.21 $ yearly: 1.21 $/mo Open
Hostodo HostodoKVM-512
Money-back Ready in minutes IPv6
1 core2.6 GHz 512 MBRAM 20 GBSSD 3 TB1 Gbit/s 🇺🇸 USA CryptocurrencyBank card (Visa/Mastercard)PayPal
1.25 $ total when paying for year Open
H HammerVM LTDHandle
IPv6 only DDoS protection Ready in minutes IPv6
1 coreCPU 256 MBRAM 5 GBNVMe 100 Mbit/sport 🇺🇸 USA CryptocurrencyBank card (Visa/Mastercard)Invoice for companies
1.34 $ Open
Full Time Hosting Full Time HostingVPS-GAME-CUS (конфигуратор)
Money-back DDoS protection IPv6
1 coreCPU 512 MBRAM 10 GBNVMe 300 Mbit/sport 🇩🇪 Germany Payment methods are not listed on the host’s website
1.40 $ Open
3HCloud 3HCloud1 GB 1 vCPU Shared Pool
Hourly billing IPv6
1 coreCPU 1 GBRAM —disk —traffic Bank card (Visa/Mastercard)
1.50 $ Open
UltraVDS UltraVDSUltraLite
DDoS protection Ready in minutes
1 core2.0 GHz 512 MBRAM 10 GBSSD unlimited100 Mbit/s 🇷🇺 Russia Bank card (Visa/Mastercard)Invoice for companiesYooMoney
1.64 $ when paying for year: 1.31 $/mo Open
4vps 4vpsRU-KAP-cx01
1 core4.5 GHz 1 GBRAM 10 GBNVMe 100 Mbit/sport 🇷🇺 Russia CryptocurrencyBank card (Visa/Mastercard)WebMoney
1.70 $ when paying for year: 1.50 $/mo Open
Sprintbox SprintboxСтудент
Ready in minutes IPv6
1 coreCPU 600 MBRAM 7 GBNVMe unlimited100 Mbit/s Payment methods are not listed on the host’s website
1.70 $ Open
RuVDS RuVDSСамый дешёвый VPS
Trial Hourly billing DDoS protection
1 core2.0 GHz 512 MBRAM 10 GBHDD unlimitedtraffic 🇷🇺 Russia Bank card (Visa/Mastercard)YooMoney
1.81 $ Open
Macloud MacloudCloud 1CPU/1GB/10GB
DDoS protection Ready in minutes IPv6
1 coreCPU 1 GBRAM 10 GBNVMe 1 TB1 Gbit/s 🇷🇺 Russia WebMoneyInvoice for companies
1.83 $ Open
RareCloud RareCloudKVM VPS Micro
Hourly billing Money-back Ready in minutes
1 coreCPU 768 MBRAM 15 GBNVMe 1 TBtraffic CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
1.83 $ total when paying for year Open
VDSina VDSinaСтандартный 1 core / 1 Gb
DDoS protection Ready in minutes
1 core3.2 GHz 1 GBRAM 10 GBNVMe 1 TB1 Gbit/s CryptocurrencyInvoice for companies
1.83 $ Open
RamNode RamNodeLite VPS 1GB (IPv6 only)
IPv6 only Hourly billing Money-back DDoS protection
1 coreCPU 1 GBRAM 15 GBNVMe 500 GBtraffic CryptocurrencyBank card (Visa/Mastercard)PayPal
2.00 $ Open
VDSina.com VDSina.comStandard 1 core / 1 GB
DDoS protection Ready in minutes
1 core3.0 GHz 1 GBRAM 10 GBNVMe 1 TB10 Gbit/s 🇳🇱 Netherlands CryptocurrencyBank card (Visa/Mastercard)WebMoneyInvoice for companiesYooMoney
2.09 $ Open
1Gb.ua 1Gb.uaVZ-Лайт
Trial
1 core2.4 GHz 192 MBRAM 3 GBSSD 100 GBtraffic Bank card (Visa/Mastercard)Invoice for companies
2.18 $ Open
WeHaveServers WeHaveServersVPS-1
Money-back DDoS protection Ready in minutes
1 core3.3 GHz 4 GBRAM 50 GBNVMe unlimited1 Gbit/s not specified CryptocurrencyBank card (Visa/Mastercard)PayPal
2.19 $ total when paying for year Open
ServersCamp ServersCampBasic 1 vCPU / 1 GB
Hourly billing Ready in minutes
1 coreCPU 1 GBRAM 25 GBNVMe 5 TBtraffic 🇷🇴 Romania Bank card (Visa/Mastercard)Invoice for companies
2.24 $ Open
CloudCone CloudConeSSD VPS 1
Hourly billing IPv6
2 coresCPU 1 GBRAM 30 GBSSD 4 TB1 Gbit/s 🇺🇸 USA Bank card (Visa/Mastercard)Invoice for companies
2.34 $ total when paying for year Open
Loclix di Sciacca Matteo Filiberto Loclix di Sciacca Matteo FilibertoR7-1
DDoS protection Ready in minutes
1 coreCPU 1 GBRAM 10 GBSSD 100 Mbit/sport 🇩🇪 Germany Payment methods are not listed on the host’s website
2.36 $ Open
Tiktalik.com Tiktalik.comTiktalik VPS Standard (1 GB)
Hourly billing Ready in minutes
2 coresCPU 1 GBRAM 20 GBHDD 2 TB100 Mbit/s 🇵🇱 Poland Bank card (Visa/Mastercard)Invoice for companies
2.41 $ Open
Webdock.io Webdock.ioVPS Essential
DDoS protection Ready in minutes
1 coreCPU 2 GBRAM 15 GBNVMe 1 TB1 Gbit/s 🇩🇰 Denmark Bank card (Visa/Mastercard)PayPal
2.41 $ Open
Voyar Cloud Voyar CloudCV-10
Hourly billing DDoS protection Ready in minutes
2 coresCPU 2 GBRAM 40 GBNVMe —traffic 🇹🇷 Turkey Invoice for companies
2.46 $ Open
Time4VPS Time4VPSStorage 0.25 TB Plan
Money-back Ready in minutes IPv6
1 coreCPU 512 MBRAM 256 GBSSD 2 TBtraffic 🇱🇹 Lithuania CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
2.50 $ Open
Pulsar67, LLC Pulsar67, LLCgc.pico
Hourly billing Money-back DDoS protection
1 coreCPU 512 MBRAM 20 GBNVMe 2 TB2500 Mbit/s 🇺🇸 USA CryptocurrencyBank card (Visa/Mastercard)PayPal
2.50 $ Open
Netcup NetcupVPS piko G11.5s
DDoS protection IPv6
1 coreCPU 1 GBRAM 30 GBSSD unlimited1 Gbit/s 🇩🇪 Germany Bank card (Visa/Mastercard)PayPalInvoice for companies
2.52 $ Open
GS WEBSERVICES GS WEBSERVICESnG-Cloud indi
Ready in minutes IPv6
1 coreCPU 1 GBRAM 10 GBNVMe 25 TB1 Gbit/s 🇩🇪 Germany Invoice for companies
2.54 $ Open
Simple Cloud Simple Cloud512MB RAM
Hourly billing Ready in minutes
1 coreCPU 512 MBRAM 5 GBSSD 250 GBtraffic 🇷🇺 Russia Bank card (Visa/Mastercard)WebMoneyYooMoney
2.63 $ Open
HostUp HostUpVPSNano
Hourly billing DDoS protection IPv6
1 coreCPU 2 GBRAM 25 GBNVMe 1 TBtraffic 🇸🇪 Sweden Payment methods are not listed on the host’s website
2.96 $ Open
Evoxt Enterprise Evoxt EnterpriseVM-0.5 (Premium Network)
Money-back DDoS protection Ready in minutes
1 coreCPU 512 MBRAM 5 GBSSD 250 GB1 Gbit/s CryptocurrencyBank card (Visa/Mastercard)PayPal
2.99 $ Open
Elastic Web Elastic WebKVM Тариф 0
1 coreCPU 512 MBRAM 20 GBSSD —traffic 🇷🇺 Russia Payment methods are not listed on the host’s website
3.04 $ Open
HostMyServers.fr HostMyServers.frSSD-1
DDoS protection Ready in minutes
1 core2.7 GHz 2 GBRAM 20 GBNVMe unlimited500 Mbit/s 🇫🇷 France CryptocurrencyBank card (Visa/Mastercard)PayPal
3.08 $ Open
Biznetgio BiznetgioNEO Lite XS 1.1
Hourly billing DDoS protection
1 coreCPU 1 GBRAM 60 GBSSD unlimitedtraffic 🇮🇩 Indonesia Bank card (Visa/Mastercard)Invoice for companies
3.26 $ yearly: 3.26 $/mo Open
Host.al Shpk Host.al ShpkMinion VPS
DDoS protection
1 coreCPU 1 GBRAM 10 GBSSD 80 Mbit/sport 🇦🇱 Albania PayPalInvoice for companies
3.31 $ Open
GBNetwork.my GBNetwork.myGBCloud Cluster 0.5GB/1C
Hourly billing Ready in minutes
1 coreCPU 512 MBRAM —disk 1 TBtraffic 🇲🇾 Malaysia CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
3.32 $ Open
Phylex Platforms Phylex PlatformsAXV 1
Hourly billing DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 50 GBNVMe 1 Gbit/sport 🇳🇱 Netherlands Payment methods are not listed on the host’s website
3.34 $ Open
NetGrid Host NetGrid HostStarter
Ready in minutes IPv6
1 coreCPU 1 GBRAM 10 GBNVMe unlimited1 Gbit/s CryptocurrencyBank card (Visa/Mastercard)Invoice for companies
3.35 $ Open
AlphaVPS AlphaVPSR1G
Money-back DDoS protection Ready in minutes
1 core5.7 GHz 1 GBRAM 15 GBNVMe 1 TB10 Gbit/s CryptocurrencyBank card (Visa/Mastercard)PayPal
3.36 $ when paying for year: 2.85 $/mo Open
Friend Hosting Friend HostingStorage 100 Gb
Hourly billing Ready in minutes
1 coreCPU 512 MBRAM 100 GBNVMe 1 Gbit/sport Bank card (Visa/Mastercard)PayPal
3.36 $ Open
KabyNode KabyNodeVPS Entry
Money-back DDoS protection Ready in minutes
1 coreCPU 1 GBRAM 10 GBNVMe 20 TB1 Gbit/s 🇷🇴 Romania Bank card (Visa/Mastercard)PayPalInvoice for companies
3.36 $ Open
Cherry Servers Cherry ServersCLOUD VPS 1 (GEN 2)
Hourly billing Money-back DDoS protection
1 coreCPU 1 GBRAM 20 GBSSD 1 TB1 Gbit/s CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
3.37 $ Open
UpCloud.com UpCloud.comStarter 1 GB / 1 vCPU
Trial Hourly billing Money-back
1 coreCPU 1 GBRAM 10 GBSSD 250 Mbit/sport Bank card (Visa/Mastercard)PayPal
3.37 $ Open
UltraVPS.eu UltraVPS.euStorage-250
1 coreCPU 512 MBRAM 250 GBSSD 2 TBtraffic Payment methods are not listed on the host’s website
3.37 $ Open
iNet.vn iNet.vnCloud Server Linux 1
Trial IPv6
1 coreCPU 1 GBRAM 20 GBSSD unlimited200 Mbit/s 🇻🇳 Vietnam Bank card (Visa/Mastercard)Invoice for companies
3.47 $ when paying for 5 years: 2.43 $/mo Open
Amazon Lightsail Amazon LightsailLightsail General Purpose 0.5 GB (IPv6-only, Linux)
IPv6 only Trial Hourly billing IPv6
2 coresCPU 512 MBRAM 20 GBSSD 1 TBtraffic Bank card (Visa/Mastercard)Invoice for companies
3.49 $ Open
Lunanode Lunanodem.1s (Memory-Optimized)
Hourly billing IPv6
1 coreCPU 1 GBRAM 15 GBSSD 1 TBtraffic 🇨🇦 Canada Cryptocurrency
3.49 $ Open

VPS with API: prices, hosting providers and payment methods

The selection has 6,551 plans from 292 hosts. Prices start at 0.86 $ per month, a quarter of plans are cheaper than 27.58 $, half are cheaper than 96.53 $. NVMe: 35% of plans, unlimited traffic: 21%, hourly billing: 55%.

Cheapest hosting providers

  1. V.PSNano · 1 core · 1 GB0.93 $
  2. HostVDSHostVDS 1 · 1 core · 1 GB0.99 $
  3. Sive HostKunene River · 1 core · 1 GB1.21 $
  4. 3HCloud1 GB 1 vCPU Shared Pool · 1 core · 1 GB1.50 $
  5. HostodoEPYC-1G1C16GN · 1 core · 1 GB1.67 $

Price by RAM size

RAMPlansPrice from
from 1 GB6,4760.93 $
from 2 GB6,1661.86 $
from 4 GB5,5812.19 $
from 8 GB4,7764.43 $
from 16 GB3,7786.68 $

Payment methods

  • Bank card182 62%
  • Cryptocurrency92 32%

How many hosting providers in the selection accept each payment method.

Provider comparisons VPS price index VPS price calculator VPS guide

VPS with an API: creating and deleting servers from code, Terraform, tokens and billing

A host's API lets a program do everything you usually do with buttons in the panel: create a server, choose an image and location, add an SSH key, reboot, take a snapshot, change the plan and delete the machine. You need it where there are many servers or they live briefly: test environments for every branch, build runners, temporary machines for computations, clusters that grow with load. The table above lists plans from hosts that offer such an API. Below is what to look at before writing the first line of automation.

What to check in the API before renting

Hosts' APIs vary a lot in completeness. Before building processes on one, open the documentation and check:

  • The set of operations. Creating and deleting are available almost everywhere, but snapshots, extra disks, private networks, floating IPs and firewall rules are not always.
  • cloud-init or user-data. The ability to pass an initial setup script at creation time: a user, keys, packages. Without it every new machine has to be finished off separately.
  • Asynchrony. Usually a create request returns a task ID, and the server becomes available tens of seconds or minutes later. The script must poll the status rather than connect over SSH right after the response.
  • Rate limits. APIs limit the number of calls per minute or hour. Mass creation of machines in a loop without pauses hits them first.
  • Ready-made tools. A provider for Terraform and OpenTofu, Ansible modules, an official command-line utility and libraries in the languages you need.

Terraform, OpenTofu and Ansible

Writing API calls by hand is only worth it for simple scenarios. For infrastructure of several machines it is more convenient to describe it declaratively: Terraform or its open fork OpenTofu keeps the desired state in code, the plan command shows what will change, apply applies the changes, and destroy deletes everything that was created. This protects you from "hand-made" servers that nobody remembers.

Two things people forget. The state file contains resource IDs and often secrets in plain text, so it is not committed to the repository but kept in a remote backend with locking, so that two runs cannot change the infrastructure at the same time. And Terraform is responsible for creating machines but not for what is inside them: installing packages, configuring services and updates are usually handled by Ansible. A typical combination is that Terraform creates the servers and outputs their addresses, and Ansible uses this list to deploy the application. An example of such a setup for a cluster is on the VPS for Kubernetes page, and for temporary build machines there is the VPS for CI/CD runners selection.

Tokens and access rights

An API token can create servers worth thousands of dollars or delete a production database, so treat it like the password to your account:

  1. If the host allows it, issue tokens with limited rights: read-only for monitoring and cost tracking, write access for the pipeline that actually creates machines.
  2. Separate projects: a dedicated project or sub-account for test environments, so that a CI token cannot see production.
  3. Keep the token in CI secrets or a secrets manager, not in code, not in a .tfvars file under Git and not in build logs.
  4. Set an expiry date if supported, and rotate tokens when an employee leaves. Binding to IP addresses, where available, greatly reduces the damage from a leak.
  5. Enable two-factor authentication on the account: tokens are issued from the panel, and its password should not be the only protection.

Paying for servers created from code

Automation comes into its own with hourly billing: a machine created for two hours costs two hours. But this is exactly where it is easiest to lose money without noticing.

  • Orphaned resources. The script crashed between creation and deletion, and the server keeps running. Mark every machine with a tag or label showing its source and lifetime, and run a scheduled cleanup of everything older than it should be.
  • Not only servers. Snapshots, separate disks and reserved IP addresses are often billed separately and are not deleted together with the machine. Check them in the same cleanup.
  • A stopped server is not free. At most hosts a stopped machine keeps being billed for its disk and address; the only way to stop paying is to delete it.
  • Limits and alerts. Set a spending alert threshold and, if the host allows it, a limit on the number of servers in the account. A bug in a loop should not be able to create a hundred machines.

For environments that are brought up for a check and deleted right away, see also the VPS for testing selection.

FAQ

What can I do through a host's API?

Usually create, delete, reboot and reinstall servers, add SSH keys and change the plan. Snapshots, networks, disks and the firewall are not available everywhere, so check the documentation in advance.

How is Terraform different from Ansible?

Terraform creates and deletes infrastructure: servers, networks, disks. Ansible configures machines that already exist: installs packages, distributes configs, deploys the application. They are often used together.

What is OpenTofu?

An open fork of Terraform that appeared after Terraform changed its licence. It is compatible with most Terraform providers and configurations.

Where should I store a host's API token?

In CI secrets or a secrets manager, with the minimum rights needed. The token should never end up in code, a repository or build logs.

Am I charged for a stopped server created through the API?

At most hosts, yes: a stopped machine still occupies a disk and an IP. To stop paying you have to delete the server, and check its snapshots and disks at the same time.

How do I avoid leaving forgotten servers behind after automation?

Tag every machine with its lifetime, delete it at the end of the pipeline even when there is an error, and run a daily cleanup of everything older than it should be.

How much does VPS with API cost?

From 0.86 $ per month. A quarter of plans are cheaper than 27.58 $, half are cheaper than 96.53 $. In total 6,551 plans from 292 hosts.

Can I pay for VPS with API by bank card or cryptocurrency?

By bank card at 182 hosts of 292 (62%), by cryptocurrency at 92 (32%). Payment methods for each plan are in the Payment column.

How much does VPS with API with 2 GB of RAM cost?

From 1.86 $ per month; with 4 GB from 2.19 $, with 8 GB from 4.43 $.

Which countries have the most plans?

Most plans are in in the USA, in Germany and in the Netherlands. You can pick a country in the filter, and prices and payment methods will update.

Related

Guide
Hourly VPS Billing: When It Saves Money and When You OverpayCloud Server or VPS: Hourly Billing, Snapshots, Network Disks and the Cost of Traffic
Comparisons
DigitalOcean vs HetznerContabo.com vs Akamai (Linode)Amazon Lightsail vs Microsoft Azure
Similar collections
VPS with a money-back guaranteeVPS without KYCVPS with instant setup

VPS/VDS collections

all 532 →

Prices and specs are taken from hosting providers' websites; check them on the website before paying, as hosts change plans without notice. About the catalog and methodology