Regions API
Available service regions
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/regions | List regions |
GET | /v1/regions/{region_code} | Get region |
GET | /v1/regions/{region_code}/pricing | Get pricing |
GET /v1/regions
List regions
Get available regions with service availability (storage, database, VPS, LLM).
Response:
| Field | Type | Description |
|---|---|---|
regions | array | |
total | integer |
Example:
bash
curl https://api.wayscloud.services/v1/regions \
-H "X-API-Key: YOUR_API_KEY"GET /v1/regions/
Get region
Get region details: available services, location, and pricing.
Response:
| Field | Type | Description |
|---|---|---|
code | string | |
name | string | |
country | string | |
available_services | array | |
status | string | Values: active, maintenance, deprecated |
Example:
bash
curl https://api.wayscloud.services/v1/regions/{region_code} \
-H "X-API-Key: YOUR_API_KEY"GET /v1/regions/{region_code}/pricing
Get pricing
Get service prices for a specific region.
Response:
| Field | Type | Description |
|---|---|---|
region | string | |
currency | string | |
services | object |
Example:
bash
curl https://api.wayscloud.services/v1/regions/{region_code}/pricing \
-H "X-API-Key: YOUR_API_KEY"