{"info":{"name":"bon happetee Food API","description":"Indian food and nutrition data: search foods, then fetch nutrition, health-condition suitability and ingredients by food_item_id. Authenticate with your key in the x-api-key header.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"apikey","apikey":[{"key":"key","value":"x-api-key","type":"string"},{"key":"value","value":"{{apiKey}}","type":"string"},{"key":"in","value":"header","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://api.bonhappetee.com"},{"key":"apiKey","value":"YOUR_API_KEY"}],"item":[{"name":"Search","item":[{"name":"Search foods","request":{"method":"GET","description":"Search food items by name or keyword. Results are paginated and include each item's food_item_id, which the other endpoints take.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/search","host":["{{baseUrl}}"],"path":["search"],"query":[{"key":"value","value":"dosa","description":"Required. Food name or keyword to search for.","disabled":false},{"key":"limit","value":"","description":"Results per page.","disabled":true},{"key":"page","value":"1","description":"Page number, starting at 1.","disabled":true}]}}},{"name":"Search foods (v2)","request":{"method":"GET","description":"Same parameters and response as /search, backed by the newer search algorithm. To switch, change the path; nothing else in your integration changes.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/search/v2","host":["{{baseUrl}}"],"path":["search","v2"],"query":[{"key":"value","value":"dosa","description":"Required. Food name or keyword to search for.","disabled":false},{"key":"limit","value":"","description":"Results per page.","disabled":true},{"key":"page","value":"1","description":"Page number, starting at 1.","disabled":true}]}}}]},{"name":"Food","item":[{"name":"Food details","request":{"method":"GET","description":"Full nutrition profile for one food item: nutrients per serving, serving units, tags and suitability for health conditions.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/food","host":["{{baseUrl}}"],"path":["food"],"query":[{"key":"food_item_id","value":"","description":"Required. Unique ID of the food item, as returned by /search.","disabled":false}]}}},{"name":"Food basics","request":{"method":"GET","description":"A lighter version of /food with the core details only. Use it when you don't need the full nutrient breakdown.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/food/basic","host":["{{baseUrl}}"],"path":["food","basic"],"query":[{"key":"food_item_id","value":"","description":"Required. Unique ID of the food item, as returned by /search.","disabled":false}]}}},{"name":"Health conditions","request":{"method":"GET","description":"How suitable a food item is for specific health conditions, with a risk factor, the reason, and healthier alternatives for each condition.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/food/disorder","host":["{{baseUrl}}"],"path":["food","disorder"],"query":[{"key":"food_item_id","value":"","description":"Required. Unique ID of the food item, as returned by /search.","disabled":false}]}}}]},{"name":"Ingredients","item":[{"name":"Ingredients","request":{"method":"GET","description":"The ingredients that make up a food item, with each one's proportion and unit. Ingredients can contain nested sub-ingredients.","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/ingredients","host":["{{baseUrl}}"],"path":["ingredients"],"query":[{"key":"food_item_id","value":"","description":"Required. Unique ID of the food item, as returned by /search.","disabled":false}]}}}]}]}