Cloud World Model Pricing History API

Cloud provider pricing history and trends

GitHub OpenAPI

Operations 4

0 of 4 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 2 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /admin/pricing-check-status Get the latest automated pricing-check status observed #
GET /pricing-history Get cloud provider pricing history observed #
GET /pricing-history/compare Compare pricing between two snapshots #
GET /pricing-history/trend/{resourceId} Get price trend for a specific resource #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudworldmodel-ai:cloudworldmodel-ai-pricing-history-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudworldmodel-ai-pricing-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudworldmodel Ai Pricing History API
  version: 1.0.0
  contact:
    name: Cloud World Model API Support
    url: https://www.cloudworldmodel.ai
    email: api@cloudworldmodel.ai
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  description: 'Operations tagged Pricing History across 2 of this provider''s published API definitions: cloudworldmodel-ai-openapi.json, cloudworldmodel-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.cloudworldmodel.ai/api
  description: Production
- url: http://localhost:5000/api
  description: Local development
security: []
tags:
- name: Pricing History
  description: Cloud provider pricing history and trends
paths:
  /admin/pricing-check-status:
    x-stability: experimental
    get:
      tags:
      - Pricing History
      summary: Get the latest automated pricing-check status
      description: 'Returns the result of the most recent weekly pricing-drift check run by

        the `check-regions` workflow (`scripts/check-regions-scheduled.ts`). Each

        entry maps a check identifier (e.g. `aws-ec2-m5large`, `oci-e4flex-vm`)

        to its outcome:

        - **pass** — the committed constant matches the live provider price within tolerance

        - **drift** — the live provider price drifted beyond tolerance; the constant needs updating

        - **error** — the provider pricing source was unreachable; no action required


        If no check has run yet (or the status file is missing), `checkedAt` is

        `null` and `results` is an empty object.


        **No authentication required.**'
      operationId: getPricingCheckStatus
      security: []
      responses:
        '200':
          description: Latest pricing-check status
          content:
            application/json:
              schema:
                type: object
                required:
                - checkedAt
                - results
                properties:
                  checkedAt:
                    type: string
                    format: date-time
                    nullable: true
                    description: ISO-8601 timestamp of the last completed check run, or null if none has run yet
                    example: '2026-06-12T22:48:05.359Z'
                  results:
                    type: object
                    description: Map of check identifier to outcome
                    additionalProperties:
                      type: string
                      enum:
                      - pass
                      - drift
                      - error
                    example:
                      aws-ec2-m5large: pass
                      oci-e4flex-vm: pass
                      do-managed-mongodb-1gb: error
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /pricing-history:
    x-stability: experimental
    get:
      tags:
      - Pricing History
      summary: Get cloud provider pricing history
      description: 'Returns a structured pricing history document containing:

        - **snapshots** — a list of dated pricing snapshots with entry counts

        - **changes** — the most recent price changes detected across all providers, including audit corrections marked with `changeKind: correction`

        - **providerTrends** — per-provider price movement direction (up / down / stable), excluding audit corrections

        - **resourceIds** — the full list of trackable resource identifiers


        Use `GET /pricing-history/trend/{resourceId}` to retrieve the full

        price trend for a specific resource type.


        **No authentication required.**'
      operationId: getPricingHistory
      security: []
      responses:
        '200':
          description: Pricing history document
          content:
            application/json:
              schema:
                type: object
                properties:
                  snapshots:
                    type: array
                    description: List of available pricing snapshots
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                          description: Snapshot date
                          example: '2026-01-01'
                        label:
                          type: string
                          description: Human-readable snapshot label
                          example: Jan 2026
                        entryCount:
                          type: integer
                          description: Number of price entries in this snapshot
                          example: 42
                  changes:
                    type: array
                    description: Most recent price changes (between the two latest snapshots)
                    items:
                      type: object
                      properties:
                        resourceId:
                          type: string
                          example: aws-ec2-m5xlarge
                        label:
                          type: string
                          description: Human-readable resource label
                          example: EC2 m5.xlarge
                        provider:
                          type: string
                          enum:
                          - aws
                          - gcp
                          - azure
                          - oci
                          - digitalocean
                          example: aws
                        category:
                          type: string
                          enum:
                          - compute
                          - database
                          - storage
                          - network
                          example: compute
                        description:
                          type: string
                          description: Short description of the resource being priced
                          example: General-purpose compute instance
                        previousRate:
                          type: number
                          description: Hourly rate (USD) at the previous snapshot
                          example: 0.192
                        currentRate:
                          type: number
                          description: Hourly rate (USD) at the latest snapshot
                          example: 0.19
                        previousLabel:
                          type: string
                          description: Label of the previous snapshot
                          example: Jul 2025
                        currentLabel:
                          type: string
                          description: Label of the latest snapshot
                          example: Jan 2026
                        changePct:
                          type: number
                          example: -1.04
                        direction:
                          type: string
                          enum:
                          - up
                          - down
                          - unchanged
                          example: down
                        changeKind:
                          type: string
                          enum:
                          - correction
                          description: Present when the rate delta corrects earlier snapshot data rather than representing a provider price movement.
                          example: correction
                  providerTrends:
                    type: object
                    description: Per-provider price trend direction
                    additionalProperties:
                      type: string
                      enum:
                      - up
                      - down
                      - stable
                    example:
                      aws: stable
                      gcp: down
                      azure: stable
                      oci: down
                      digitalocean: stable
                  resourceIds:
                    type: array
                    description: All trackable resource identifiers
                    items:
                      type: string
                    example:
                    - aws-ec2-m5xlarge
                    - gcp-n2-standard-4
                    - azure-d4s-v3
        '500':
          $ref: '#/components/responses/InternalError'
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /pricing-history/compare:
    x-stability: experimental
    get:
      tags:
      - Pricing History
      summary: Compare pricing between two snapshots
      description: 'Returns every price change detected between two pricing snapshot dates,

        along with human-readable labels for both snapshots. Audit corrections

        are marked with `changeKind: correction` and retain their actual rate delta.


        Both `from` and `to` must be valid snapshot dates from the `snapshots`

        list returned by `GET /pricing-history`, and `from` must be strictly

        earlier than `to`.


        **No authentication required.**'
      operationId: comparePricingHistory
      security: []
      parameters:
      - name: from
        in: query
        required: true
        schema:
          type: string
          format: date
        description: Earlier snapshot date (from the snapshots list in GET /pricing-history)
        example: '2025-07-01'
      - name: to
        in: query
        required: true
        schema:
          type: string
          format: date
        description: Later snapshot date (must be after `from`)
        example: '2026-01-01'
      responses:
        '200':
          description: Price changes detected between the two snapshots
          content:
            application/json:
              schema:
                type: object
                properties:
                  changes:
                    type: array
                    description: Price changes between the two snapshot dates
                    items:
                      type: object
                      properties:
                        resourceId:
                          type: string
                          example: aws-ec2-m5xlarge
                        label:
                          type: string
                          description: Human-readable resource label
                          example: EC2 m5.xlarge
                        provider:
                          type: string
                          enum:
                          - aws
                          - gcp
                          - azure
                          - oci
                          - digitalocean
                          example: aws
                        category:
                          type: string
                          enum:
                          - compute
                          - database
                          - storage
                          - network
                          example: compute
                        description:
                          type: string
                          description: Short description of the resource being priced
                          example: General-purpose compute instance
                        previousRate:
                          type: number
                          description: Hourly rate (USD) at the earlier snapshot
                          example: 0.192
                        currentRate:
                          type: number
                          description: Hourly rate (USD) at the later snapshot
                          example: 0.19
                        previousLabel:
                          type: string
                          description: Label of the earlier snapshot
                          example: Jul 2025
                        currentLabel:
                          type: string
                          description: Label of the later snapshot
                          example: Jan 2026
                        changePct:
                          type: number
                          example: -1.04
                        direction:
                          type: string
                          enum:
                          - up
                          - down
                          - unchanged
                          example: down
                        changeKind:
                          type: string
                          enum:
                          - correction
                          description: Present when the rate delta corrects earlier snapshot data rather than representing a provider price movement.
                          example: correction
                  fromLabel:
                    type: string
                    description: Human-readable label of the earlier snapshot
                    example: Jul 2025
                  toLabel:
                    type: string
                    description: Human-readable label of the later snapshot
                    example: Jan 2026
        '400':
          description: Missing or invalid `from`/`to` query parameters (unknown snapshot date, or `from` not earlier than `to`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /pricing-history/trend/{resourceId}:
    x-stability: experimental
    get:
      tags:
      - Pricing History
      summary: Get price trend for a specific resource
      description: 'Returns the full price trend time-series for a single resource type,

        showing how its hourly rate has changed across all available pricing

        snapshots.


        Use `GET /pricing-history` to retrieve the full list of valid

        `resourceId` values.


        **No authentication required.**'
      operationId: getPricingTrend
      security: []
      parameters:
      - name: resourceId
        in: path
        required: true
        schema:
          type: string
        description: Resource identifier (from the resourceIds list in GET /pricing-history)
        example: aws-ec2-m5xlarge
      responses:
        '200':
          description: Price trend for the requested resource
          content:
            application/json:
              schema:
                type: object
                properties:
                  resourceId:
                    type: string
                    example: aws-ec2-m5xlarge
                  trend:
                    type: array
                    description: Ordered list of price data points
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                          example: '2026-01-01'
                        label:
                          type: string
                          example: Jan 2026
                        price:
                          type: number
                          description: Hourly rate (USD) at this snapshot date
                          example: 0.192
        '404':
          description: Resource ID not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/InternalError'
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
components:
  responses:
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Error message
          example: Simulation not found
        details:
          type: array
          description: Detailed validation errors (for 400 responses)
          items:
            type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or Wallet Session JWT
      description: 'API key or wallet-session JWT authentication using Bearer tokens in the Authorization header.


        **How to authenticate:**

        1. Create an API key using POST /api/keys

        2. Include the key in the Authorization header: `Bearer cwm_live_<your_key>`

        3. All RL environment endpoints require authentication


        **Rate Limits:**

        - Default: 1000 requests/hour per key

        - Configurable per key

        - Returns 429 when exceeded

        '
    UiSessionCookie:
      type: apiKey
      in: cookie
      name: cwm_ui_session
      description: 'HttpOnly browser-workspace session cookie issued by

        `POST /api/ui/simulations`. It authorizes UI mutations for simulations

        owned by that browser workspace.

        '
    x402:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: "x402 v2 Base micropayment option. Select the Base entry from\n`GET /api/billing/x402/config` `paymentOptions`, then send its signed USDC\nmicro-payment in the `X-PAYMENT` header to get full access to the metered\nendpoint in a single round-trip — no account, no API key, no sign-up required.\n\n**402 → pay → retry loop:**\n1. Call the endpoint without an `X-PAYMENT` header.\n2. Receive a `402 Payment Required` response. The body is a\n   standard JSON `PaymentRequired` object. The same payload is also\n   echoed as a base64-encoded string in the `PAYMENT-REQUIRED`\n   response header for clients that cannot access the body.\n3. Decode the `PaymentRequired` body (or the `PAYMENT-REQUIRED`\n   header) to read the exact `payTo` wallet,\n   USDC amount, network, and facilitator URL.\n4. Construct and sign the payment with your x402 client library.\n5. Retry the Base request with the `X-PAYMENT` header — the server\n   verifies via `https://facilitator.payai.network` and responds `200`.\n\n**Optional Solana:** When `paymentOptions` advertises a Solana entry, callers\nmay instead select it and use `PAYMENT-SIGNATURE`. Solana is an additional\noption; use `X-PAYMENT` for the Base option shown by this security scheme.\n\n**Discovery:** `GET /api/billing/x402/config` returns the live `payTo`\naddress, canonical `paymentOptions`, per-call-type USDC amounts, facilitator\nURL, and the credits-per-USDC conversion rate. Always fetch this before\nhardcoding any amounts or a payment header.\n\n**Price range:** $0.0030 per 3-credit call — $0.0050 per 5-credit\ncall (see `x-x402-price-usdc` on each\noperation for the exact amount).\n\n**Facilitator:** `https://facilitator.payai.network` (PayAI-operated,\nverifies the advertised Base and optional Solana options).\n"
    x402Solana:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: 'Optional x402 v2 Solana payment alternative. Use this security option only

        when `GET /api/billing/x402/config` `paymentOptions` advertises a Solana

        network, then send its signed Solana USDC payment payload in the

        `PAYMENT-SIGNATURE` header. Include the option''s `feePayer` detail when

        constructing the transaction.


        For the primary Base payment option, select the `x402` security option

        instead and send its signed payment payload in the `X-PAYMENT` header.

        '
x-refined-from:
- cloudworldmodel-ai-openapi.json
- cloudworldmodel-ai-openapi.yml