Public APIs
Foodish favicon

Foodish

Food & Drink

Random pictures of food dishes.

Foodish's website screenshot

About Foodish

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.

Key features

  • Random food dish image from any category via GET /api/
  • Random image from a specific food category via GET /api/images/:food
  • OpenAPI/Swagger v3 documentation available
  • Free to use REST API
  • MIT licensed and open source

Frequently asked questions

Is Foodish free to use?

Yes, Foodish is completely free to use, though the maintainer accepts donations to cover hosting costs.

What technology is Foodish built with?

It is a Node.js/Express.js REST API.

How do I get a random food image?

Send a GET request to /api/ for a random dish from any category, or /api/images/:food for a specific category.

Is there API documentation?

Yes, an OpenAPI Specification/Swagger v3 document is available at https://foodish-api.com/api-docs.

What license is Foodish released under?

It is licensed under the MIT license.

Ad
Webz.io News API favicon

Webz.io News API

Webz.io News APIs provide global news data for search, monitoring, analytics, and AI applications, with powerful filters and natural-language search.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Webz.io News API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product