{"uid":"cap_l-485kNeR93wR_vJSGnnq","slug":"usda-fooddata-central-food-search-2a706e44","name":"USDA FoodData Central Food Search","description":"Foods in USDA FoodData Central matching a name, each with its FDC id, serving size and calories, protein, fat and carbohydrate.","url":"https://fittings.sh/v1/usda/food-search","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":["query"],"properties":{"limit":{"type":"number","description":"1-50, default 10"},"query":{"type":"string","description":"Food name, e.g. cheddar cheese"},"dataType":{"type":"string","description":"Optional comma list of: Foundation, SR Legacy, Branded, Survey (FNDDS), Experimental"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00496","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.00496/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00496","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00496","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__WBzO9rMC8Tv69AtyT5GP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00496","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches USDA FoodData Central for foods by name and returns nutritional data including FDC ID, serving size, and macronutrients (calories, protein, fat, carbohydrates).","exampleAgentPrompt":"Can you look up the calories, protein, fat, and carbs for cheddar cheese in the USDA FoodData Central database and show me the top 5 results?","exampleUseCases":[{"title":"Macro tracking for meal planning","prompt":"I'm building a meal plan and need the macros for grilled salmon — can you pull the calories, protein, fat, and carbs from the USDA food database and give me the top 3 results?"},{"title":"Calorie lookup for restaurant ingredient","prompt":"What are the calories and macronutrients for mozzarella cheese according to the USDA FoodData Central? Show me up to 10 matches including branded products."},{"title":"Nutrition data for fitness app","prompt":"I need the serving size and nutritional breakdown — calories, protein, fat, carbs — for rolled oats from the USDA foundation foods database. Limit to 5 results."}],"resultDescription":"A list of matching foods from the USDA FoodData Central database, each containing the FDC ID, food name, serving size, and macronutrient values (calories, protein, fat, and carbohydrates). Results can be filtered by data type (Foundation, SR Legacy, Branded, Survey/FNDDS, Experimental) and limited to 1–50 items.","failureModes":["No results returned for obscure or misspelled food names","Branded food data may be incomplete or outdated","Query returns too many ambiguous results when search term is too broad","Invalid dataType filter value causes query failure","Limit parameter outside 1–50 range may cause an error"],"whenToPreferThis":"Use this endpoint when you need structured nutritional data (calories, protein, fat, carbs, serving size) for a food item by name, especially when you need USDA-authoritative data with FDC IDs for cross-referencing. Prefer this over generic nutrition APIs when you need data sourced directly from the USDA FoodData Central and need to filter by specific data types like Foundation or Branded foods.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:53:08.102Z","isFirstParty":false}