# CloudTier API

Free REST API for CloudTier prices: VPS, dedicated and GPU servers, storage, databases and domains as JSON, with the website's filters. No key needed.

Every API address is the website address with `/api/v1` in front: https://cloudtier.io/vps/?ram_min=4&region=eu is https://cloudtier.io/api/v1/vps/?ram_min=4&region=eu as JSON. Start at https://cloudtier.io/api/v1/ for the list of endpoints; the OpenAPI 3 schema is https://cloudtier.io/api/v1/openapi.json.

```
curl "https://cloudtier.io/api/v1/vps/?ram_min=4&region=eu&sort=price_asc&limit=10"
```

## Endpoints

GET only. Plans and providers the website hides are not in the API either.

| Endpoint | Returns |
|---|---|
| `/api/v1/vps/` | VPS and cloud server plans |
| `/api/v1/vps/{provider}/{slug}/` | One VPS plan, with its price per location |
| `/api/v1/baremetal/` | Dedicated (bare-metal) servers in stock |
| `/api/v1/baremetal/{provider}/{slug}/` | One dedicated server, with its in-stock configurations |
| `/api/v1/gpu/` | GPU servers, cloud and dedicated |
| `/api/v1/storage/object/` | S3-compatible object storage |
| `/api/v1/storage/block/` | Block storage volumes |
| `/api/v1/storage/file/` | File storage (NFS, SMB) |
| `/api/v1/storage/boxes/` | Storage boxes (backup space) |
| `/api/v1/storage/{provider}/{slug}/` | One storage plan |
| `/api/v1/databases/` | Managed databases, every engine |
| `/api/v1/databases/{engine}/` | One engine: postgresql, mysql, mariadb, redis, mongodb, opensearch |
| `/api/v1/databases/{provider}/{slug}/` | One managed database plan |
| `/api/v1/providers/` | Providers with listed plans |
| `/api/v1/providers/{slug}/` | One provider, with its plans per category |
| `/api/v1/domains/tld/` | Domain prices, one row per registrar and extension |
| `/api/v1/domains/tld/{tld}/` | One extension at every registrar |

## Parameters

Lists take the website's filter and sort parameters. Unknown parameters are ignored; a malformed value answers 400. Repeat a parameter for several values (`?region=eu&region=na`); yes/no filters take `1`. Regions are continents: eu, na, sa, as, oc, af, me. Prices are USD a month, before tax. Every list also takes:

- `page`: Page number, from 1.
- `limit`: Results per page, 1-50 (default 50).

### VPS (/api/v1/vps/)

- `q`: Search in plan, provider and CPU / GPU names.
- `provider` (repeatable): Provider slug.
- `region` (repeatable): Continent of a datacenter. One of: eu, na, sa, as, oc, af, me.
- `price_min`: Minimum monthly price, USD.
- `price_max`: Maximum monthly price, USD.
- `ram_min`: Minimum RAM, GB.
- `ram_max`: Maximum RAM, GB.
- `vcpu_min`: Minimum vCPUs.
- `vcpu_max`: Maximum vCPUs.
- `storage_type` (repeatable): Disk type. One of: nvme, ssd, hdd.
- `cpu_type` (repeatable): CPU make. One of: intel, amd, arm.
- `hourly`: Only plans billed by the hour.
- `monthly`: Only prices billed month to month (no prepaid or committed terms).
- `value_min`: Minimum value score. One of: 50, 70, 90.
- `gpu`: Only plans with a GPU.
- `gpu_model` (repeatable): GPU model as listed, e.g. "NVIDIA H100 SXM".
- `sort`: Order (default value_desc: best value first). One of: value_desc, price_asc, price_desc, ram_desc, storage_desc, vcpu_desc.

### Dedicated servers (/api/v1/baremetal/)

- `q`: Search in plan, provider and CPU / GPU names.
- `provider` (repeatable): Provider slug.
- `region` (repeatable): Continent of a datacenter. One of: eu, na, sa, as, oc, af, me.
- `price_min`: Minimum monthly price, USD.
- `price_max`: Maximum monthly price, USD.
- `ram_min`: Minimum RAM, GB.
- `ram_max`: Maximum RAM, GB.
- `core_min`: Minimum CPU cores.
- `core_max`: Maximum CPU cores.
- `drive_type` (repeatable): Drive type of a configuration. One of: nvme, ssd, hdd.
- `managed`: Only managed servers.
- `ipmi`: Only servers with IPMI / KVM access.
- `monthly`: Only prices billed month to month (no prepaid or committed terms).
- `value_min`: Minimum value score. One of: 50, 70, 90.
- `gpu`: Only plans with a GPU.
- `gpu_model` (repeatable): GPU model as listed, e.g. "NVIDIA H100 SXM".
- `sort`: Order (default value_desc: best value first). One of: value_desc, price_asc, price_desc, ram_desc, cores_desc, storage_desc.

