Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaE-commerceAvailable now

Azure Retail Prices · Search prices

prices-azure-com/products/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.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
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

FieldKindDefaultDescription
meter_idtext—

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_nametext—

Exact skuName, e.g. D2s v3, P30 LRS, DW500c.

price_typeone 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_nametext—

Exact armSkuName, e.g. Standard_D2s_v3, Premium_SSD_Managed_Disks_P30. Pattern: ^[A-Za-z0-9_.-]{1,120}$.

continuationtext—

continuation from the previous page (the API's $skip offset). Send the same filters again. Pattern: ^[0-9]{1,9}$.

product_nametext—

Exact productName, e.g. Premium SSD Managed Disks, Azure Synapse Analytics Dedicated SQL Pool. Mutually exclusive with product_name_contains.

service_nametext—

Exact serviceName, e.g. Virtual Machines, Storage, Azure Synapse Analytics.

currency_codetextUSD

Billing currency (currencyCode), ISO 4217. Default USD; EUR verified. Pattern: ^[A-Z]{3}$.

service_familytext—

Exact serviceFamily, e.g. Compute, Storage, Analytics.

arm_region_nametext—

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_plantrue or false—

Request api-version 2023-01-01-preview, which adds savings_plan (1 Year / 3 Years) to eligible Consumption rows.

product_name_containstext—

Substring of productName (OData contains(productName, ...)). Mutually exclusive with product_name.

primary_meter_region_onlytrue or false—

Send meterRegion='primary': only rows where the region is the meter's primary region.

Same request in code

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>"
    }
  }'

Frequently asked questions

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.