For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search

Search for datasets in the database

get

This endpoint allows searching for datasets using various filters and query parameters. You find a full list of potential facets in the response of your query.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
querystring · max: 255Optional

Free-text search query.

offsetintegerOptional

Pagination start index

Default: 0
limitinteger · max: 100Optional

Number of results to return

Default: 10
sectorstringOptional

Industrial Sector i.e. Electricity

geographystringOptional

Geography of production for a product/activity

isic_sectionstringOptional

Standard Classification of all Economic activities, level 1 section

isic_classstringOptional

Standard Classification of all Economic activities, level 4 class

activity_typestring · enumOptional

Type of activity, e.g. TRANSFORMING_ACTIVITY or MARKET_ACTIVITY.

Possible values:
activity_spold_uuidstring · uuidOptional

Filter results by activity spold UUID

product_spold_uuidstring · uuidOptional

Filter results by product spold UUID

versionstringOptional

Version name or 'latest'

Default: latest
system_modelstringOptional

System model name or 'cutoff'

Default: cutoff
Responses
200

Successful search response with matching datasets

application/json
totalintegerRequired
offsetintegerRequired
limitintegerRequired
versionstringRequired
system_modelstringRequired
get/v3/api1/datasets
GET /v3/api1/datasets HTTP/1.1
Host: api.ecoinvent.org
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "version": "3.12",
  "system_model": "cutoff",
  "total": 1,
  "offset": 0,
  "limit": 10,
  "results": [
    {
      "name": "electricity production",
      "activity_type": "TRANSFORMING_ACTIVITY",
      "time_period": "2012-2022",
      "time_period_comment": "Representative for the period 2012-2022",
      "sectors": [
        "Electricity"
      ],
      "isic_section": "D - Electricity",
      "isic_class": "3510 - Electric power generation",
      "products": [
        {
          "name": "electricity, high voltage",
          "unit": "kWh",
          "total_datasets": 1,
          "datasets": [
            {
              "id": 12345,
              "geography": "Switzerland (CH)",
              "description": "Generation of high-voltage electricity supplied to the grid",
              "included_activity_starts": "from cradle",
              "included_activity_ends": "to gate",
              "technology_comment": "Average European technology mix",
              "activity_spold_uuid": "ff12345a-1234-5678-9abc-123456789abc",
              "product_spold_uuid": "ee12345a-1234-5678-9abc-123456789abc",
              "geography_spold_uuid": "dd12345a-1234-5678-9abc-123456789abc",
              "ecoquery_url": "https://ecoquery.ecoinvent.org/3.12/cutoff/dataset/12345/documentation",
              "ecoquery_history_url": "https://ecoquery.ecoinvent.org/3.12/cutoff/dataset/12345/history"
            }
          ]
        }
      ],
      "total_products": 1
    }
  ],
  "facets": {
    "sectors": [
      {
        "name": "Electricity",
        "count": 20
      },
      {
        "name": "Manufacturing",
        "count": 15
      }
    ],
    "geographies": [
      {
        "name": "Global (GLO)",
        "count": 10
      },
      {
        "name": "Switzerland (CH)",
        "count": 5
      }
    ],
    "isic_sections": [
      {
        "name": "D - Electricity",
        "count": 20
      }
    ],
    "isic_classes": [
      {
        "name": "3510 - Electric power generation",
        "count": 12
      }
    ],
    "activity_types": [
      {
        "name": "TRANSFORMING_ACTIVITY",
        "count": 25
      }
    ]
  }
}

Last updated

Was this helpful?