# corpusAI Cloud Pricing — Daily Spot Price History

> corpusAI Cloud Pricing — Daily Spot Price History is a paid API for AI agents from cloud.trycorpus.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Returns daily average, high, and low spot instance prices for a specific AWS, GCP, or Azure instance type and region over a requested date range.

## Facts

- Endpoint: GET https://cloud.trycorpus.ai/v1/spot/daily?utm_source=zero.xyz
- Price: $0.05/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-daily-spot-price-history-c23c1441
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ARLBsFoDUQHcvqE_48haM

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-daily-spot-price-history-c23c1441
```

Example prompt: Pull the daily spot price history for the AWS c5.large instance in us-east-1 from January 1 2024 to March 31 2024 so I can see how prices fluctuated over that quarter.

## When to prefer this

Choose this endpoint when you need granular daily historical spot price data for a specific cloud instance type on AWS, GCP, or Azure — especially for trend analysis, cost modeling, or FinOps reporting going back to 2014. It is preferable to scraping cloud provider pricing pages directly and provides consistent, time-series structured data across providers in a unified format.

## Known failure modes

- Missing required parameters (provider, region, instance) returns a 400 error
- Invalid provider enum value (not aws/gcp/azure) returns validation error
- Unknown or misspelled instance type returns empty bars array or 404
- Date range with no available data returns empty bars array
- Payment not provided or insufficient USDC triggers 402 response
- Invalid ISO 8601 date format for from/to returns a parsing error

## How this service works

corpusAI Cloud Pricing: Full daily history for one instance type, all eras stitched.

## Output

A JSON object containing an array of daily price bars, each with a UTC date, time-weighted average USD/hr price, daily high and low prices (where available), data source label, and seconds of coverage. Also includes the window end timestamp.

## 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": {
      "to": {
       "type": "string",
       "format": "date-time",
       "description": "End of the window (exclusive), ISO 8601 UTC. Default: now."
      },
      "from": {
       "type": "string",
       "format": "date-time",
       "description": "Start of the window (inclusive), ISO 8601 UTC. Default: the earliest row for the type."
      },
      "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": {
      "to": {
       "type": "string",
       "format": "date-time"
      },
      "bars": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "date",
         "avg",
         "source"
        ],
        "properties": {
         "avg": {
          "type": "number",
          "description": "Time-weighted (or, for titans, sampled) daily average, USD per hour. Equals the public dashboard value."
         },
         "dur": {
          "type": [
           "integer",
           "null"
          ],
          "description": "Seconds of the day covered by known pric
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/corpusai-cloud-pricing-daily-spot-price-history-c23c1441/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)
