Recipe API - TheMealDB, AllRecipes Scraper & Spoonacular avatar

Recipe API - TheMealDB, AllRecipes Scraper & Spoonacular

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Recipe API - TheMealDB, AllRecipes Scraper & Spoonacular

Recipe API - TheMealDB, AllRecipes Scraper & Spoonacular

Search and retrieve recipes from multiple sources: TheMealDB (free API), AllRecipes (scraper), and Spoonacular (BYOK). Get ingredients, instructions, nutrition info, meal planning, and more.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

7 days ago

Last modified

Share

Search and retrieve recipes from multiple sources: TheMealDB (free API), AllRecipes (scraper), and Spoonacular (BYOK). Get ingredients, instructions, nutrition info, meal planning, and more.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Your Spoonacular API key for enhanced features. Get one at https://spoonacular.com/food-api

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"query": "chicken"
}

Run with real data

{
"demoMode": false,
"task": "search_recipes",
"source": "themealdb",
"query": "chicken",
"maxResults": 10,
"includeNutrition": false,
"spoonacularApiKey": "YOUR_API_KEY_HERE",
"mealPlanDays": 7,
"targetCalories": 2000,
"diet": "",
"webhookPlatform": "custom"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"search_recipes"NoWhat would you like to do?
sourcestring"themealdb"NoWhich recipe source to use
querystring-NoRecipe name, ingredient, or keyword to search for
recipeIdstring-NoSpecific recipe ID (TheMealDB/Spoonacular) or AllRecipes URL
categorystring-NoRecipe category (e.g., Beef, Chicken, Dessert, Pasta, Seafood, Vegetarian)
cuisinestring-NoCuisine type (e.g., Italian, Mexican, Chinese, Indian, American)
maxResultsinteger10NoMaximum number of recipes to return
includeNutritionbooleanfalseNoFetch nutrition data when available (Spoonacular only)
spoonacularApiKeystring-Yes*Your Spoonacular API key for enhanced features. Get one at https://spoonacular.com/food-api
mealPlanDaysinteger7NoNumber of days for meal plan (Spoonacular only)
targetCaloriesinteger2000NoTarget calories per day for meal planning
dietstring""NoDietary restriction for filtering
demoModebooleantrueNoRun with sample data to test without making real API calls
webhookUrlstring-NoSend results to this webhook URL (Zapier, Make, n8n, or custom)
webhookPlatformstring"custom"NoWhich platform is receiving the webhook
webhookHeadersobject-NoOptional custom headers for webhook requests

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Recipe FoundEach recipe retrieved from any source$0.01

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal