# Cloud Instance Price by Region

> Cloud Instance Price by Region is a paid API for AI agents from cloudprice.genexxis.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns on-demand and spot prices for a specific AWS EC2 or Azure VM instance type across every region where it is sold, sorted cheapest region first.

## Facts

- Endpoint: GET https://cloudprice.genexxis.com/instance?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloud-instance-price-by-region-5689ed4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ChCdR6ORDcGcOAwHHeB1G

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cloud-instance-price-by-region-5689ed4a
```

Example prompt: What are the on-demand and spot prices for an m5.xlarge across every AWS region, sorted cheapest first?

## When to prefer this

Use this endpoint when you need exhaustive regional price coverage for a single known instance type (AWS EC2 or Azure VM SKU) and want both on-demand and spot prices in one call, ranked by cost. Prefer this over generic cloud cost tools when you already know the exact instance type and need to identify the cheapest region programmatically.

## Known failure modes

- Unknown instance type returns empty result or error
- Invalid priceType value returns validation error
- Instance not available in any region returns empty list
- Transient pricing data unavailability returns 5xx error
- Misspelled armSkuName or instance type returns no results

## How this service works

Hourly price of one cloud instance type in every region where it is sold (AWS EC2 or Azure VM SKU), on-demand and spot, cheapest region first.

## Output

A list of regions where the specified instance type is sold, each with its hourly on-demand and/or spot price in USD, ordered from cheapest to most expensive region.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "type"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "AWS instance type or Azure armSkuName"
      },
      "priceType": {
       "type": "string",
       "description": "on-demand | spot | any"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "regions": 14,
  "cheapest": {
   "region": "us-east-1",
   "priceType": "spot",
   "usdPerHour": 20.1
  },
  "instance": "p5.48xlarge",
  "provider": "aws"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloud-instance-price-by-region-5689ed4a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cloudprice.genexxis.com](https://www.zero.xyz/host/cloudprice.genexxis.com/llms.txt)
