Random pictures of food dishes.
Foodish is a Node.js/Express.js REST API that returns a random picture of a food dish. A GET request to the base endpoint returns a random image from a random food category, while a category-specific endpoint returns a random image from a specified food category, with the response given as a JSON object containing an image URL.
The API is built on a dataset of food images sourced from a Kaggle database and supplemented with additional images from Pixabay. Documentation is provided via an OpenAPI/Swagger v3 specification, and a hosted demo is available at foodish-api.com.
The project targets developers who need placeholder food images, for example for restaurant website mockups or a "guess the food dish" style game. It is open source under the MIT license, and the hosted service is free to use, running on a free hosting instance that can cause a longer response time on the first request.
Yes, Foodish is completely free to use, though the maintainer accepts donations to cover hosting costs.
It is a Node.js/Express.js REST API.
Send a GET request to /api/ for a random dish from any category, or /api/images/:food for a specific category.
Yes, an OpenAPI Specification/Swagger v3 document is available at https://foodish-api.com/api-docs.
It is licensed under the MIT license.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers