curl --request GET \
--url https://app.variable.global/api/v1/search \
--header 'Authorization: Bearer <token>'{
"count": 1500,
"page": 1,
"pageSize": 100,
"data": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Material Name",
"dataSource": "model",
"description": "A descriptive description",
"sku": "SKU123",
"syncId": "sync123",
"cpcCode": "CPC123",
"unit": "kg",
"footprint": {
"CO2e": {
"A1": "1200.0",
"A2": "30.0",
"A3": "4.0",
"A4": "0.5",
"B1": "0.06",
"B2": "0.007",
"B3": "0.0008",
"B4": "",
"B5": "",
"C1": "",
"C2": "",
"C3": "",
"C4": "",
"D": "",
"totalCarbonFootprint": "1234.5678",
"productCarbonFootprint": "1234.0",
"upstream": "1230.0",
"direct": "4.0",
"downstream": "0.5678",
"A1_A3": "1234.0"
}
},
"dataQualityIndicators": {
"documentationYear": 2019,
"coveragePercent": 80,
"specificPercent": 40,
"technologicalDQR": 1,
"geographicalDQR": 1,
"completenessDQR": 1,
"reliabilityDQR": 1,
"averagePercent": 60,
"temporalDQR": 3
},
"taxonomy": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Material",
"slug": "electricity",
"path": "energy/electricity"
},
"geoLocation": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Pittsburgh, PA"
},
"location": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Pittsburgh Office"
},
"startDate": "2021-01-01T00:00:00.000Z",
"endDate": "2021-01-01T00:00:00.000Z",
"image": "https://app.variable.global/uploads/image.jpg",
"dataQualityRating": 1.4,
"created": "2021-01-01T00:00:00.000Z",
"updated": "2021-01-31T23:59:59.000Z",
"supplier": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"syncId": "sync123",
"name": "Company Name"
}
}
]
}Search the Variable Database
curl --request GET \
--url https://app.variable.global/api/v1/search \
--header 'Authorization: Bearer <token>'{
"count": 1500,
"page": 1,
"pageSize": 100,
"data": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Material Name",
"dataSource": "model",
"description": "A descriptive description",
"sku": "SKU123",
"syncId": "sync123",
"cpcCode": "CPC123",
"unit": "kg",
"footprint": {
"CO2e": {
"A1": "1200.0",
"A2": "30.0",
"A3": "4.0",
"A4": "0.5",
"B1": "0.06",
"B2": "0.007",
"B3": "0.0008",
"B4": "",
"B5": "",
"C1": "",
"C2": "",
"C3": "",
"C4": "",
"D": "",
"totalCarbonFootprint": "1234.5678",
"productCarbonFootprint": "1234.0",
"upstream": "1230.0",
"direct": "4.0",
"downstream": "0.5678",
"A1_A3": "1234.0"
}
},
"dataQualityIndicators": {
"documentationYear": 2019,
"coveragePercent": 80,
"specificPercent": 40,
"technologicalDQR": 1,
"geographicalDQR": 1,
"completenessDQR": 1,
"reliabilityDQR": 1,
"averagePercent": 60,
"temporalDQR": 3
},
"taxonomy": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Material",
"slug": "electricity",
"path": "energy/electricity"
},
"geoLocation": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Pittsburgh, PA"
},
"location": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Pittsburgh Office"
},
"startDate": "2021-01-01T00:00:00.000Z",
"endDate": "2021-01-01T00:00:00.000Z",
"image": "https://app.variable.global/uploads/image.jpg",
"dataQualityRating": 1.4,
"created": "2021-01-01T00:00:00.000Z",
"updated": "2021-01-31T23:59:59.000Z",
"supplier": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"syncId": "sync123",
"name": "Company Name"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The search term
"plastic"
The unit type
"volume"
The taxonomy UUID
"aa17223a-471c-4eb7-9ff5-7800fd023960"
The UUID of the supplier, database, etc.
"aa17223a-471c-4eb7-9ff5-7800fd023960"
A list of database footprints
1500
1
100
Show child attributes
"Material Name"
model, external, database "model"
"A descriptive description"
"SKU123"
"CPC123"
The unit code (e.g. kg, lbs, etc.). All unit codes can be found in the List Units endpoint.
"kg"
Using dataSource: external allows setting certain footprint.CO2e values. The values are computed all other dataSources.
Show child attributes
Show child attributes
"1200.0"
"30.0"
"4.0"
"0.5"
"0.06"
"0.007"
"0.0008"
""
""
""
""
""
""
""
"1234.5678"
"1234.0"
"1230.0"
"4.0"
"0.5678"
"1234.0"
Show child attributes
2019
80
40
1
1
1
1
60
This is calculated based on the documentationYear
1 = this year (2024)
2 = previous 4 years (2020 - 2023)
3 = 5+ years old (2019 and older)
3
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-01T00:00:00.000Z"
"https://app.variable.global/uploads/image.jpg"
1.4
ISO 8601 date
"2021-01-01T00:00:00.000Z"
ISO 8601 date
"2021-01-31T23:59:59.000Z"