{
  "x402Version": 2,
  "id": 37092,
  "slug": "37092",
  "resource": "https://api.vextorium.com/v1/spain-power-co2",
  "description": "Daily CO2 emissions of electricity generation in Spain (tonnes) by technology (combined cycle, cogeneration, coal...) and emission factor (tCO2/MWh) over the last days. Red Electrica de Espana data.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Sustainability",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "by_technology_tco2": {
            "properties": {
              "Coal": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Cogeneration": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Combined cycle": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Diesel engines": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Gas turbine": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Non-renewable waste": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "Steam turbine": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "series": {
            "items": {
              "properties": {
                "day": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "tco2": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "tco2_per_mwh": {
                  "type": [
                    "null",
                    "number"
                  ]
                }
              },
              "type": [
                "null",
                "object"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "since": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_tco2": {
            "type": [
              "number",
              "null"
            ]
          },
          "until": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "days": 3
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "by_technology_tco2": {
              "Coal": 6403,
              "Cogeneration": 40350,
              "Combined cycle": 202429.4,
              "Diesel engines": 18263.4,
              "Gas turbine": 10062.7,
              "Non-renewable waste": 1967.6,
              "Steam turbine": 29038.5
            },
            "note": "Emission factor over total generation. Source: Red Electrica de Espana (REE).",
            "series": [
              {
                "day": "2026-09-29",
                "tco2": 92090,
                "tco2_per_mwh": 0.1378
              },
              {
                "day": "2026-09-30",
                "tco2": 110326.1,
                "tco2_per_mwh": 0.1321
              }
            ],
            "since": "2026-09-29",
            "total_tco2": 308514.5,
            "until": "2026-10-01"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "days": {
                    "description": "1-90 (default 7)",
                    "type": "integer"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "by_technology_tco2": {
                    "properties": {
                      "Coal": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Cogeneration": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Combined cycle": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Diesel engines": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Gas turbine": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Non-renewable waste": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "Steam turbine": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "note": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "series": {
                    "items": {
                      "properties": {
                        "day": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "tco2": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "tco2_per_mwh": {
                          "type": [
                            "null",
                            "number"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "since": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "total_tco2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "until": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "co2",
    "emissions",
    "esg",
    "electricity",
    "spain",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:10:42.023Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:10:41.771Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "days": 3
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "by_technology_tco2": {
                "Coal": 6403,
                "Cogeneration": 40350,
                "Combined cycle": 202429.4,
                "Diesel engines": 18263.4,
                "Gas turbine": 10062.7,
                "Non-renewable waste": 1967.6,
                "Steam turbine": 29038.5
              },
              "note": "Emission factor over total generation. Source: Red Electrica de Espana (REE).",
              "series": [
                {
                  "day": "2026-09-29",
                  "tco2": 92090,
                  "tco2_per_mwh": 0.1378
                },
                {
                  "day": "2026-09-30",
                  "tco2": 110326.1,
                  "tco2_per_mwh": 0.1321
                }
              ],
              "since": "2026-09-29",
              "total_tco2": 308514.5,
              "until": "2026-10-01"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "days": {
                      "description": "1-90 (default 7)",
                      "type": "integer"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "by_technology_tco2": {
                      "properties": {
                        "Coal": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Cogeneration": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Combined cycle": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Diesel engines": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Gas turbine": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Non-renewable waste": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "Steam turbine": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "note": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "series": {
                      "items": {
                        "properties": {
                          "day": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "tco2": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "tco2_per_mwh": {
                            "type": [
                              "null",
                              "number"
                            ]
                          }
                        },
                        "type": [
                          "null",
                          "object"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "since": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "total_tco2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "until": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "by_technology_tco2": {
        "Coal": 0,
        "Cogeneration": 0,
        "Combined cycle": 0,
        "Diesel engines": 0,
        "Gas turbine": 0,
        "Non-renewable waste": 0,
        "Steam turbine": 0
      },
      "note": "string",
      "series": [
        {
          "day": null,
          "tco2": null,
          "tco2_per_mwh": null
        }
      ],
      "since": "string",
      "total_tco2": 0,
      "until": "string"
    },
    "type": "string"
  }
}