### GPU servers (/api/v1/gpu/)

- `q`: Search in plan, provider and CPU / GPU names.
- `provider` (repeatable): Provider slug.
- `gpu_model` (repeatable): GPU model as listed, e.g. "NVIDIA H100 SXM".
- `vendor` (repeatable): GPU vendor. One of: nvidia, amd, intel.
- `kind` (repeatable): Cloud (vps) or dedicated (baremetal). One of: vps, baremetal.
- `gpus_min`: Minimum number of GPUs.
- `vram_min`: Minimum memory per GPU, GB.
- `price_min`: Minimum monthly price, USD.
- `price_max`: Maximum monthly price, USD.
- `hourly`: Only plans billed by the hour.
- `whole`: Only whole GPUs (no shares of one GPU).
- `sort`: Order (default price_asc). One of: price_asc, price_desc, per_gpu_asc, per_gpu_hour, gpus_desc, vram_desc.

### Storage (/api/v1/storage/<kind>/)

- `q`: Search in plan, provider and CPU / GPU names.
- `provider` (repeatable): Provider slug.
- `region` (repeatable): Continent of a datacenter. One of: eu, na, sa, as, oc, af, me.
- `class` (repeatable): Object storage class. One of: standard, infrequent, archive.
- `media` (repeatable): Drive type. One of: nvme, ssd, hdd.
- `s3`: Only S3-compatible storage.
- `free_egress`: Only storage with free downloads.
- `no_minimum`: Only storage without a minimum size or storage duration.
- `price_max`: Maximum monthly price, USD.
- `sort`: Order (default price_asc). One of: price_asc, gb_asc, egress_asc, price_desc.

### Managed databases (/api/v1/databases/)

- `q`: Search in plan, provider and CPU / GPU names.
- `provider` (repeatable): Provider slug.
- `region` (repeatable): Continent of a datacenter. One of: eu, na, sa, as, oc, af, me.
- `engine` (repeatable): Engine (on /databases/ only; redis and valkey are the same). One of: postgresql, mysql, mariadb, valkey, redis, mongodb, opensearch.
- `ha`: High-availability and cluster plans instead of single nodes.
- `serverless`: Serverless plans instead of provisioned ones.
- `dedicated`: Only dedicated CPUs.
- `vcpu_min`: Minimum vCPUs per node.
- `ram_min`: Minimum RAM per node, GB.
- `storage_min`: Storage the plan must reach, GB.
- `price_max`: Maximum monthly price, USD.
- `sort`: Order (default price_asc). One of: price_asc, price_desc, ram_desc, vcpu_desc, storage_desc.

### Providers (/api/v1/providers/)

- `q`: Search in provider names.
- `category` (repeatable): Sells this category. One of: vps, baremetal, storage, database, domain.
- `hq`: Headquarters country (ISO 3166-1 alpha-2, e.g. de).
- `minplans`: Minimum number of listed plans.
- `sort`: Order (default name). One of: name, plans_desc, plans_asc.

### Domains (/api/v1/domains/tld/)

- `tld`: Extension without the dot, e.g. "com" or "co.uk".
- `tld_broad`: Match extensions containing `tld` instead of the exact one.
- `provider` (repeatable): Provider slug.
- `price_min`: Minimum first-year price, USD.
- `price_max`: Maximum first-year price, USD.
- `privacy`: Only registrars with free WHOIS privacy.
- `fair_renewal`: Only renewals not far above the first year or the market.
- `sort`: Order (default total_asc: registration + two renewals). One of: total_asc, price_asc, price_desc, renew_asc, tld_asc, tld_desc.

## Responses

A list is one page of at most 50 results, in the order the website shows them: `count` (all pages), `page`, `pages`, `limit`, `next` and `previous` (URLs or null) and `results`.

`price` is the price the row shows: with region or price filters the cheapest matching location (VPS) or configuration (dedicated), otherwise the plan's lowest price; `term_months` above 1 means a prepaid or committed term. `specs` depends on the category. `url` is the CloudTier page, `order_url` the provider's order link, `checked_at` the last price check (UTC). Responses can be up to an hour old.

A plan in a list:

