Get French Eco Score SVG Labels
French Eco Scores
Get labels for French Eco-Scores
POST
Get French Eco Score SVG Labels
Returns official Ecobalyse SVG labels for one or more products in your library. Use this endpoint to retrieve the visual French Eco-Score (Environmental Cost) for display on product pages or packaging.Documentation Index
Fetch the complete documentation index at: https://developer.worldly.io/llms.txt
Use this file to discover all available pages before exploring further.
Specify an array of up to 50 product IDs to retrieve labels in a single request.
Request body properties
| Name | Type | Description |
|---|---|---|
productIds | Array<string> | [REQUIRED] The list of Worldly product IDs for which you want to generate labels. |
Implementation details
- Batch limit: You can request labels for a maximum of 50 products per request.
- Error isolation: The endpoint uses per-product error isolation. If one product fails to generate a label (e.g., due to missing mandatory French Eco-Score data), the response still contains labels for the successful products.
- SVG output: The
svgproperty in the response contains the raw SVG string. You can render this string directly in a browser or save it as a file.
Response body properties
| Name | Type | Description |
|---|---|---|
productId | string | [REQUIRED] The ID of the product. |
code | number | The calculated French Eco-Score value. null when label generation fails. |
error | string | A description of the error if the label could not be generated for this product. |
svg | string | The raw SVG data for the label. null when label generation fails. |

