Updated 17 Apr 2025
Welcome to ScopeGreen, the sustainability-focused API of Scope4! This guide walks you through retrieving environmental Life‑Cycle‑Assessment (LCA) metrics via our REST API.
ScopeGreen gives developers, researchers and sustainability professionals programmatic access to high‑quality environmental‑impact data for thousands of materials and products.
Key capabilities
Access core metrics – Carbon Footprint, EF 3.1 Score, Land Use, and more.
Flexible search – Query by item name, refine by year, geography, or domain (e.g. Materials & Products, Transport).
Compare options – Ask for up to three ranked matches.
Performance mode – Lite mode is currently the only operational mode. Supplying mode=pro
will be accepted but internally treated as lite; full pro accuracy will be released soon.
Unit conversion – pass unit=
; supports mass, volume, area, energy, distance, time & combinations. See the Unit Conversion docs.
Language support – Flag non‑English item names for auto‑translation.
(Experimental web search integration is disabled for now.)
Every request needs an API key in the Authorization
header.
curl --request GET \
--url "https://scopegreen-main-1a948ab.d2.zuplo.dev/api/metrics" \
--header "Authorization: Bearer YOUR_API_KEY"
How to obtain a key
Submit the Builder Form or the Enterprise Form to request access.
We will get back to you in less than 24 hours.
Your key will be safely provided via email.
Soon an Authentication page will be made available. There you will be able to see your key and even rotate it.
Need help? → tom@scope4.dev
Let's retrieve the carbon footprint for a cotton T‑shirt.
curl --request GET \
--url "https://scopegreen-main-1a948ab.d2.zuplo.dev/api/metrics/search?item_name=cotton" \
--header "Authorization: Bearer YOUR_API_KEY"
{
"matches": [
{
"rank": 1,
"matched_name": "Cotton",
"metric": {
"name": "Carbon footprint",
"value": 1.314,
"unit": "kg CO2 eq / kg"
},
"year": 2025,
"geography": "USA",
"source": "IDEMAT 2025RevA",
"source_link": "https://www.ecocostsvalue.com/data-tools-books/",
"conversion_info": "Unit conversion not requested."
}
],
"explanation": "The best match is 'Cotton USA' as it directly refers to cotton without specifying any particular processing or blend. It provides the requested carbon footprint metric."
}
Method GET /api/metrics/search
Parameter | Type | Required | Notes |
---|---|---|---|
item_name | string | ✓ | Max 100 chars |
metric | string | Default Carbon footprint | |
year | string | ≥ 2020. Default empty | |
geography | string | Max 50 chars. Default empty | |
num_matches | int (1‑3) | Default 1 | |
unit | string | Functional‑unit conversion. Default empty; see the Unit Conversion docs | |
mode | string | lite (current) · pro alias for lite ⚠️ | |
domain | string | Filter domain category. Default: Materials & Products | |
not_english | bool | true → auto‑translate item_name . Default false | |
web_mode | bool | Disabled – will be false for now |
If nothing suitable is found:
{ "message": "No good match was found, retry with a different item name" }
Available metrics – Carbon footprint, EF 3.1 Score, Land Use
Domain filters – Materials & Products (default) · Processing · Transport · Energy · Direct emissions
Unit conversion – pass unit=
; supports mass, volume, area, energy, distance, time & combinations.
Rate limiting – bursts return 429 Too Many Requests; exponential back‑off recommended.
import requests
api_key = "YOUR_API_KEY"
url = "https://scopegreen-main-1a948ab.d2.zuplo.dev/api/metrics/search"
params = {
"item_name": "cotton t-shirt",
"metric": "Carbon footprint",
"mode": "lite", # pro maps to lite until pro is launched
"unit": "g" # convert functional unit to grams
}
resp = requests.get(url, headers={"Authorization": f"Bearer {api_key}"}, params=params)
print(resp.json())
async function searchLcaBench() {
const apiKey = 'YOUR_API_KEY';
const params = new URLSearchParams({
item_name: 'cotton t-shirt',
metric: 'Carbon footprint',
mode: 'lite', // pro currently behaves as lite
unit: 'g'
});
const url = `https://scopegreen-main-1a948ab.d2.zuplo.dev/api/metrics/search?${params}`;
const res = await fetch(url, { headers: { Authorization: `Bearer ${apiKey}` } });
const data = await res.json();
console.log(data);
}
item_name
(e.g. "cold‑rolled low‑carbon steel sheet").domain
and year
when possible.Questions, ideas or issues → tom@scope4.dev