Skip to content
onelayer.
All tools

Tool detail

daily

Returns the full daily spot-price history for one cloud instance type, all pricing eras stitched together.

Categories: Compute pricing, Market prices

Use when

  • pull a complete daily spot-price history for one instance type
  • see how an instance's spot price trended since its earliest record

Not for

  • not hourly OHLC bars - see /v1/spot/hourly
  • not the current in-force price - see /v1/spot/latest

Inputs

GET query params: provider (enum aws|gcp|azure, required); region, instance (string, required); from, to (date-time, optional).

Admitted input schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "format": "date-time",
      "description": "Start of the window (inclusive), ISO 8601 UTC. Default: the earliest row for the type."
    },
    "instance": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Instance / machine / SKU type name exactly as listed by /instances (for example `c5.large`, `n2-standard-4`, `D2s_v5`).",
      "examples": [
        "c5.large"
      ]
    },
    "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"
      ]
    },
    "to": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "format": "date-time",
      "description": "End of the window (exclusive), ISO 8601 UTC. Default: now."
    }
  },
  "required": [
    "provider",
    "region",
    "instance"
  ],
  "additionalProperties": false
}

Endpoint

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

Payment

Protocol
x402
Listed price
0.05 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/daily
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z