Website Carbon

Estimate a web page's CO2 footprint from its byte weight

🌦 WeatherUNMONITOREDchecked 42 min ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Website Carbon models the greenhouse-gas emissions of loading a web page. The keyless /data endpoint takes a transfer size and a green-hosting flag and returns grams of CO2, an A–F rating and a 'cleaner than' percentile. The URL-scanning /site endpoint now requires an API token.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.websitecarbon.com/data?bytes=1000000&green=0

{
  "bytes": 1000000,
  "green": false,
  "gco2e": 0.1042066141963005,
  "rating": "B",
  "cleanerThan": 0.8
}
Call itcurl · fetch · python
curl "https://api.websitecarbon.com/data?bytes=1000000&green=0"
const res = await fetch("https://api.websitecarbon.com/data?bytes=1000000&green=0");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.websitecarbon.com/data?bytes=1000000&green=0")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 4On scheduleFULL DOCS ↗
First rollup pending — GET /data?bytes=1000000&green=0 has been probed
GET/data?bytes=1000000&green=0PROBED

Estimate a web page's CO2 footprint from its byte weight

GET/data?limit=5

Data — documented GET route.

GET/data?page=1

Data — documented GET route.

GET/data?bytes=12345678&green=1

Data — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Website Carbon: common questions

Is Website Carbon free to use?

Yes — Website Carbon is a free weather API. Free tier: Free keyless byte-based /data endpoint. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Website Carbon need an API key?

No — Website Carbon needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Website Carbon from the browser?

Not directly — Website Carbon doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is Website Carbon up right now?

As of our last scheduled check, Website Carbon is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.