Azure Retail Prices · Search prices
prices-azure-com/products/search_pricesGet 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
| Field | Kind | Default | Description |
|---|---|---|---|
meter_id | text | — | Billing meter GUID ( |
sku_name | text | — | Exact |
price_type | one of Consumption, DevTestConsumption, Reservation | — |
|
arm_sku_name | text | — | Exact |
continuation | text | — |
|
product_name | text | — | Exact |
service_name | text | — | Exact |
currency_code | text | USD | Billing currency ( |
service_family | text | — | Exact |
arm_region_name | text | — | ARM region slug ( |
include_savings_plan | true or false | — | Request api-version 2023-01-01-preview, which adds |
product_name_contains | text | — | Substring of |
primary_meter_region_only | true or false | — | Send |
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.