```json
{
  "id": "ovhcloud/ovh-24rise02-v2",
  "category": "baremetal",
  "name": "RISE-2",
  "provider": {
    "slug": "ovhcloud",
    "name": "OVHcloud",
    "hq_country": "FR"
  },
  "price": {
    "monthly_usd": 117.82,
    "term_months": 1,
    "hourly_usd": null
  },
  "availability": "in_stock",
  "value_score": 73,
  "countries": [
    "IN"
  ],
  "specs": {
    "cpu_model": "Intel Xeon-E 2388G",
    "cpu_sockets": 1,
    "cpu_cores": 8,
    "cpu_threads": 16,
    "cpu_ghz_base": 3.2,
    "cpu_ghz_boost": 4.6,
    "ram_gb": 32,
    "ram_type": "DDR4 ECC",
    "drives": [
      {
        "count": 2,
        "capacity_gb": 4000,
        "type": "hdd"
      }
    ],
    "ipmi": true,
    "managed": false,
    "gpu": null,
    "bandwidth_tb": null,
    "bandwidth_model": "unmetered",
    "port_speed": null,
    "ipv4": 1,
    "ipv6": true
  },
  "url": "https://cloudtier.io/baremetal/ovhcloud/ovh-24rise02-v2/",
  "order_url": "https://go.cloudtier.io/ovhcloud/baremetal/ovh-24rise02-v2",
  "api_url": "https://cloudtier.io/api/v1/baremetal/ovhcloud/ovh-24rise02-v2/",
  "checked_at": "2026-11-25T21:55:24.232620Z"
}
```

A plan's own endpoint adds where it runs and every price its page lists (shortened):

```json
{
  "datacenters": [
    {
      "city": "Mumbai",
      "country": "IN"
    }
  ],
  "offers": [
    {
      "kind": "recurring",
      "period": "year",
      "commitment_months": 0,
      "os": null,
      "promo": false,
      "amount": 1105.69,
      "currency": "CAD",
      "amount_usd": 775.4874,
      "monthly_usd": 64.62
    },
    {
      "kind": "recurring",
      "period": "year",
      "commitment_months": 0,
      "os": null,
      "promo": false,
      "amount": 740.89,
      "currency": "EUR",
      "amount_usd": 810.1674,
      "monthly_usd": 67.51
    }
  ],
  "configurations": [
    {
      "ram_gb": 32,
      "ram_type": "DDR4 ECC",
      "storage_gb": 1024,
      "drives": [
        {
          "count": 2,
          "capacity_gb": 512,
          "type": "nvme"
        }
      ],
      "monthly_usd": 117.82,
      "term_months": 1,
      "value_score": 73,
      "locations": [
        {
          "city": "Mumbai",
          "country": "IN",
          "monthly_usd": 117.82,
          "delivery_hours": 1
        }
      ]
    },
    {
      "ram_gb": 32,
      "ram_type": "DDR4 ECC",
      "storage_gb": 8000,
      "drives": [
        {
          "count": 2,
          "capacity_gb": 4000,
          "type": "hdd"
        }
      ],
      "monthly_usd": 117.82,
      "term_months": 1,
      "value_score": 73,
      "locations": [
        {
          "city": "Mumbai",
          "country": "IN",
          "monthly_usd": 117.82,
          "delivery_hours": 1
        }
      ]
    }
  ]
}
```

## Limits

- One request every 5 seconds per client (an IP address; IPv6 per /64 network).
- At most 50 results per request; follow `next` for more.
- Fair use: an allowance per day keeps the API free for everyone; a client that reaches it gets 429 until 00:00 UTC.

Over a limit the API answers `429` with a `Retry-After` header (seconds). Requests sent while waiting are refused but do not count. Need more? Write to hello@cloudtier.io.

## Errors

JSON with a stable code: `{"error": "rate_limited", "detail": "...", "retry_after": 3}`. Codes: 400 bad_request, 404 not_found, 405 method_not_allowed, 429 rate_limited.

## Versioning

`v1` only grows (new fields, endpoints, parameters); ignore fields you do not know. Removals or renames come as `/api/v2/`, with v1 kept running for a while.

## Terms of use

- Attribution: where you show data from the API, credit CloudTier with a link to https://cloudtier.io.
- No bulk copies: do not republish the catalog or large parts of it as a dataset, mirror or competing price list, and do not resell the data.
- No workarounds: do not spread requests over many addresses to get past the limits.
- As is: prices come from the providers' own pages and are checked daily, but can change or be wrong; confirm on the provider's site before you buy.

