recipes
Recipe Nutrition by ID Widget
Visualize a recipe's nutritional information as HTML including CSS.
get/recipes/{id}/nutritionWidget
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.
Path parameters
idnumber required
Example:1082038
The recipe id.
Query parameters
defaultCssboolean
Whether the default CSS should be added to the response.
Headers
Accept'application/json' | 'text/html' | 'media/*'
Example:application/json
Accept header.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.