get
/v1/pricingList all prices
Get all active prices from the price catalog. This is a public endpoint - no authentication required. Useful for: - Website pricing pages - External billing services (CloudKitty, Ceph collectors) - Cost estimation tools
Query Parameters
service
stringoptionalquery
Filter by service
Enum: "compute", "storage", "networking", "data"
resource_type
stringoptionalquery
Filter by resource type
active_only
booleanoptionalquery
Only return active prices
Default: true
Responses
200
List of prices
Content-Type: application/json
prices
arrayoptionalupdated_at
string<date-time>optionalLast update timestamp of any price
400
Invalid request parameters
Content-Type: application/json
error
objectrequiredcurl -X GET "https://api.spo1.mycloud.com/v1/pricing" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json"
Response
List of prices
{"prices": [{"id": "550e8400-e29b-41d4-a716-446655440000","sku": "compute.instance.s-gp-1","service": "compute","resource_type": "instance","name": "S-GP 1","description": "CPU compartilhada, uso geral","unit": "hour","unit_price": 0.035,"currency": "BRL","metadata": {"tier": "shared","category": "general_purpose","vcpus": 1,"memory_gb": 2},"is_active": true,"valid_from": "2024-01-15T10:30:00Z","valid_to": "2024-01-15T10:30:00Z"}],"updated_at": "2024-01-15T10:30:00Z"}