Skip to content

Regions API

Available service regions

Base URL: https://api.wayscloud.services

Endpoints

MethodPathDescription
GET/v1/regionsList regions
GET/v1/regions/{region_code}Get region
GET/v1/regions/{region_code}/pricingGet pricing

GET /v1/regions

List regions

Get available regions with service availability (storage, database, VPS, LLM).

Response:

FieldTypeDescription
regionsarray
totalinteger

Example:

bash
curl https://api.wayscloud.services/v1/regions \
  -H "X-API-Key: wayscloud_pat_abc12_YOUR_SECRET"

Response:

json
{
  "regions": [
    {
      "code": "oslo",
      "name": "Oslo, Norway",
      "country": "NO",
      "status": "active"
    },
    {
      "code": "stockholm",
      "name": "Stockholm, Sweden",
      "country": "SE",
      "status": "active"
    }
  ],
  "total": 2
}

GET /v1/regions/

Get region

Get region details: available services, location, and pricing.

Response:

FieldTypeDescription
codestring
namestring
countrystring
available_servicesarray
statusstringValues: active, maintenance, deprecated

Example:

bash
curl https://api.wayscloud.services/v1/regions/{region_code} \
  -H "X-API-Key: wayscloud_pat_abc12_YOUR_SECRET"

Response:

json
{
  "code": "oslo",
  "name": "Oslo, Norway",
  "country": "NO",
  "available_services": [
    "database",
    "storage",
    "vps",
    "dns",
    "llm"
  ],
  "status": "active"
}

GET /v1/regions/{region_code}/pricing

Get pricing

Get service prices for a specific region.

Response:

FieldTypeDescription
regionstring
currencystring
servicesobject

Example:

bash
curl https://api.wayscloud.services/v1/regions/{region_code}/pricing \
  -H "X-API-Key: wayscloud_pat_abc12_YOUR_SECRET"

Response:

json
{
  "region": "oslo",
  "currency": "NOK",
  "services": {
    "vps": {
      "vps-2gb-1cpu": 99,
      "vps-4gb-2cpu": 199,
      "vps-8gb-4cpu": 399
    },
    "storage": {
      "per_gb_month": 0.5
    },
    "database": {
      "postgresql_per_gb": 2.5,
      "mariadb_per_gb": 2.0
    }
  }
}

WAYSCloud AS