GnistAI GnistAI
Log in

Recipe Database

International recipe collection — search by name, browse by category or cuisine, get random recipes.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Food & Drink

Data source: TheMealDB

REST Bridge Endpoint https://context.gnist.ai/rest/recipe/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (7)

search_recipes

Search international recipes by name.

Returns full recipe details including ingredients, instructions, and category.

Args:
query: Recipe name to search for (e.g. "Arrabiata", "chicken", "pasta").

ParameterTypeRequiredDescription
querystringrequiredRecipe name to search for (e.g. "Arrabiata", "chicken", "pasta").
Request Body
{
  "query": "example"
}
get_recipe

Get full details for a specific recipe by its ID.

Args:
meal_id: TheMealDB recipe ID (e.g. "52771").

Returns:
Full recipe record with ingredients, instructions, category, and cuisine.

ParameterTypeRequiredDescription
meal_idstringrequiredTheMealDB recipe ID (e.g. "52771").
Request Body
{
  "meal_id": "example"
}
get_random_recipe

Get a random recipe from the international recipe database.

Returns:
A randomly selected recipe with full details.

Request Body
{
  "query": "example"
}
list_categories

List all available recipe categories (e.g. Beef, Chicken, Dessert, Seafood).

Returns:
List of categories with names, thumbnails, and descriptions.

Request Body
{
  "query": "example"
}
filter_by_category

Filter recipes by category. Returns recipe summaries (name, ID, image).

Use get_recipe() with the returned ID to get full details.

Args:
category: Recipe category (e.g. "Beef", "Chicken", "Dessert", "Seafood", "Vegetarian").

ParameterTypeRequiredDescription
categorystringrequiredRecipe category (e.g. "Beef", "Chicken", "Dessert", "Seafood", "Vegetarian").
Request Body
{
  "category": "example"
}
filter_by_area

Filter recipes by cuisine/area. Returns recipe summaries (name, ID, image).

Use get_recipe() with the returned ID to get full details.

Args:
area: Cuisine area (e.g. "Italian", "Japanese", "Mexican", "British", "Indian").

ParameterTypeRequiredDescription
areastringrequiredCuisine area (e.g. "Italian", "Japanese", "Mexican", "British", "Indian").
Request Body
{
  "area": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/recipe/search_recipes" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"query": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/recipe/search_recipes",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "query": "example"
},
)
print(resp.json())

Related Toolkits (Food & Drink)

Resources