Sign inTry it

Search TheMealDB recipes by meal name.

Searches TheMealDB meal database like its browse search page: meal name, link to the recipe and thumbnail image. Returns the meals shown on the first results page (up to 20). Returns an empty list when no meal matches.

No reports yetRead-only, no login
Site
TheMealDB, United States
Version
v1
Runs, last 7 days
No reports yet
sha256
0ef809e0b05e…

Run it with your agent

after installing Wield

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

“Search TheMealDB recipes by meal name.”

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

{
  "tool": "run",
  "arguments": {
    "recipe_id": "themealdb.com/search-articles",
    "params": {
      "query": "curry"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/browse/search/?sBrowse search page /browse/search/?s=<query>, read-only GET. Each meal is a div.col-sm-3 containing one link to /meal/<id>-<slug>, with the name as its text and the thumbnail in the img.

Parameters

from your agent
querystringrequiredName of a meal or the start of one, e.g. 'curry', 'pancakes', 'risotto'

Returns

to your agent
itemsobject[]image_url, title, url
querystring

Where it can send

  • www.themealdb.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.items) > `0`
  • length(output.items[?starts_with(url, 'https://www.themealdb.com/meal/')]) == length(output.items)
  • length(output.items[?title != `null`]) == length(output.items)

Raw recipe

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

Check it yourself
curl -s https://wield.run/api/v1/recipes/themealdb.com/search-articles | shasum -a 256
# 0ef809e0b05ea4c05a28b228ce00b29970508b2d19cd5d6ef7d9b68cc98525fd
themealdb.com/search-articles.json, v1
{
  "description": "Searches TheMealDB meal database like its browse search page: meal name, link to the recipe and thumbnail image. Returns the meals shown on the first results page (up to 20). Returns an empty list when no meal matches.",
  "effect": "read",
  "id": "themealdb.com/search-articles",
  "keywords": [
    "themealdb",
    "meals",
    "recipes",
    "rezepte",
    "food",
    "cooking",
    "kochen",
    "meal",
    "curry",
    "gerichte",
    "cookbook",
    "dishes",
    "kitchen",
    "themealdb.com"
  ],
  "output": {
    "schema": {
      "properties": {
        "items": {
          "items": {
            "properties": {
              "image_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "items"
      ],
      "type": "object"
    },
    "value": "{query: params.query, items: steps.search.meals[?name != `null` && href != `null`].{title: name, url: join('', ['https://www.themealdb.com', href]), image_url: (image && join('', ['https://www.themealdb.com', image])) || `null`}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Name of a meal or the start of one, e.g. 'curry', 'pancakes', 'risotto'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "One GET to /browse/search/?s=<query> (server-rendered HTML, 200). Meal tiles are div.col-sm-3 with one link to /meal/<id>-<slug>; the name is the link text and the thumbnail is the img src. Data comes from TheMealDB.",
    "recorded_at": "2026-11-08T17:05:00Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "themealdb.com",
    "language": "en",
    "name": "TheMealDB",
    "origin": "https://www.themealdb.com",
    "origins": [
      "https://www.themealdb.com"
    ]
  },
  "steps": [
    {
      "description": "Browse search page /browse/search/?s=<query>, read-only GET. Each meal is a div.col-sm-3 containing one link to /meal/<id>-<slug>, with the name as its text and the thumbnail in the img.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "meals": {
            "fields": {
              "href": {
                "attr": "href",
                "selector": "a[href^='/meal/']"
              },
              "image": {
                "attr": "src",
                "selector": "img"
              },
              "name": {
                "selector": "a[href^='/meal/']"
              }
            },
            "max": 60,
            "selector": "div.col-sm-3"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "s": "{{params.query}}"
        },
        "url": "/browse/search/"
      }
    }
  ],
  "task": "Search TheMealDB recipes by meal name",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.items) > `0`",
      "length(output.items[?starts_with(url, 'https://www.themealdb.com/meal/')]) == length(output.items)",
      "length(output.items[?title != `null`]) == length(output.items)"
    ],
    "example_params": {
      "query": "curry"
    },
    "max_ms": 5000
  },
  "version": 1
}