This recipe uses the demo environment URL (api-v2.demo.higg.org). For production requests, replace the base URL with api-v2.production.higg.org.
curl --location --request POST 'https://api-v2.demo.higg.org/msi-api/v1/search-limited-lcia' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<apiKey>>'
--header 'x-developer-request-token: <<apiKey>>'
--header 'show-api-fields: true' \
--data-raw ''
Set your API key
Set the authentication headers:--header 'x-api-key: <<apiKey>>'
--header 'x-developer-request-token: <<apiKey>>'
Use the search endpoint
curl --location --request POST 'https://api-v2.demo.higg.org/msi-api/v1/search-limited-lcia' \
Get all fields
Optionally include this header to include all data fields associated with the material. This will include the selected and available process IDs for each stage of the material formation, as well as the impacts for each process stage.--header 'show-api-fields: true' \