Skip to main content
GET
/
lca
/
portfolio
List LCA Portfolios
const options = {
  method: 'GET',
  headers: {'x-api-key': '<x-api-key>', 'x-organization-id': '<x-organization-id>'}
};

fetch('https://api.dcycle.io/lca/portfolio', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "items": {
    "id": "<string>",
    "organization_id": "<string>",
    "name": "<string>",
    "description": {},
    "impact_categories": {},
    "final_product_id": {},
    "unit_id": {},
    "value": {},
    "start_date": {},
    "end_date": {},
    "status": "<string>"
  },
  "total": 123,
  "page": 123,
  "size": 123
}

List LCA Portfolios

Retrieve a paginated list of LCA portfolios belonging to your organization.

Request

Headers

x-api-key
string
required
Your API key for authentication
x-organization-id
string
required
Your organization UUID

Query Parameters

page
integer
default:"1"
Page number for pagination
size
integer
default:"10"
Number of items per page (max 100)
filter_by
string
Filter expression. Supports filtering by name and status.Example: "name:My Product"
sort_by
string
Sort expression. Supports sorting by name, created_at, updated_at.Example: "created_at:desc"

Response

items
array[object]
Array of LCA portfolio objects
total
integer
Total number of LCAs matching the filter
page
integer
Current page number
size
integer
Number of items per page

Example

curl -X GET "https://api.dcycle.io/lca/portfolio?page=1&size=20" \
  -H "x-api-key: ${DCYCLE_API_KEY}" \
  -H "x-organization-id: ${DCYCLE_ORG_ID}"

Successful Response

{
  "items": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "organization_id": "a8315ef3-dd50-43f8-b7ce-d839e68d51fa",
      "name": "Ceramic Tile 60x60",
      "description": "LCA for standard ceramic tile production",
      "impact_categories": [
        "climate_change",
        "acidification",
        "eutrophication_freshwater",
        "eutrophication_marine",
        "ozone_depletion",
        "water_scarcity"
      ],
      "final_product_id": "bf800281-bcc7-42f4-81e4-8ec9abb9745e",
      "unit_id": "c1d2e3f4-a5b6-7890-cdef-ab1234567890",
      "value": 1000.0,
      "start_date": "2025-01-01",
      "end_date": "2025-12-31",
      "status": "active"
    }
  ],
  "total": 5,
  "page": 1,
  "size": 20
}

LCA Dashboard

Get environmental impact results for an LCA

LCA Overview

LCA API introduction and concepts