curl --request GET \
--url https://api.bunny.net/v3.0/pricing-packages-old \
--header 'AccessKey: <api-key>'[
{
"PricingPackageId": "<string>",
"Description": "<string>",
"CPUCores": 123,
"MemoryInGB": 123,
"DiskInGB": 123,
"PricePerPackagePerMonth": 123,
"PricePerCPUUnitPerHour": 123,
"PricePerDiskUnit": 123,
"PricePerMemoryUnit": 123,
"PricePerAnycastIpPerMonth": 123,
"PricePerPersistentVolumeGBPerMonth": 123,
"PackageType": 1,
"CreatedAt": "2023-11-07T05:31:56Z",
"LastUpdatedAt": "2023-11-07T05:31:56Z"
}
]List pricing packages by type (backward compatibility)
curl --request GET \
--url https://api.bunny.net/v3.0/pricing-packages-old \
--header 'AccessKey: <api-key>'[
{
"PricingPackageId": "<string>",
"Description": "<string>",
"CPUCores": 123,
"MemoryInGB": 123,
"DiskInGB": 123,
"PricePerPackagePerMonth": 123,
"PricePerCPUUnitPerHour": 123,
"PricePerDiskUnit": 123,
"PricePerMemoryUnit": 123,
"PricePerAnycastIpPerMonth": 123,
"PricePerPersistentVolumeGBPerMonth": 123,
"PackageType": 1,
"CreatedAt": "2023-11-07T05:31:56Z",
"LastUpdatedAt": "2023-11-07T05:31:56Z"
}
]API Access Key authorization header
1 = Shared 2 = Reserved
1, 2 Pricing packages were successfully retrieved
1 = Shared 2 = Reserved
1, 2 Was this page helpful?