Get a list of database footprints
curl --request GET \
--url https://{subdomain}.variable.global/api/pact/2/footprints \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.variable.global/api/pact/2/footprints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.variable.global/api/pact/2/footprints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.variable.global/api/pact/2/footprints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.variable.global/api/pact/2/footprints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.variable.global/api/pact/2/footprints")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.variable.global/api/pact/2/footprints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"specVersion": "2.1.0",
"precedingPfIds": [
"<string>"
],
"version": 1,
"status": "Active",
"statusComment": "<string>",
"validityPeriodStart": "2025-01-01T00:00:00.000Z",
"validityPeriodEnd": "2025-01-01T00:00:00.000Z",
"companyName": "Acme Corp",
"companyIds": [
"urn:pathfinder:company:customcode:buyer-assigned:acme-corp"
],
"productIds": [
"urn:pathfinder:product:id:cas:64-17-5"
],
"productCategoryCpc": "3342",
"productNameCompany": "Green Widget",
"productDescription": "A sustainable widget made from recycled materials",
"comment": "Verified by third-party auditor",
"pcf": {
"declaredUnit": "kilogram",
"unitaryProductAmount": 1234.5678,
"pCfExcludingBiogenic": 1234.5678,
"pCfIncludingBiogenic": 1234.5678,
"fossilGhgEmissions": 1234.5678,
"fossilCarbonContent": 1234.5678,
"biogenicCarbonContent": 1234.5678,
"dLucGhgEmissions": 1234.5678,
"landManagementGhgEmissions": 1234.5678,
"otherBiogenicGhgEmissions": 1234.5678,
"iLucGhgEmissions": 1234.5678,
"biogenicCarbonWithdrawal": 1234.5678,
"aircraftGhgEmissions": 1234.5678,
"characterizationFactors": "AR6",
"ipccCharacterizationFactorsSources": [
"AR6"
],
"crossSectoralStandardsUsed": [
"GHG Protocol Product standard"
],
"productOrSectorSpecificRules": [
{
"operator": "PEF",
"ruleNames": [
"EN 15804+A2"
]
}
],
"biogenicAccountingMethodology": "GHGP",
"boundaryProcessesDescription": "<string>",
"referencePeriodStart": "2025-01-01T00:00:00.000Z",
"referencePeriodEnd": "2025-01-01T00:00:00.000Z",
"geographyCountrySubdivision": "US-PA",
"geographyCountry": "NO",
"geographyRegionOrSubregion": "Europe",
"secondaryEmissionFactorSources": [
{
"name": "ecoinvent",
"version": "3.9.1"
}
],
"exemptedEmissionsPercent": 2,
"exemptedEmissionsDescription": "<string>",
"packagingEmissionsIncluded": true,
"packagingGhgEmissions": 1234.5678,
"allocationRulesDescription": "<string>",
"uncertaintyAssessmentDescription": "<string>",
"primaryDataShare": 82,
"dqi": {
"coveragePercent": 80,
"technologicalDQR": 2,
"temporalDQR": 2,
"geographicalDQR": 2,
"completenessDQR": 2,
"reliabilityDQR": 2
}
},
"extensions": [
{}
],
"created": "2025-01-01T00:00:00.000Z",
"updated": "2025-01-01T00:00:00.000Z"
}
]
}{
"message": "token expired"
}{
"message": "\"your_subdomain\" is a placeholder. Replace it with your company's Variable subdomain from company settings.",
"code": "NotFound"
}Endpoints
PACT v2 footprints
GET
/
pact
/
2
/
footprints
Get a list of database footprints
curl --request GET \
--url https://{subdomain}.variable.global/api/pact/2/footprints \
--header 'Authorization: Bearer <token>'import requests
url = "https://{subdomain}.variable.global/api/pact/2/footprints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{subdomain}.variable.global/api/pact/2/footprints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.variable.global/api/pact/2/footprints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.variable.global/api/pact/2/footprints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{subdomain}.variable.global/api/pact/2/footprints")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.variable.global/api/pact/2/footprints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"specVersion": "2.1.0",
"precedingPfIds": [
"<string>"
],
"version": 1,
"status": "Active",
"statusComment": "<string>",
"validityPeriodStart": "2025-01-01T00:00:00.000Z",
"validityPeriodEnd": "2025-01-01T00:00:00.000Z",
"companyName": "Acme Corp",
"companyIds": [
"urn:pathfinder:company:customcode:buyer-assigned:acme-corp"
],
"productIds": [
"urn:pathfinder:product:id:cas:64-17-5"
],
"productCategoryCpc": "3342",
"productNameCompany": "Green Widget",
"productDescription": "A sustainable widget made from recycled materials",
"comment": "Verified by third-party auditor",
"pcf": {
"declaredUnit": "kilogram",
"unitaryProductAmount": 1234.5678,
"pCfExcludingBiogenic": 1234.5678,
"pCfIncludingBiogenic": 1234.5678,
"fossilGhgEmissions": 1234.5678,
"fossilCarbonContent": 1234.5678,
"biogenicCarbonContent": 1234.5678,
"dLucGhgEmissions": 1234.5678,
"landManagementGhgEmissions": 1234.5678,
"otherBiogenicGhgEmissions": 1234.5678,
"iLucGhgEmissions": 1234.5678,
"biogenicCarbonWithdrawal": 1234.5678,
"aircraftGhgEmissions": 1234.5678,
"characterizationFactors": "AR6",
"ipccCharacterizationFactorsSources": [
"AR6"
],
"crossSectoralStandardsUsed": [
"GHG Protocol Product standard"
],
"productOrSectorSpecificRules": [
{
"operator": "PEF",
"ruleNames": [
"EN 15804+A2"
]
}
],
"biogenicAccountingMethodology": "GHGP",
"boundaryProcessesDescription": "<string>",
"referencePeriodStart": "2025-01-01T00:00:00.000Z",
"referencePeriodEnd": "2025-01-01T00:00:00.000Z",
"geographyCountrySubdivision": "US-PA",
"geographyCountry": "NO",
"geographyRegionOrSubregion": "Europe",
"secondaryEmissionFactorSources": [
{
"name": "ecoinvent",
"version": "3.9.1"
}
],
"exemptedEmissionsPercent": 2,
"exemptedEmissionsDescription": "<string>",
"packagingEmissionsIncluded": true,
"packagingGhgEmissions": 1234.5678,
"allocationRulesDescription": "<string>",
"uncertaintyAssessmentDescription": "<string>",
"primaryDataShare": 82,
"dqi": {
"coveragePercent": 80,
"technologicalDQR": 2,
"temporalDQR": 2,
"geographicalDQR": 2,
"completenessDQR": 2,
"reliabilityDQR": 2
}
},
"extensions": [
{}
],
"created": "2025-01-01T00:00:00.000Z",
"updated": "2025-01-01T00:00:00.000Z"
}
]
}{
"message": "token expired"
}{
"message": "\"your_subdomain\" is a placeholder. Replace it with your company's Variable subdomain from company settings.",
"code": "NotFound"
}PACT deprecated v2 on 1 April 2026 (announcement). Variable still serves it, but new integrations should use PACT v3 footprints.
Only locked PCF declarations shared to the API show here. A product’s own sharing setting doesn’t decide what
the API shows. See Sharing footprints.A footprint’s
id is its PCF’s id, and a deprecated version stays retrievable by its id.Follow the
Link header, not the page size. A page can hold fewer footprints than the limit, or none, when
a footprint fails the PACT v2 schema and is left out. A page holds at most 100 footprints,
whatever the limit. Request next until there is none.