# corpusAI Cloud Pricing: On-Demand Instance Price History

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

Returns the full historical price timeline for a specific on-demand cloud instance (AWS, GCP, or Azure) in a given region, including the current price and all past price changes back to 2014.

## Facts

- Endpoint: GET https://cloud.trycorpus.ai/v1/ondemand?utm_source=zero.xyz
- Price: $0.01/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-pricing-on-demand-instance-price-history-6d06ed8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BwLJA0AX_BqcAYNISGl-n

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-pricing-on-demand-instance-price-history-6d06ed8f
```

Example prompt: What's the full price history for an AWS c5.large on-demand instance in us-east-1 — including the current price and every time it changed since 2014?

## When to prefer this

Use this endpoint when you need the full on-demand price history for a specific cloud instance type in a specific region from a major cloud provider (AWS, GCP, Azure). It is ideal for FinOps workflows, cost trend analysis, budget forecasting, or auditing when an instance was repriced. Prefer this over spot-price or GPU marketplace endpoints when you need deterministic on-demand (not spot/preemptible) pricing with historical depth back to 2014.

## Known failure modes

- Unknown or misspelled instance type returns an error or empty result — instance must match the exact SKU slug from the /instances catalog
- Invalid region slug returns an error — region must match the provider-specific slug format (e.g. us-east-1 for AWS, not 'Virginia')
- Unsupported provider value returns a validation error — must be one of aws, gcp, or azure
- Instance/region combination may not exist if the SKU is not available in that region
- Payment failure (x402) if USDC funds are insufficient — request will be rejected before returning data

## How this service works

corpusAI Cloud Pricing: On-demand list-price history of one instance type.

## Output

A JSON object containing the provider, region, instance type, the current on-demand price (USD/hour with effective date), a chronological array of all historical price changes (each with date and USD/hour price), and a count of total price changes recorded.

## 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",
      "instance"
     ],
     "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`."
      },
      "instance": {
       "type": "string",
       "examples": [
        "c5.large"
       ],
       "description": "Instance / machine / SKU type name exactly as listed by /instances (for example `c5.large`, `n2-standard-4`, `D2s_v5`)."
      },
      "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"
      },
      "region": {
       "type": "string"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "date",
         "price"
        ],
        "properties": {
         "date": {
          "type": "string",
          "format": "date",
          "description": "Day the price took effect."
         },
         "price": {
          "type": "number",
          "description": "USD per hour."
         }
        }
       }
      },
      "current": {
       "type": "object",
       "required": [
        "date",
        "price"
       ],
       "properties": {
        "date": {
         "type": "string",
         "format": "date",
         "description": "Day the price took effect."
        },
        "price": {
         "type": "number",
         "description": "USD per hour."
        }
       
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/corpusai-cloud-pricing-on-demand-instance-price-history-6d06ed8f/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)
