API Versioning
The ecoinvent API uses URL-based versioning. Both the ecoinvent data version and the API version are embedded in the endpoint path, making every request fully explicit and unambiguous.
URL structure
All endpoint URLs follow this structure:
https://api.ecoinvent.org/{data-version}/{api-version}/...For example:
https://api.ecoinvent.org/v3/api1/datasets/searchThese two segments are distinct concepts:
Data version (e.g.
v3,v4) — the version of the ecoinvent database you are querying.API version (e.g.
api1,api2) — controls the behavior, response structure, and available features of the API itself.
Versioning policy
We aim to maintain stability within a major API version. Breaking changes, such as modifications to response structures or endpoint behavior, will only be introduced in a new API version (e.g. api2). When a new version is released, the previous version will enter a deprecation period during which it remains available but is no longer actively developed. Deprecation timelines will be communicated in the Release Notes and via direct communication to affected customers.
Version history
0 (beta)
/v0/
Deprecated
No explicit API versioning during beta
Last updated
Was this helpful?