Skip to content

Expose recipe main image URL in the API #318

@kersten

Description

@kersten

Is your feature request related to a problem? Please describe.
When consuming the API in an app or website, it is currently not possible to reliably display the main recipe image directly from the API response. This makes it harder to build a rich recipe search or detail view without additional scraping or manual URL construction.

Describe the solution you'd like
I would like the API to expose the URL of the main recipe image as part of the recipe payload.

Example of the kind of URL I mean:

https://img.hellofresh.com/c_fit,f_auto,fl_lossy,h_1100,q_auto,w_2600/hellofresh_s3/image/HF201112_R27_W52_DE_EXP3094-1_KB_Main__remove_sunflower_seeds_edit_low-965d728e.jpg

Ideally this would be returned in a dedicated field such as imageUrl, mainImageUrl, or similar.

Describe alternatives you've considered
An alternative would be to manually derive or scrape the image URL from other data, but that is brittle and much less reliable than having the image URL directly available in the API response.

Additional context
Having the main image URL available would make it much easier to build better search results, recipe cards, previews, and detail pages for consumers of this API.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions