{"uid":"cap_rYUGE5gCqRNBGaDw5dVFD","slug":"x402-food-search-api-d7f67c22","name":"x402 Food Search API","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/food/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Requires a food name text string"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_54tPyrTc3QpbC39wmf0Ae","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for food items by name and retrieve structured nutritional or price data, paid per-call via x402 micropayment protocol","exampleAgentPrompt":"Can you look up data for 'quinoa' from the food search API and return the name and price_usd fields?","exampleUseCases":[{"title":"Ingredient price lookup for recipe costing","prompt":"What's the price of salmon? Just return the name and price_usd fields."},{"title":"Food database query for nutrition app","prompt":"Search for 'avocado' in the food database and give me all the available fields you can find."},{"title":"Grocery item data retrieval","prompt":"Look up 'Greek yogurt' in the food search and return the name and price_usd so I can compare it to what I'm paying at the store."}],"resultDescription":"A JSON object containing food item data matching the query, with fields filtered to the requested subset if the 'fields' parameter is provided (e.g. name, price_usd). Returns structured food information for the matched item.","failureModes":["Missing required 'q' parameter returns an error","No matching food found returns empty or null result","Invalid field names in 'fields' parameter may return partial or empty field data","Payment failure via x402 results in 402 Payment Required response","Service unavailable on Render free tier due to cold start or downtime"],"whenToPreferThis":"Use this endpoint when you need quick, pay-per-call food item lookups without a subscription, especially when integrating micropayment-native workflows via x402 on Base or Solana. Ideal for agents that need occasional food data lookups at low cost ($0.005 USDC) rather than maintaining a paid subscription to a full nutrition database API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:35.514Z","isFirstParty":false,"canonicalSlug":"x402-food-search-api-d7f67c22"}