Search recipes
search_recipesSearch BBC Good Food recipes by dish, ingredient, or technique. Filter by diet, cuisine, meal type, difficulty, time, rating, calories, servings to find matching recipe pages.
Instructions
Search recipes on BBC Good Food and return a listing. Narrow it with 'diet', 'cuisine', 'meal_type', 'difficulty' or a bound such as 'max_total_minutes'; call list_filters first for the values each one takes, since the site answers a value it does not know with a count of zero. The site ranks rather than filters: it answers a term it holds nothing for with rows all the same, so read the titles rather than trusting the count. Each row carries the page to read the recipe on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diet | No | A value list_filters publishes. | |
| page | No | Which page of rows. Default 1. | |
| sort | No | How the site orders the rows. Default 'relevant'. | |
| limit | No | Rows to return. Default 30. | |
| query | Yes | A dish, an ingredient, a technique. | |
| cuisine | No | A value list_filters publishes. | |
| meal_type | No | A value list_filters publishes. | |
| difficulty | No | A value list_filters publishes. | |
| min_rating | No | At least this many stars, 1 to 5. | |
| max_calories | No | Per serving. | |
| min_servings | No | At least this many servings. | |
| exclude_premium | No | Drop the rows that sit behind the site's subscription. The site offers no such restriction, so the rows are removed from the page after it arrives: a page comes back shorter than the limit asked for, and a short page is not the end of the results. | |
| max_total_minutes | No | Whole recipe, minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| query | Yes | ||
| source | Yes | ||
| results | Yes | ||
| rows_seen | Yes | Rows the site served, before anything was set aside. | |
| result_count | Yes | Rows rendered, after anything unreadable was set aside. | |
| premium_dropped | Yes | Rows removed from this page for sitting behind the site's subscription. | |
| total_available | Yes | Recipes the site says the search holds. | |
| total_is_ceiling | Yes | True when the total sits on the most rows one search will serve, so it states a floor. | |
| restrictions_lifted | Yes | Restrictions let go of so the search could run again after the restricted one returned nothing. |