Skip to content

Deprecated

⚠️ Deprecated. These single-product endpoints are deprecated and will be removed in a future version — avoid building new integrations on them.

DataDeprecated endpointsUse instead
Calculated French Environmental Cost (Coût Environnemental Calculé)GET /calculated-french-environmental-cost/...Will be replaced by a list endpoint
Life Cycle Assessment (LCA) resultsGET /lifecycle-assessment/...Will be replaced by a list endpoint
Declared French Environmental Cost, published on the government platformGET /declared-french-environmental-cost/{brandProductId} and /by-unique-identifier/...Declared FEC — all products (list)

Each data type has two equivalent lookups:

  • By unique identifier — your uniqueIdentifier from POST /brand-products
  • By brand product id — the Fairly Made brandProductId (UUID v4) from the 201 response

Calculated FEC — by unique identifier
deprecated

Request

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.

Path
uniqueIdentifierstring, non-emptyrequired

Your brand product uniqueIdentifier (same value as on POST /brand-products). Any non-empty URL-encoded string is accepted; it is not validated as a UUID.

curl -i -X GET \
  'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/calculated-french-environmental-cost/by-unique-identifier/{uniqueIdentifier}'

Responses

Calculated FEC available for this brand product.

Bodyapplication/json
scoringobject(CalculatedFrenchEnvironmentalCostScoring)required

FEC score breakdown (AGEC / Ecobalyse methodology).

durabilityCoefficientnumber

Durability coefficient applied to the FEC calculation.

pictogramstring, (uri)

URL of the FEC pictogram (Ecobalyse image endpoint).

calculatedAtstring, (date-time)required

Timestamp when the FEC was calculated.

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" }