# corpusAI Cloud Pricing - Spot Price History Export

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

Returns historical spot instance pricing data for a specified cloud provider and region, covering AWS, GCP, and Azure back to 2014.

## Facts

- Endpoint: GET https://cloud.trycorpus.ai/v1/spot/export/history?utm_source=zero.xyz
- Price: $3/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-spot-price-history-export-55a614d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IOpHVwjSqn2wmXb-FYr97

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-spot-price-history-export-55a614d0
```

Example prompt: Pull the full historical spot price history for AWS in us-east-1 from corpusAI Cloud Pricing so I can analyze how compute costs have trended since 2014.

## When to prefer this

Choose this endpoint when you need historical time-series spot pricing data for major cloud providers (AWS, GCP, Azure) going back to 2014, particularly for cost trend analysis, budget forecasting, or region cost comparison. Prefer this over current-price APIs when the use case requires longitudinal pricing data or historical context.

## Known failure modes

- Missing required 'provider' or 'region' query parameters returns an error
- Invalid provider value (not aws/gcp/azure) causes rejection
- Region slug not matching provider's catalog format returns error or empty result
- Payment of $3 USDC via x402 not completed results in 402 response
- Region has no historical spot data available returns empty dataset

## How this service works

corpusAI Cloud Pricing: Legacy daily and monthly history of every type in a region as one gzip TSV file.

## Output

A JSON export of historical spot instance pricing records for the specified cloud provider and region, including time-series price data potentially going back to 2014, suitable for trend analysis, cost modeling, and infrastructure budgeting.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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