# Get Similar Recipes

| GET | `/v1/feed?type=related&itemId=:recipeId` |
| --- | ---------------------------------------- |

Find recipes that are similar to the given one.\
\
Fetching similar recipes implemented on top of [Feed API](https://docs.whisk.com/master/api/recipe-discovery/recipe-feed) where the client requests related type

By default only Recipe content type is returned, however, in the 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

| ATTRIBUTE          | TYPE            | DESCRIPTION                                                                                             |
| ------------------ | --------------- | ------------------------------------------------------------------------------------------------------- |
| limit              | integer         | <p>This is the maximum number of objects that may be returned</p><p>Default value: 16</p>               |
| before             | string          | This is the cursor to return data on a page before it.                                                  |
| after              | string          | This is the cursor to return data from a next page.                                                     |
| id                 | string          | Feed identifier                                                                                         |
| country            | string          | <p>Country in ISO 3166-1 alpha-2 format e.g. GB, US, ...</p><p>Default value: GB</p>                    |
| language           | string          | <p>Language in ISO 639-1 format e.g. en, it, de ...</p><p>Default value: en</p>                         |
| allowedContent     | array           | <p>List of feed types</p><p>Possible values: recipe, link, group.</p><p>Default value: recipe</p>       |
| labels             | array \[string] | [how to use labels](https://docs.whisk.com/master/resources/recipe-labels)                              |
| excludeIngredients | array \[string] | recipes should not have any of these ingredients                                                        |
| filterKey          | string          | Filter by a group allows to get items related to specific group. Example: category::quick-and-easy      |
| tags               | array           | <p>List of feed recommendation tags</p><p>Possible values: easyDinners, dinners, trending, healthy.</p> |
| fields             | array \[string] | Extra fields to return on recipe                                                                        |

### Sample Request

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

### Response

See [Recipe Feed response](https://docs.whisk.com/master/api/recipe-feed#feedresponse) documentation
