# corpusAI Cloud On-Demand Instance Pricing Snapshot

> corpusAI Cloud On-Demand Instance Pricing Snapshot is a paid API for AI agents from cloud.trycorpus.ai, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-11).

Returns a snapshot of current on-demand instance prices for a given AWS, GCP, or Azure region, including historical price data back to 2014.

## Facts

- Endpoint: GET https://cloud.trycorpus.ai/v1/ondemand/snapshot?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/corpusai-cloud-on-demand-instance-pricing-snapshot-8a25a47c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1a9lvoJ_6AM_37cFmAAzg

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 corpusai-cloud-on-demand-instance-pricing-snapshot-8a25a47c
```

Example prompt: Can you pull the latest on-demand instance pricing snapshot from corpusAI for AWS in us-east-1 so I can see what instances cost right now and how prices have changed over time?

## When to prefer this

Choose this endpoint when you need structured, machine-readable on-demand cloud instance pricing data for AWS, GCP, or Azure — particularly when you need historical price data back to 2014 or want to track price changes over time in a specific region. It is ideal for FinOps automation, infrastructure cost modeling, and agent-driven cloud cost comparison workflows that require paying per query with USDC via the x402 protocol. Prefer this over screen-scraping cloud provider pricing pages or using provider-specific pricing APIs when you want a unified, consistent schema across all three major clouds.

## Known failure modes

- Missing required query parameters (provider or region) returns a 400 error
- Invalid provider value (not aws/gcp/azure) returns a validation error
- Invalid or unrecognized region slug returns an empty result set or 404
- Payment not included or insufficient USDC balance causes a 402 Payment Required response
- Network timeout or service unavailability returns a 503 error

## How this service works

corpusAI Cloud Pricing: Current on-demand list price of every instance type in a region.

## Output

A JSON object containing an array of on-demand instance prices for the specified provider and region, with each entry including the instance type name, price per hour, and the date since which that price has been in effect. Also includes the total count of instances returned, the region slug, and the provider name. May include a note field with contextual information.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "provider",
      "region"
     ],
     "properties": {
      "region": {
       "type": "string",
       "examples": [
        "us-east-1"
       ],
       "description": "Region slug as listed by /catalog (for example `us-east-1` for AWS, `us-central1` for GCP, `us-east` for Azure). Azure slugs map to `eastus`, `westus2`, `westeurope`."
      },
      "provider": {
       "enum": [
        "aws",
        "gcp",
        "azure"
       ],
       "type": "string",
       "description": "Cloud provider. One of `aws`, `gcp`, `azure`."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "count": {
       "type": "integer"
      },
      "prices": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "price": {
          "type": "number"
         },
         "since": {
          "type": "string",
          "format": "date"
         },
         "instance": {
          "type": "string"
         }
        }
       }
      },
      "region": {
       "type": "string"
      },
      "provider": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/corpusai-cloud-on-demand-instance-pricing-snapshot-8a25a47c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cloud.trycorpus.ai](https://www.zero.xyz/host/cloud.trycorpus.ai/llms.txt)
