{"slug":"2s-io-api-nutrition-food-38cfd3","title":"USDA FoodData Central nutrition lookup","host":"2s.io","method":"GET","resource":"https://2s.io/api/nutrition/food","category":"search","description":"USDA FoodData Central nutrition lookup. Two modes: search (query=cheddar cheese) returns matching foods with fdcId, description, data type, category, and brand; detail (fdcId=328637) returns the full analyzed nutrient profile — energy, protein, fats, carbohydrates, vitamins, minerals — with USDA nut","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":251,"reported_calls_30d":7,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"dataType":"Foundation","limit":5,"query":"cheddar cheese"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"method":{"const":"GET"},"queryParams":{"properties":{"dataType":{"description":"Restrict search to one FDC data type.","enum":["Foundation","SR Legacy","Survey (FNDDS)","Branded"],"type":"string"},"fdcId":{"description":"FDC food id for full nutrient detail (XOR with query).","type":"integer"},"limit":{"default":10,"maximum":50,"minimum":1,"type":"integer"},"page":{"default":1,"minimum":1,"type":"integer"},"query":{"description":"Food name to search (XOR with fdcId).","type":"string"}}},"type":{"const":"http"}},"required":["type","method","queryParams"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":251,"error":null}],"description_full":"USDA FoodData Central nutrition lookup. Two modes: search (query=cheddar cheese) returns matching foods with fdcId, description, data type, category, and brand; detail (fdcId=328637) returns the full analyzed nutrient profile — energy, protein, fats, carbohydrates, vitamins, minerals — with USDA nutrient numbers, amounts, and units (per 100 g/ml unless serving fields indicate otherwise), plus ingredients for branded foods. Filter search by dataType: Foundation and SR Legacy are lab-analyzed generic foods, Branded is the packaged-food label corpus, Survey (FNDDS) is as-consumed dishes. Authoritative USDA data covering ~400k foods — use real analyzed values instead of model-estimated nutrition facts.","last_updated":"2026-09-02T21:01:26.511Z","schemes":["exact"]}