{"uid":"cap_2uZ0dX72bFXRj5NRd19c3","slug":"x402-data-bazaar-vercel-app-28fa15c9","name":"USDA FoodData Central Nutrition Search","description":"Search USDA FoodData Central for nutrition data -- calories, protein, fat, carbs, fiber, sugar, sodium, cholesterol per food. Query: ?query=chicken breast&limit=5. If query is omitted, defaults to `chicken breast`.","url":"https://x402-data-bazaar.vercel.app/api/nutrition/search","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"string","description":"Maximum results to return"},"query":{"type":"string","description":"Food search phrase"}}},"responseSchema":{"data":{"count":2,"foods":[{"calories":{"unit":"KCAL","value":144},"description":"Chicken breast, rotisserie, skin not eaten"},{"calories":{"unit":"kJ","value":1100},"description":"Chicken breast tenders, breaded, uncooked"}],"query":"chicken breast"},"source":"USDA FoodData Central","success":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CD70lcdB7arbd1R8t85OB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches USDA FoodData Central for nutrition facts (calories, protein, fat, carbs, fiber, sugar, sodium, cholesterol) for any food query","exampleAgentPrompt":"Look up nutrition facts for salmon from the USDA food database — calories, protein, fat, and carbs — and show me the top 3 results.","exampleUseCases":null,"resultDescription":"Returns a list of matching foods from USDA FoodData Central, each with per-food nutrient values including calories (with unit), and a count of total results matched, plus the echoed query string and a success flag.","failureModes":["Empty or missing query defaults to 'chicken breast' rather than returning an error","Limit parameter ignored or clamped if out of range","Food not found in USDA database returns empty foods array","Invalid limit string may cause unexpected behavior","Network timeout or Vercel cold-start delay on first request","Payment failure (x402) returns 402 before nutrition data is served"],"whenToPreferThis":"Use this endpoint when you need structured, government-sourced nutrition data for a specific food item — especially calories, macros, fiber, sugar, sodium, or cholesterol. Prefer this over generic web search when you need machine-readable nutritional values sourced from the USDA. Ideal for diet tracking, meal planning, recipe analysis, or health-focused applications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:49.958Z","isFirstParty":false}