Skip to content
onelayer.
All tools

Tool detail

monthly

Returns full monthly price history for one cloud instance type, back to 2014 for legacy AWS types.

Categories: Compute pricing

Use when

  • get the long-run monthly price history for a specific instance type

Not for

  • not daily/event-level granularity (see spot/export/events for that)

Inputs

GET query params: provider (enum aws|gcp|azure, required); region (required); instance (required); from/to (date, optional); include_archive (boolean, optional, default true)

Admitted input schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "format": "date",
      "description": "First month (inclusive), YYYY-MM-DD (use the 1st). Default: earliest."
    },
    "include_archive": {
      "type": "boolean",
      "description": "Include the raw USC/ISI archive rows in `archive`. Default true.",
      "default": true
    },
    "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",
      "description": "Last month (inclusive), YYYY-MM-DD. Default: latest."
    }
  },
  "required": [
    "provider",
    "region",
    "instance"
  ],
  "additionalProperties": false
}

Endpoint

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

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