{"uid":"cap_7wwiB9rtP2JzRpLHsJM9C","slug":"themealdb-recipe-search-via-x402-d0f9bafb","name":"TheMealDB Recipe Search via x402","description":"TheMealDB recipe/meal search (keyless). POST {s|q|name}. Unpaid empty → 402; after settle empty/invalid → 400 charged:false. New meal/recipe lane; cocktail-search soft swap only (do not mint cocktail).","url":"https://x402-v2-mint-mealdb-search.vercel.app/v1/mealdb-search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"q":{"type":"string","maxLength":128},"s":{"type":"string","maxLength":128},"name":{"type":"string","maxLength":128},"query":{"type":"string","maxLength":128},"request_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"mealdb-search","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020174","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.020174/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020174","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020174","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__4FcAAMtmSELl3QtndEcs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.020174","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches TheMealDB database for meal/recipe information by name or keyword, gated behind x402 micropayment.","exampleAgentPrompt":"Can you search TheMealDB for recipes with 'chicken tikka' and show me what comes up?","exampleUseCases":[{"title":"Weeknight dinner inspiration","prompt":"Search for pasta recipes on TheMealDB and tell me what meal options come up with ingredients."},{"title":"Ingredient-based meal discovery","prompt":"I have salmon at home — can you look up TheMealDB for salmon meal recipes and show me what I can make?"},{"title":"Traditional dish research","prompt":"Look up 'beef stroganoff' on TheMealDB so I can see the traditional recipe and ingredients."}],"resultDescription":"Returns a JSON object with ok:true, skill 'mealdb-search', charged:true/false, and a summary field. On success, includes meal/recipe data from TheMealDB such as meal names, ingredients, and cooking instructions. Returns 402 if payment is not settled; returns 400 with charged:false if query is empty or invalid after payment.","failureModes":["402 Payment Required: request not yet paid via x402 protocol, empty response body","400 Bad Request with charged:false: payment settled but query was empty or invalid","No results found: valid query but no matching meals in TheMealDB database","Request with cocktail search terms may return empty (cocktail-search not supported on this endpoint)","Network timeout or Vercel cold-start latency"],"whenToPreferThis":"Use this endpoint when you need to search for meal or food recipes by name or keyword and are operating in an x402 micropayment environment. Prefer this over manual web scraping of TheMealDB or alternatives when you need structured recipe data with predictable per-call pricing. Do NOT use this for cocktail or drink recipes — that use case is explicitly not supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:50:00.655Z","isFirstParty":false,"canonicalSlug":"themealdb-recipe-search-via-x402-d0f9bafb"}