Greenpixie · Schema

GridRatecardResponse

CompanySustainabilityGreen OpsFinOpsCarbon EmissionsCloud ComputingArtificial Intelligence

Properties

Name Type Description
granularity string Granularity of the rows in this response.
version string Ratecard version returned (resolved from the `version` query parameter, or the latest if omitted).
meta object
links object
records array
View JSON Schema on GitHub

JSON Schema

greenpixie-grid-ratecard-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/greenpixie/json-schema/greenpixie-grid-ratecard-response-schema.json",
  "title": "GridRatecardResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/greenpixie-openapi.yml#/components/schemas/GridRatecardResponse",
  "properties": {
    "granularity": {
      "type": "string",
      "title": "Granularity",
      "description": "Granularity of the rows in this response."
    },
    "version": {
      "type": "string",
      "title": "Version",
      "description": "Ratecard version returned (resolved from the `version` query parameter, or the latest if omitted)."
    },
    "meta": {
      "$ref": "#/$defs/RatecardPageMeta"
    },
    "links": {
      "$ref": "#/$defs/RatecardPageLinks"
    },
    "records": {
      "items": {
        "$ref": "#/$defs/GridRatecardRecord"
      },
      "type": "array",
      "title": "Records"
    }
  },
  "type": "object",
  "required": [
    "granularity",
    "version",
    "meta",
    "links",
    "records"
  ],
  "$defs": {
    "GridRatecardRecord": {
      "properties": {
        "version": {
          "type": "string",
          "title": "Version",
          "description": "Grid ratecard version this row belongs to."
        },
        "csp": {
          "type": "string",
          "title": "Csp",
          "description": "Cloud service provider."
        },
        "region": {
          "type": "string",
          "title": "Region",
          "description": "Cloud region code."
        },
        "year": {
          "type": "integer",
          "title": "Year",
          "description": "Year of the data point."
        },
        "month": {
          "title": "Month",
          "description": "Month number 1-12 (monthly and daily granularity only).",
          "type": "integer"
        },
        "day": {
          "title": "Day",
          "description": "Day of month (daily granularity only).",
          "type": "integer"
        },
        "data_start_date": {
          "title": "Data Start Date",
          "description": "Inclusive start of the period this row covers.",
          "type": "string",
          "format": "date"
        },
        "data_end_date": {
          "title": "Data End Date",
          "description": "Inclusive end of the period this row covers.",
          "type": "string",
          "format": "date"
        },
        "tonnes_co2e_per_kwh": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            }
          ],
          "title": "Tonnes Co2E Per Kwh",
          "description": "Grid carbon intensity for this region and period, in tonnes of CO2e per kWh. Returned as the string \"OUTSIDE_OF_PLAN\" for grid ratecards your plan doesn't cover — the row and its dimensions are still shown so you can see what exists, only the intensity is withheld."
        },
        "scope2_tonnes_co2e_per_kwh": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scope2 Tonnes Co2E Per Kwh",
          "description": "Scope 2 part of the intensity: the direct emissions of generating the electricity, in tonnes of CO2e per kWh. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the version has no scope split for this period."
        },
        "scope3_tonnes_co2e_per_kwh": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scope3 Tonnes Co2E Per Kwh",
          "description": "Scope 3 part of the intensity: the upstream fuel supply and the transmission and distribution losses, in tonnes of CO2e per kWh. With the Scope 2 part it adds up to `tonnes_co2e_per_kwh`; the grid has no Scope 1. Returned as \"OUTSIDE_OF_PLAN\" unless your plan includes the Scope 1 / 2 / 3 breakdown, and null when the version has no scope split for this period."
        }
      },
      "type": "object",
      "required": [
        "version",
        "csp",
        "region",
        "year",
        "tonnes_co2e_per_kwh"
      ],
      "title": "GridRatecardRecord"
    },
    "RatecardPageLinks": {
      "properties": {
        "self": {
          "type": "string",
          "title": "Self",
          "description": "URL of the current page."
        },
        "next": {
          "title": "Next",
          "description": "URL of the next page, if any.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "self"
      ],
      "title": "RatecardPageLinks"
    },
    "RatecardPageMeta": {
      "properties": {
        "limit": {
          "type": "integer",
          "title": "Limit",
          "description": "Maximum number of records requested on this page."
        },
        "returned_count": {
          "type": "integer",
          "title": "Returned Count",
          "description": "Actual number of records returned on this page."
        },
        "total_count": {
          "title": "Total Count",
          "description": "Total number of records matching the current filters (ignoring pagination). Useful for progress indicators. Only present on the first page of results.",
          "type": "integer"
        },
        "total_count_at_least": {
          "title": "Total Count At Least",
          "description": "A floor on the total when counting the matches exactly would cost more than the page itself: there are at least this many records, and counting stopped there. Present instead of `total_count`, never alongside it. Narrow the query with a column filter to get an exact figure.",
          "type": "integer"
        },
        "has_more": {
          "type": "boolean",
          "title": "Has More",
          "description": "True if more records exist beyond this page."
        },
        "unlocked_count": {
          "title": "Unlocked Count",
          "description": "How many of the matching records your plan returns real values for. Only present alongside `total_count` (first page, `include_totals=true`).",
          "type": "integer"
        },
        "locked_count": {
          "title": "Locked Count",
          "description": "How many of the matching records come back with their sustainability values withheld as OUTSIDE_OF_PLAN. Only present alongside `total_count`.",
          "type": "integer"
        },
        "next_cursor": {
          "title": "Next Cursor",
          "description": "Opaque cursor for the next page. Pass this back as the `cursor` query parameter to fetch the next page. Null when there are no more pages.",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "limit",
        "returned_count",
        "has_more"
      ],
      "title": "RatecardPageMeta"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/greenpixie-grid-ratecard-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.