Sign inTry it

Search Allrecipes for recipes.

Searches Allrecipes like its search page: recipe title, number of ratings, photo and link, in the site's order. Articles and collections in the results are skipped.

No reports yetRead-only, no login
Site
Allrecipes, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
4b643f68852f…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search Allrecipes for recipes.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "allrecipes.com/search-recipes",
    "params": {
      "query": "lasagna"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/search?qThe search results page (server-rendered cards).

Parameters

from your agent
querystringrequiredDish or ingredients, e.g. 'lasagna', 'chicken thighs', 'banana bread'

Returns

to your agent
querystring
recipesobject[]image, ratings_count, title, url

Where it can send

  • www.allrecipes.com

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.recipes) > `10`
  • length(output.recipes[?ratings_count > `0`]) > `5`
  • length(output.recipes[?contains(title, 'Lasagna') || contains(title, 'lasagna')]) > `5`
  • length(output.recipes[?starts_with(url, 'https://www.allrecipes.com/recipe/')]) == length(output.recipes)

Raw recipe

Served as canonical JSON from /api/v1/recipes/allrecipes.com/search-recipes, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/allrecipes.com/search-recipes | shasum -a 256
# 4b643f68852faa01bc7082db5c3a33d7080e37a84509649f0eeaf00f86a0cead
allrecipes.com/search-recipes.json, v1
{
  "description": "Searches Allrecipes like its search page: recipe title, number of ratings, photo and link, in the site's order. Articles and collections in the results are skipped.",
  "effect": "read",
  "id": "allrecipes.com/search-recipes",
  "keywords": [
    "allrecipes",
    "recipes",
    "recipe",
    "cooking",
    "dinner",
    "baking",
    "lasagna",
    "chicken",
    "how to cook",
    "food",
    "usa"
  ],
  "output": {
    "schema": {
      "properties": {
        "query": {
          "type": "string"
        },
        "recipes": {
          "items": {
            "properties": {
              "image": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "ratings_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "query",
        "recipes"
      ],
      "type": "object"
    },
    "value": "{query: params.query, recipes: steps.search.cards[?title != `null` && contains(href, '/recipe/')].{title: title, ratings_count: ratings && to_number(replace(split(ratings, ' ')[0], ',', '')) || `null`, image: image || `null`, url: href}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Dish or ingredients, e.g. 'lasagna', 'chicken thighs', 'banana bread'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "browser-inspect",
    "notes": "GET /search?q=…: server-rendered a.mntl-card-list-card--extendable cards (.card__title-text, .mntl-recipe-card-meta__rating-count-number '769 Ratings', img.card__img[data-src]). Only /recipe/ links are kept (articles and galleries are skipped). The star value is drawn as icons only, so it is not returned. Allrecipes answers servers 403, so this runs in the user's browser. A search without results answers HTTP 404 with a search-results__no-results block and no cards: accepted and returned as an empty list.",
    "recorded_at": "2026-11-07T22:43:00+01:00",
    "recorded_by": "C4"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "allrecipes.com",
    "language": "en",
    "name": "Allrecipes",
    "origin": "https://www.allrecipes.com",
    "origins": [
      "https://www.allrecipes.com"
    ]
  },
  "steps": [
    {
      "description": "The search results page (server-rendered cards).",
      "expect": {
        "assert": "status == `200` || contains(body, 'search-results__no-results')",
        "content_type": "html",
        "status": [
          200,
          404
        ]
      },
      "extract": {
        "html_items": {
          "cards": {
            "fields": {
              "href": {
                "attr": "href",
                "selector": ":scope"
              },
              "image": {
                "attr": "data-src",
                "selector": "img.card__img"
              },
              "ratings": {
                "selector": ".mntl-recipe-card-meta__rating-count-number"
              },
              "title": {
                "selector": ".card__title-text"
              }
            },
            "max": 48,
            "selector": "a.mntl-card-list-card--extendable[href]"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "q": "{{params.query}}"
        },
        "url": "/search"
      }
    }
  ],
  "task": "Search Allrecipes for recipes",
  "tos": {
    "notes": "Allrecipes' robots.txt disallows Claude-User (AI agents acting for users), Claude-Web, ClaudeBot, Claude-SearchBot and anthropic-ai on all paths. Wield runs this recipe only when the user asks, in the user's own browser, one search page per call: no recipe pages, no bulk collection.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.recipes) > `10`",
      "length(output.recipes[?ratings_count > `0`]) > `5`",
      "length(output.recipes[?contains(title, 'Lasagna') || contains(title, 'lasagna')]) > `5`",
      "length(output.recipes[?starts_with(url, 'https://www.allrecipes.com/recipe/')]) == length(output.recipes)"
    ],
    "example_params": {
      "query": "lasagna"
    },
    "max_ms": 5000
  },
  "version": 1
}