Food dish or menu item with name, description, cuisine type, price, ingredients list, and customer rating. Used for restaurant menus, food delivery apps, and culinary platforms.
https://api.mockly.codes/dishes?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/dishesGet a collection of dishes
/food/dishes/dishes/:idGet a single dish by ID
/food/dishes/:id/dishes/metaGet resource metadata and schema
/food/dishes/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/dishes?q=laptopGET https://api.mockly.codes/dishes?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 dishes
fetch('https://api.mockly.codes/dishes?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/dishes?count=10'
)
data = response.json()curl "https://api.mockly.codes/dishes?count=10"fetch('https://api.mockly.codes/dishes?nocache=true')idintegerUnique identifier for the dish
random_intnamestringName of the dish (e.g., Margherita Pizza, Chicken Tikka Masala)
sentencedescriptionstringDetailed description of the dish, preparation method, and flavors
paragraphcuisinestringCuisine type or origin (e.g., Italian, Indian, Japanese, Mexican)
wordpricenumberPrice of the dish in the restaurant's currency
priceingredientsarrayList of main ingredients used in the dish
tagsratingnumberAverage customer rating, typically on a scale of 1-5
floatcountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request