Sign In Chef

By signing up, you agree to our Terms and Privacy Policy.
Sign In with Facebook Sign In with Twitter Sign In with Google Sign In with Windows
OR

No account yet? Sign up.

Forgot your password?

×

$10 Hackathon / University Sign Up

Please get a username on mashape.com before sending this form.
You can get up to 5,000 requests per day on a hackathon or academic plan for $10. Please read the details of the plan when you get your invitation.
Your name: Your email (for academic access, please use your University Email): School or Hackathon Name (or Link): Mashape Username (sign up at mashape.com before sending this form): What are you going to build (at least 150 characters): Access needed until (extension after 3 month can be arranged):
Please like this page before requesting access.
We are a small team and check every request manually. If your request is granted it may take up to 72 hours for us to get back to you.
request access
×

Show Images

Ingredients

Endpoints like the ingredient autosuggestion will only give you an image name. You have to build the full URL by prepending the base path. The base path for ingredient images https://spoonacular.com/cdn/ingredients_{SIZE}/, where {SIZE} is one of the following:

So for "apple.jpg" the full path for 100x100 is https://spoonacular.com/cdn/ingredients_100x100/apple.jpg

Cooking Equipment

The recipe instruction endpoint will give you information about the equipment used for cooking the dish. You will only receive the image name. You have to build the full URL by prepending the base path. The base path for equipment images https://spoonacular.com/cdn/equipment_{SIZE}/, where {SIZE} is one of the following:

So for "slow-cooker.jpg" the full path for 100x100 is https://spoonacular.com/cdn/ingredients_100x100/slow-cooker.jpg

Recipes

Recipe endpoints will almost always give you a recipe id. With that and the imageType you can build the complete image paths depending on your needs.

The base path for image URLs is https://spoonacular.com/recipeImages/. Once you know the recipe id {ID} and image type {TYPE}, you can complete that path to show an image. The complete path follows this pattern https://spoonacular.com/recipeImages/{ID}-{SIZE}.{TYPE}, where {SIZE} is one of the following:

A complete image path might look like this: https://spoonacular.com/recipeImages/579247-556x370.jpg

Or this: https://spoonacular.com/recipeImages/579247-90x90.jpg