# Azure Retail Prices · Search prices

Get product, price and seller data with Azure Retail Prices · Search prices from Alexandria through one Spiral API key. Start here for any 'what does X cost on Azure in region Y' question: Synapse dedicated SQL pool DWUs, virtual machine sizes, managed disks, storage tiers. Then call get_sku_prices with an `arm_sku_name` or get_meter with a `meter_id` from the results. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: E-commerce
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `prices-azure-com/products/search_prices`
- Page: https://spiral.ai/tools/alexandria/prices-azure-com/products/search_prices

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `meter_id` | text |  | — | Billing meter GUID (`meterId eq`). Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$. |
| `sku_name` | text |  | — | Exact `skuName`, e.g. `D2s v3`, `P30 LRS`, `DW500c`. |
| `price_type` | one of | Consumption, DevTestConsumption, Reservation | — | `priceType eq`: Consumption (pay-as-you-go, spot, low priority), DevTestConsumption or Reservation. Omit for all types. Reservation scans over a whole service are expensive and the API answers them with HTTP 429; combine with a product or SKU filter. |
| `arm_sku_name` | text |  | — | Exact `armSkuName`, e.g. `Standard_D2s_v3`, `Premium_SSD_Managed_Disks_P30`. Pattern: ^[A-Za-z0-9_.-]{1,120}$. |
| `continuation` | text |  | — | `continuation` from the previous page (the API's `$skip` offset). Send the same filters again. Pattern: ^[0-9]{1,9}$. |
| `product_name` | text |  | — | Exact `productName`, e.g. `Premium SSD Managed Disks`, `Azure Synapse Analytics Dedicated SQL Pool`. Mutually exclusive with `product_name_contains`. |
| `service_name` | text |  | — | Exact `serviceName`, e.g. `Virtual Machines`, `Storage`, `Azure Synapse Analytics`. |
| `currency_code` | text |  | USD | Billing currency (`currencyCode`), ISO 4217. Default USD; EUR verified. Pattern: ^[A-Z]{3}$. |
| `service_family` | text |  | — | Exact `serviceFamily`, e.g. `Compute`, `Storage`, `Analytics`. |
| `arm_region_name` | text |  | — | ARM region slug (`armRegionName eq`), e.g. `eastus`, `westeurope`. Unknown regions return an empty result, not an error. Pattern: ^[a-z0-9]{2,40}$. |
| `include_savings_plan` | true or false |  | — | Request api-version 2023-01-01-preview, which adds `savings_plan` (1 Year / 3 Years) to eligible Consumption rows. |
| `product_name_contains` | text |  | — | Substring of `productName` (OData `contains(productName, ...)`). Mutually exclusive with `product_name`. |
| `primary_meter_region_only` | true or false |  | — | Send `meterRegion='primary'`: only rows where the region is the meter's primary region. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "prices-azure-com/products/search_prices",
    "input": {
      "service_name": "<service_name>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=prices-azure-com%2Fproducts%2Fsearch_prices

## Common questions

### Azure Retail Prices · Search prices

**How much does Azure Retail Prices · Search prices cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Azure Retail Prices · Search prices through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "prices-azure-com/products/search_prices"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Azure Retail Prices · Search prices?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Azure Retail Prices · Search prices?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

