Get Similar Recipes

GET
/v1beta/feed?type=related&itemId=:recipeId

Find recipes which are similar to the given one.

Fetching similar recipes implemented on top of Feed API where client requests related type

By default only Recipe content type is returned, however in future the support will be added to other returned types, such as Products, Featured groups of recipes, etc.

This will be controlled by allowedTypes parameter

Parameters

ATTRIBUTETYPEDESCRIPTION
limitinteger

This is the maximum number of objects that may be returned

Default value: 16
beforestring

This is the cursor to return data on a page before it.

afterstring

This is the cursor to return data from a next page.

idstring

Feed identifier

userIdstring

Whisk user identifier, allows considering user settings (e.g. diets and allergies) in feed result.

countrystring

Country in ISO 3166-1 alpha-2 format e.g. GB, US, ...

Default value: GB
languagestring

Language in ISO 639-1 format e.g. en, it, de ...

Default value: en
allowedContentarray

List of feed types

Possible values: recipe, link, group.
Default value: recipe
labelsarray [string]
excludeIngredientsarray [string]

recipes should not have any of these ingredients

filterKeystring

Filter by a group allows to get items related to specific group. Example: category::quick-and-easy

tagsarray

List of feed recommendation tags

Possible values: easyDinners, dinners, trending, healthy.
fieldsarray [string]

Extra fields to return on recipe

Sample Request

curl "https://graph.whisk.com/v1beta/feed?type=related&itemId=9773cb7eca5d11e7ae7e42010a9a0035&limit=3" \ -H "Accept: application/json" \ -H "Authorization: Token <Access-Token>"

Response

See Feed API response documentation