Price

Within the "Price" subsection, developers can access detailed pricing information for various resource types.

Get prices

GET {{BASE_URL}}/api/providers/{id}/locations/{locationId}/images/{imageName}/prices

Get all the available prices that can be used to create a particular resource type ( vm, k8s, db , app ).

Path Parameters

NameTypeDescription

id*

String

Provider ID

locationId*

String

Location ID

imageName*

String

Ubuntu, AmazonLinux ...

Headers

NameTypeDescription

Authorization*

String

Bearer Token

[
    {
        "_id": "6548a384e2442d14b6bf9766",
        "provider": "6548a383e2442d14b6bf9688",
        "locationName": "eu-west-1",
        "sizeName": "m6a.large",
        "imageName": "AmazonLinux",
        "currencyCode": "EUR",
        "pricePerHour": 0.0898,
        "pricePerMonth": 65.55,
        "createdAt": "2023-11-06T08:27:48.371Z",
        "updatedAt": "2023-11-06T08:27:48.371Z"
    },
    {
        "_id": "6548a384e2442d14b6bf9767",
        "provider": "6548a383e2442d14b6bf9688",
        "locationName": "eu-west-1",
        "sizeName": "m6a.xlarge",
        "imageName": "AmazonLinux",
        "currencyCode": "EUR",
        "pricePerHour": 0.1797,
        "pricePerMonth": 131.18,
        "createdAt": "2023-11-06T08:27:48.372Z",
        "updatedAt": "2023-11-06T08:27:48.372Z"
    },
    {
        "_id": "6548a384e2442d14b6bf9768",
        "provider": "6548a383e2442d14b6bf9688",
        "locationName": "eu-west-1",
        "sizeName": "m6a.2xlarge",
        "imageName": "AmazonLinux",
        "currencyCode": "EUR",
        "pricePerHour": 0.3593,
        "pricePerMonth": 262.29,
        "createdAt": "2023-11-06T08:27:48.372Z",
        "updatedAt": "2023-11-06T08:27:48.372Z"
    }
]

Last updated