v1

latestSwagger 2.02026-07-13665689.1 KB
Recipe

Search for recipes. There are many parameters that you can apply. Starting with the most common, use title_kw to search within a title. Use any_kw to search across the entire recipe. If you'd like to limit by course, set the parameter "include_primarycat" to one of (appetizers,bread,breakfast,dessert,drinks,maindish,salad,sidedish,soup,marinades,other). If you'd like to exclude a category, set exclude_cat to one or more (comma-separated) list of those categories to exclude. If you'd like to include a category, set include_cat to one or more (comma-separated) of those categories to include. To explicitly include an ingredient in your search, set the parameter "include_ing" to a CSV of up to three ingredients, e.g.:include_ing=mustard,chicken,beef%20tips To explicitly exclude an ingredient in your search, set the parameter "exclude_ing" to a CSV of up to three ingredients. All searches must contain the paging parameters pg and rpp, which are integers, and represent the page number (1-based) and results per page (rpp). So, to get the third page of a result set paged with 25 recipes per page, you'd pass pg=3&rpp=25 If you'd like to target searches to just a single target user's recipes, set userId=the target userId (number). Or, you can set username=theirusername vtn;vgn;chs;glf;ntf;dyf;sff;slf;tnf;wmf;rmf;cps cuisine photos filter=added,try,favorites,myrecipes\r\n\r\n folder=FolderNameCaseSensitive coll=ID of Collection

get/recipes

Query parameters

any_kwstring

Search anywhere in the recipe for the keyword

folderstring

Search in a specific folder name for the authenticated user

collinteger

Limit to a collection ID number

filterstring

optionally set to either "myrecipes", "try", "favorites","added" to filter to just the authenticated user's recipe set

title_kwstring

Search just in the recipe title for the keyword

userIdinteger

Set the target userid to search their public recipes

usernamestring

Set the target username to search their public recipes

tokenstring
photosboolean

if set to true, limit search results to photos only

boostmineboolean

if set to true, boost my own recipes in my folders so they show up high in the list (at the expense of other sort orders)

include_catstring

integer of the subcategory you'd like to limit searches to (see the /recipe/categories endpoint for available id numbers). For instance, 58 is "Main Dish > Casseroles".

exclude_catstring

like include_cat, set this to an integer to exclude a specific category

include_primarycatstring

csv indicating up to three top-level categories -- valid values are [appetizers,bread,breakfast,desserts,drinks,maindish,salads,sidedish,soups,marinades,other]

exclude_primarycatstring

csv indicating integer values for up to 3 top-level categories -- valid values are 1...11 [appetizers,bread,breakfast,desserts,drinks,maindish,salads,sidedish,soups,marinades,other]

include_ingstring

A CSV representing up to 3 ingredients to include, e.g., tomatoes,corn%20%starch,chicken

exclude_ingstring

A CSV representing up to 3 ingredients to exclude (Powersearch-capable plan required)

cuisinestring

Limit to a specific cuisine. Cooks can enter anything free-form, but the few dozen preconfigured values are Afghan,African,American,American-South,Asian,Australian,Brazilian,Cajun,Canadian,Caribbean,Chinese,Croatian,Cuban,Dessert,Eastern European,English,French,German,Greek,Hawaiian,Hungarian,India,Indian,Irish,Italian,Japanese,Jewish,Korean,Latin,Mediterranean,Mexican,Middle Eastern,Moroccan,Polish,Russian,Scandanavian,Seafood,Southern,Southwestern,Spanish,Tex-Mex,Thai,Vegan,Vegetarian,Vietnamese

dbstring
usersetstring

If set to a given username, it'll force the search to filter to just that username

servingsMinnumber double

Limit to yield of a given number size or greater. Note that cooks usually enter recipes by Servings, but sometimes they are posted by "dozen", etc. This parameter simply specifies the minimum number for that value entered in "yield."

totalMinsinteger

Optional. If supplied, will restrict results to recipes that can be made in {totalMins} or less. (Convert "1 hour, 15 minutes" to 75 before passing in.)

maxIngredientsinteger

Optional. If supplied, will restrict results to recipes that can be made with {maxIngredients} ingredients or less

minIngredientsinteger

Optional. If supplied, will restrict results to recipes that have at least {minIngredients}

rppinteger

integer; results per page

pginteger

integer: the page number

vtninteger

when set to 1, limit to vegetarian (Powersearch-capable plan required)

vgninteger

when set to 1, limit to vegan (Powersearch-capable plan required)

chsinteger

when set to 1, limit to contains-cheese (Powersearch-capable plan required)

glfinteger

when set to 1, limit to gluten-free (Powersearch-capable plan required)

ntfinteger

when set to 1, limit to nut-free (Powersearch-capable plan required)

dyfinteger

when set to 1, limit to dairy-free (Powersearch-capable plan required)

sffinteger

when set to 1, limit to seafood-free (Powersearch-capable plan required)

slfinteger

when set to 1, limit to shellfish-free (Powersearch-capable plan required)

tnfinteger

when set to 1, limit to tree-nut free (Powersearch-capable plan required)

wmfinteger

when set to 1, limit to white-meat free (Powersearch-capable plan required)

rmfinteger

when set to 1, limit to red-meat free (Powersearch-capable plan required)

cpsinteger

when set to 1, recipe contains pasta, set to 0 means contains no pasta (Powersearch-capable plan required)

championinteger

optional. When set to 1, this will limit search results to "best of" recipes as determined by various internal editorial and programmatic algorithms. For the most comprehensive results, don't include this parameter.

synonymsboolean

optional, default is false. When set to true, BigOven will attempt to apply synonyms in search (e.g., excluding pork will also exclude bacon)

Response

OK

ResultCountinteger
SpellSuggeststring