Call by: uniqueIdentifier — your internal brand product reference (same value as on POST /brand-products).
Returns the declared French Environmental Cost (FEC) published for the matching brand product.
This is the customer-facing declared FEC (government platform publication), distinct from the calculated FEC returned by GET /calculated-french-environmental-cost/....
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/declared-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
- Productionhttps://api.fairlymade.com/v3/declared-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
- Sandboxhttps://api.sandbox.fairlymade.com/v3/declared-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}
curl -i -X GET \
'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/declared-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}'Declared FEC available for this brand product.
Whether the FEC has been published on the government platform.
Publication date on the government platform, when available.
{ "scoring": { "brandScore": 1.41, "productScore": 2653, "frenchEnvironmentalCost": 1882 }, "publishedFrenchEnvironmentalCost": 1882, "publishedFrenchEnvironmentalCostPerUnitWeight": 2.67, "pictogram": "https://affichage-environnemental.ecobalyse.beta.gouv.fr/api/image?type=score&score=1882&masse=0.705", "isPublishedOnGovernmentPlatform": true, "governmentPlatformPublicationDate": "2024-11-18T12:50:01.151Z", "calculatedAt": "2024-11-18T12:50:01.151Z" }