# Azure Metrics API

> Azure Metrics API on Apizie: 1 endpoint (**Post the metric values for a resource**.) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:azure-monitor-metrics-create-api/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-monitor-metrics-create-api`
- Category: Cloud
- Status: byok
- Source: https://azure.com
- Page: https://zieapi.vercel.app/api/cloud/azure-monitor-metrics-create-api
- OpenAPI: https://zieapi.vercel.app/api/cloud/azure-monitor-metrics-create-api/openapi.json

A client for issuing REST requests to the Azure metrics service.

## Endpoints

### **Post the metric values for a resource**.
`POST https://zieapi.vercel.app/v1/cloud:azure-monitor-metrics-create-api/metrics-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| Content-Length | integer | yes | Content length of the payload |
| subscriptionId | string | yes | The azure subscription id |
| resourceGroupName | string | yes | The ARM resource group name |
| resourceProvider | string | yes | The ARM resource provider name |
| resourceTypeName | string | yes | The ARM resource type name |
| resourceName | string | yes | The ARM resource name |
| body | object | yes | JSON request body |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:azure-monitor-metrics-create-api/metrics-create" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Azure Metrics API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:azure-monitor-metrics-create-api/metrics-create with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Azure Metrics API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Azure Metrics itself also needs your own key from azure.com.

### Can AI agents use the Azure Metrics API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-monitor-metrics-create-api.

### What is the status of the Azure Metrics API?
Needs your own provider key (bring your own key)
