78trust / 100

Energy Green Window

by Finanz & SEO Tools API in Weather & location

x402 APIPassing, checked 5 h ago

Electricity traffic light (Stromampel) and renewable-share-of-load forecast for Germany, Austria, Switzerland, France, Netherlands, Belgium, Poland, Denmark, Spain, Italy or Czechia: current hour, upcoming hourly forecast (until end of the available horizon, usually today and partly tomorrow), green/yellow/red hour counts, and the greenest and dirtiest upcoming N-hour window for EV charging, heat pumps, batteries or batch compute jobs. For Germany it also returns a green-and-cheap window weig...

GET
https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window
Price
$0.002
per call in USDC
Uptime
91.7%
last 30 days
Response time
233 ms
556 ms slowest 5%
Last check
Passed
5 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window

Each call costs $0.002 in USDC on Base Sepolia, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window?country=de&window=3&withPrice=true

Parameters

ParameterTypeRequiredDescription
countrystringNode (default), at, ch, fr, nl, be, pl, dk, es, it, cz
windowintegerNowindow length in hours, 1-12, default 3
withPricebooleanNoGermany only: add day-ahead prices and greenAndCheapWindow (default true)

Example response

The provider's example. We can't check it without paying.

Example response, 45 lines
{
  "country": "de",
  "greenAndCheapWindow": {
    "avgDayAheadEurMwh": 220.68,
    "avgRenewableSharePct": 56.7,
    "end": "2026-11-26T00:00:00+01:00",
    "start": "2026-11-25T21:00:00+01:00"
  },
  "greenestWindow": {
    "avgDayAheadEurMwh": 240.18,
    "avgRenewableSharePct": 59.8,
    "end": "2026-11-25T13:00:00+01:00",
    "hours": 3,
    "start": "2026-11-25T10:00:00+01:00"
  },
  "horizon": {
    "from": "2026-11-25T03:00:00+01:00",
    "hours": 21,
    "until": "2026-11-26T00:00:00+01:00"
  },
  "hourly": [
    {
      "dayAheadEurMwh": 206.33,
      "renewableSharePct": 42.8,
      "signal": 1,
      "start": "2026-11-25T03:00:00+01:00"
    }
  ],
  "now": {
    "hourStart": "2026-11-25T03:00:00+01:00",
    "renewableSharePct": 42.8,
    "signal": 1,
    "signalLabel": "yellow_average"
  },
  "source": "Energy-Charts.info (Fraunhofer ISE), licence CC BY 4.0",
  "stats": {
    "avgRenewableSharePct": 50.8,
    "upcomingHoursBySignal": {
      "congestion": 0,
      "green": 1,
      "red": 0,
      "yellow": 20
    }
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window?country=de&window=3&withPrice=true'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window?country=de&window=3&withPrice=true' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffinanz-seo-x402.vercel.app%2Fv1%2Feu%2Fenergy%2Fgreen-window
const res = await pay("https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window?country=de&window=3&withPrice=true");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://finanz-seo-x402.vercel.app/v1/eu/energy/green-window?country=de&window=3&withPrice=true")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402263 ms$0.002
15 h agoPassed402295 ms$0.002
25 h agoPassed402556 ms$0.002
36 h agoPassed402233 ms$0.002
2 days agoPassed402201 ms$0.002
Show 7 older checks
4 days agoTimed out---
5 days agoPassed402212 ms$0.002
6 days agoPassed402199 ms$0.002
6 days agoPassed402393 ms$0.002
7 days agoPassed402227 ms$0.002
7 days agoPassed402209 ms$0.002
7 days agoPassed402465 ms$0.002