Exchanges
This endpoint returns the technosphere flows of a dataset, with their suppliers, classifications and properties.
Dataset ID to retrieve
Pagination start index
0Number of results to return
20Version name or 'latest'
latestSystem model name or 'cutoff'
cutoffSuccessful response with the requested intermediate exchanges
A page of the intermediate exchanges of a dataset.
Total number of results
Unauthorized
Forbidden
Requested resource not found
Validation Error
Internal Server Error
GET /v3/api1/datasets/{id}/exchanges/intermediate HTTP/1.1
Host: api.ecoinvent.org
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"offset": 0,
"limit": 20,
"total": 10,
"version": "3.12",
"system_model": "cutoff",
"dataset_id": 12345,
"results": [
{
"intermediate_exchange": {
"spold_uuid": "25ecae5a-e387-4b5d-b7e1-6d1d1e3a0d2e",
"name": "electricity, medium voltage"
},
"unit": {
"name": "kWh"
},
"group": "FROM_TECHNOSPHERE",
"amount": 0.501384147,
"comment": "Estimated from the energy balance",
"supplier": {
"dataset_id": 13759,
"name": "market group for electricity, medium voltage",
"geography": "RNA"
},
"production_volume": {
"amount": 244053333.333333
},
"uncertainty": {
"type": "lognormal",
"pedigree_matrix": [
1,
2,
1,
5,
2
],
"value": {
"mean_value": 0.501384147,
"variance_with_pedigree_uncertainty": 0.01477
}
},
"classifications": [
{
"system": "CPC",
"value": "17100: Electrical energy"
}
],
"properties": [
{
"property": {
"spold_uuid": "a9358458-9724-4f03-b622-106eda248916",
"name": "carbon content"
},
"unit": {
"name": "dimensionless"
},
"amount": 0.856
}
]
}
]
}This endpoint returns the environmental flows of a dataset, with their compartments, direction and properties.
Dataset ID to retrieve
Pagination start index
0Number of results to return
20Version name or 'latest'
latestSystem model name or 'cutoff'
cutoffSuccessful response with the requested elementary exchanges
A page of the elementary exchanges of a dataset.
Total number of results
Unauthorized
Forbidden
Requested resource not found
Validation Error
Internal Server Error
GET /v3/api1/datasets/{id}/exchanges/elementary HTTP/1.1
Host: api.ecoinvent.org
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"offset": 0,
"limit": 20,
"total": 150,
"version": "3.12",
"system_model": "cutoff",
"dataset_id": 12345,
"results": [
{
"elementary_exchange": {
"spold_uuid": "831f249e-53f2-49cf-a93c-7cee105f048e",
"name": "Water, unspecified natural origin"
},
"compartment": {
"name": "natural resource"
},
"sub_compartment": {
"name": "in water"
},
"unit": {
"name": "m3"
},
"amount": 0.000051304,
"direction": "FROM_ENVIRONMENT",
"comment": "Average water consumption of the factory",
"cas_number": "007732-18-5",
"uncertainty": {
"type": "lognormal",
"pedigree_matrix": [
2,
2,
1,
5,
2
],
"value": {
"mean_value": 0.000051304,
"variance_with_pedigree_uncertainty": 0.0038
}
},
"properties": [
{
"property": {
"spold_uuid": "a9358458-9724-4f03-b622-106eda248916",
"name": "carbon content"
},
"unit": {
"name": "dimensionless"
},
"amount": 0.0104
}
]
}
]
}Last updated
Was this helpful?