Call by: uniqueIdentifier — your internal brand product reference (same value as on POST /brand-products).
Returns the calculated French Environmental Cost (FEC / Coût Environnemental Calculé) for the matching brand product.
Requires a Customer API bearer token. Your registry customer scope is resolved from the token.
uniqueIdentifier is not validated as a UUID — any non-empty URL-encoded string is accepted.
Error responses use a dedicated JSON shape: machine-readable codes are returned in details[].reason.
- Mock serverhttps://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/calculated-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
- Productionhttps://api.fairlymade.com/v3/calculated-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
- Sandboxhttps://api.sandbox.fairlymade.com/v3/calculated-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/calculated-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}'Calculated FEC available for this brand product.
FEC score breakdown (AGEC / Ecobalyse methodology).
Response
{ "scoring": { "brandScore": 1.41, "productScore": 2653, "lcaScore": 2102, "ooeuExportScore": 173, "microfibersScore": 378, "malusBonusServiceDuration": 35, "referenceServiceDuration": 85, "frenchEnvironmentalCost": 1882 }, "durabilityCoefficient": 0.9, "pictogram": "https://affichage-environnemental.ecobalyse.beta.gouv.fr/api/image?type=score&score=1882&masse=0.705", "calculatedAt": "2024-11-18T12:50:01.151Z" }