meal planning
Generate Meal Plan
Generate a meal plan with three meals per day (breakfast, lunch, and dinner).
get/mealplanner/generate
Request
- Base URLhttps://api.spoonacular.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
timeFramestring
Example:day
Either for one "day" or an entire "week".
targetCaloriesnumber
Example:2000
What is the caloric target for one day? The meal plan generator will try to get as close as possible to that goal.
dietstring
Example:vegetarian
Enter a diet that the meal plan has to adhere to. See a full list of supported diets.
excludestring
Example:shellfish, olives
A comma-separated list of allergens or ingredients that must be excluded.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.