# CloudPrice EC2 Instance Finder

> CloudPrice EC2 Instance Finder 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-27).

Returns the cheapest AWS EC2 Linux instances (on-demand or spot) meeting minimum vCPU and memory requirements, optionally filtered by region.

## Facts

- Endpoint: GET https://cloudprice.genexxis.com/compute?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cloudprice-ec2-instance-finder-1d4d05eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jLKnt4p9ThFYCZ3UFdpcw

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 cloudprice-ec2-instance-finder-1d4d05eb
```

Example prompt: Find me the 5 cheapest AWS EC2 Linux instances with at least 4 vCPUs and 16 GiB of memory, spot pricing only, in eu-west-3.

## When to prefer this

Use this endpoint when you need to find the cheapest AWS EC2 Linux instance that meets specific compute requirements (vCPU and RAM minimums), especially for cost optimization, infrastructure planning, or comparing on-demand vs spot pricing. Prefer it over manual AWS pricing pages or the AWS Pricing API when you need a quick ranked list filtered by resource minimums. It complements the sibling endpoint for per-region pricing of a known instance type.

## Known failure modes

- Missing required vcpu or memory parameters returns a 400 error
- No instances found matching the given constraints returns an empty list
- Invalid region code returns an error or empty result
- Invalid pricing type value outside on-demand/spot/any may be rejected
- Payment not included or insufficient triggers a 402 Payment Required response

## How this service works

Cheapest AWS EC2 instances (Linux) with at least the given vCPU and memory, on-demand or spot, optionally in one region.

## Output

A ranked list of EC2 instance types (Linux) that meet the minimum vCPU and memory requirements, each including instance name, hourly price, pricing model (on-demand or spot), vCPU count, memory, and optionally the AWS 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": [
      "vcpu",
      "memory"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "on-demand | spot | any"
      },
      "vcpu": {
       "type": "string"
      },
      "limit": {
       "type": "string"
      },
      "memory": {
       "type": "string",
       "description": "GiB"
      },
      "region": {
       "type": "string",
       "description": "e.g. eu-west-3"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "minVcpu": 8,
  "cheapest": [
   {
    "region": "us-east-2",
    "instance": "m7a.2xlarge",
    "provider": "aws",
    "usdPerHour": 0.46
   }
  ],
  "minMemoryGiB": 32
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cloudprice-ec2-instance-finder-1d4d05eb/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)
