AzurePilot | Steer & Streamline Your Cloud Costs🌐

AzurePilot | Steer & Streamline Your Cloud Costs🌐 · Actions GPT

Azure Retail Prices API

API to retrieve retail prices for all Azure services.

  • GET /Retrieve Azure service prices
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Azure Retail Prices API",
    "version": "1.0.0",
    "description": "API to retrieve retail prices for all Azure services."
  },
  "servers": [
    {
      "url": "https://prices.azure.com/api/retail/prices"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Retrieve Azure service prices",
        "operationId": "getAzureRetailPrices",
        "parameters": [
          {
            "name": "api-version",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "2023-01-01-preview"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "currencyCode": {
                      "type": "string"
                    },
                    "tierMinimumUnits": {
                      "type": "number"
                    },
                    "retailPrice": {
                      "type": "number"
                    },
                    "unitPrice": {
                      "type": "number"
                    },
                    "armRegionName": {
                      "type": "string"
                    },
                    "location": {
                      "type": "string"
                    },
                    "effectiveStartDate": {
                      "type": "string"
                    },
                    "meterId": {
                      "type": "string"
                    },
                    "meterName": {
                      "type": "string"
                    },
                    "productId": {
                      "type": "string"
                    },
                    "skuId": {
                      "type": "string"
                    },
                    "productName": {
                      "type": "string"
                    },
                    "skuName": {
                      "type": "string"
                    },
                    "serviceName": {
                      "type": "string"
                    },
                    "serviceId": {
                      "type": "string"
                    },
                    "serviceFamily": {
                      "type": "string"
                    },
                    "unitOfMeasure": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isPrimaryMeterRegion": {
                      "type": "boolean"
                    },
                    "armSkuName": {
                      "type": "string"
                    },
                    "term": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "currencyCode",
                    "retailPrice",
                    "unitPrice",
                    "armRegionName",
                    "location",
                    "meterId",
                    "meterName",
                    "productId",
                    "skuId",
                    "productName",
                    "skuName",
                    "serviceName",
                    "serviceId",
                    "serviceFamily",
                    "unitOfMeasure",
                    "type",
                    "isPrimaryMeterRegion",
                    "armSkuName"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}