Skip to content
onelayer.
All tools

Tool detail

ondemand

Returns on-demand list-price history for one cloud instance type in one region and provider (AWS, GCP or Azure).

Categories: Compute pricing

Use when

  • get on-demand price history for a specific AWS/GCP/Azure instance type
  • compare list-price trend for one instance SKU over time

Not for

  • not spot or reserved pricing - use this provider's /reserved or /spot endpoints
  • not a current-price snapshot across all types - single instance/region only

Inputs

GET query params (all required): provider ("aws"|"gcp"|"azure"), region (slug, e.g. us-east-1), instance (SKU name, e.g. c5.large)

Admitted input schema

{
  "type": "object",
  "properties": {
    "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"
      ]
    }
  },
  "required": [
    "provider",
    "region",
    "instance"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://cloud.trycorpus.ai/v1/ondemand

Payment

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