Skip to content
onelayer.
All tools

Tool detail

history

Exports daily and monthly spot-price history for every instance type in one region/provider as a single gzip TSV file.

Categories: Compute pricing

Use when

  • bulk-export historical spot prices for an entire region
  • download a TSV dataset of spot price history for offline analysis

Not for

  • not for a single instance lookup - use /ondemand or /spot/events instead (cheaper)
  • not JSON - returns a gzip TSV file

Inputs

GET query params (both required): provider ("aws"|"gcp"|"azure"), region (slug, e.g. us-east-1)

Admitted input schema

{
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "aws",
        "gcp",
        "azure"
      ],
      "description": "Cloud provider. One of `aws`, `gcp`, `azure`."
    },
    "region": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "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`.",
      "examples": [
        "us-east-1"
      ]
    }
  },
  "required": [
    "provider",
    "region"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://cloud.trycorpus.ai/v1/spot/export/history

Payment

Protocol
x402
Listed price
3.00 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://cloud.trycorpus.ai/v1/spot/export/history
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z