{"info":{"_postman_id":"1c227e22-69bc-444b-a242-0ae67c950592","name":"DietlyAPI — Food Search & Barcode API","description":"<html><head></head><body><p>DietlyAPI helps developers add food search, nutrition data and barcode lookup to their applications.</p>\n<p>The API provides:</p>\n<ul>\n<li>4.2M+ indexed foods from a worldwide catalog</li>\n<li>Fuzzy food search with relevance- and confidence-aware ranking</li>\n<li>EAN-13 and UPC-A barcode lookup</li>\n<li>Stable food IDs and normalized nutrition fields</li>\n<li>Source and confidence metadata</li>\n</ul>\n<p>DietlyAPI is built primarily on Open Food Facts data under the Open Database License (ODbL). Catalog coverage is worldwide, although product availability and field completeness vary by country and product.</p>\n<p>Starter access works without an API key and is limited per IP with a small fairness delay. Paid plans use an X-API-Key header and account-level limits. Never publish a real API key.</p>\n<ul>\n<li>Product: <a href=\"https://www.getdietly.com/api\">https://www.getdietly.com/api</a></li>\n<li>Integration guide: <a href=\"https://www.getdietly.com/api-guide\">https://www.getdietly.com/api-guide</a></li>\n<li>Uptime: <a href=\"https://www.getdietly.com/uptime\">https://www.getdietly.com/uptime</a></li>\n<li>Support: <a href=\"https://www.getdietly.com/support?topic=api\">https://www.getdietly.com/support?topic=api</a></li>\n</ul>\n<p>Performance:</p>\n<p>Indexed search typically processes in under 10 ms at origin, though occasional spikes can occur. End-to-end latency varies by location, load, and plan. Starter requests include a 350 ms fairness delay.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"56715991","collectionId":"1c227e22-69bc-444b-a242-0ae67c950592","publishedId":"2sBY4PNfRc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-18T17:07:37.000Z"},"item":[{"name":"search","item":[{"name":"Search foods","id":"8ab97431-282d-43ed-96a7-da34f05c1f29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/search?q=greek yogurt&limit=5","description":"<p>Search the worldwide Dietly food catalog by food name or brand. Results use fuzzy matching and relevance- and confidence-aware ranking.</p>\n<p>Indexed search typically processes in under 10 ms at origin, though occasional spikes can occur. End-to-end latency varies by location, load, and plan. Starter requests include a 350 ms fairness delay.</p>\n<p>This request works without an API key. Search returns a bare JSON array. An empty array is normal. Omit <code>source</code> to search all available sources.</p>\n","urlObject":{"path":["search"],"host":["https://api.getdietly.com"],"query":[{"description":{"content":"<p>Food name or brand</p>\n","type":"text/plain"},"key":"q","value":"greek yogurt"},{"description":{"content":"<p>Maximum results</p>\n","type":"text/plain"},"key":"limit","value":"5"},{"disabled":true,"description":{"content":"<p>Optional source filter; disabled by default</p>\n","type":"text/plain"},"key":"source","value":"off"}],"variable":[]}},"response":[{"id":"67e94c01-bae4-4298-862a-70f892444f38","name":"Greek yogurt search results","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.getdietly.com/search?q=greek yogurt&limit=5","host":["https://api.getdietly.com"],"path":["search"],"query":[{"key":"q","value":"greek yogurt","description":"Food name or brand"},{"key":"limit","value":"5","description":"Maximum results"},{"key":"source","value":"off","description":"Optional source filter; disabled by default","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\":  1068319,\r\n        \"name\":  \"Greek yogurt\",\r\n        \"brand\":  null,\r\n        \"barcode\":  \"0855088005245\",\r\n        \"category\":  \"Dairies\",\r\n        \"serving_size_g\":  170.0,\r\n        \"serving_desc\":  \"3/4 cup (170 g)\",\r\n        \"calories_kcal\":  105.88235294118,\r\n        \"protein_g\":  7.6470588235294,\r\n        \"fat_g\":  3.5294117647059,\r\n        \"carbs_g\":  12.352941176471,\r\n        \"fiber_g\":  0.0,\r\n        \"sugar_g\":  10.0,\r\n        \"sodium_mg\":  44.117647058824,\r\n        \"saturated_fat_g\":  2.3529411764706,\r\n        \"cholesterol_mg\":  18.0,\r\n        \"potassium_mg\":  112.0,\r\n        \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.400.jpg\",\r\n        \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.200.jpg\",\r\n        \"source\":  \"off\",\r\n        \"confidence\":  0.9,\r\n        \"static_url\":  \"food/19/greek-yogurt-2.html\"\r\n    },\r\n    {\r\n        \"id\":  157704,\r\n        \"name\":  \"5% Greek yogurt\",\r\n        \"brand\":  null,\r\n        \"barcode\":  \"0036416263951\",\r\n        \"category\":  null,\r\n        \"serving_size_g\":  null,\r\n        \"serving_desc\":  null,\r\n        \"calories_kcal\":  94.0,\r\n        \"protein_g\":  7.8,\r\n        \"fat_g\":  5.0,\r\n        \"carbs_g\":  4.5,\r\n        \"fiber_g\":  null,\r\n        \"sugar_g\":  4.2,\r\n        \"sodium_mg\":  0.059,\r\n        \"saturated_fat_g\":  3.6,\r\n        \"cholesterol_mg\":  null,\r\n        \"potassium_mg\":  null,\r\n        \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F003%2F641%2F626%2F3951%2Ffront_en.3.400.jpg\",\r\n        \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F003%2F641%2F626%2F3951%2Ffront_en.3.200.jpg\",\r\n        \"source\":  \"off\",\r\n        \"confidence\":  0.9,\r\n        \"static_url\":  null\r\n    },\r\n    {\r\n        \"id\":  467986,\r\n        \"name\":  \"GREEK YOGURT FIG\",\r\n        \"brand\":  \"TRADER JOE\\u0027S\",\r\n        \"barcode\":  \"00832113\",\r\n        \"category\":  null,\r\n        \"serving_size_g\":  150.0,\r\n        \"serving_desc\":  \"1 portion (150 g)\",\r\n        \"calories_kcal\":  126.666666666667,\r\n        \"protein_g\":  7.33333333333333,\r\n        \"fat_g\":  4.0,\r\n        \"carbs_g\":  15.3333333333333,\r\n        \"fiber_g\":  0.666666666666667,\r\n        \"sugar_g\":  12.6666666666667,\r\n        \"sodium_mg\":  36.6666666666667,\r\n        \"saturated_fat_g\":  2.66666666666667,\r\n        \"cholesterol_mg\":  16.6666666666667,\r\n        \"potassium_mg\":  null,\r\n        \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F000%2F000%2F083%2F2113%2Ffront_en.16.400.jpg\",\r\n        \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F000%2F000%2F083%2F2113%2Ffront_en.16.200.jpg\",\r\n        \"source\":  \"off\",\r\n        \"confidence\":  0.9,\r\n        \"static_url\":  \"food/86/greek-yogurt-fig-trader-joe-s.html\"\r\n    },\r\n    {\r\n        \"id\":  1062962,\r\n        \"name\":  \"Greek Yogurt Bars\",\r\n        \"brand\":  \"Clio\",\r\n        \"barcode\":  \"0854021008527\",\r\n        \"category\":  \"Yogurt-bar\",\r\n        \"serving_size_g\":  45.0,\r\n        \"serving_desc\":  \"45.0g\",\r\n        \"calories_kcal\":  333.333333333333,\r\n        \"protein_g\":  15.5555555555556,\r\n        \"fat_g\":  15.5555555555556,\r\n        \"carbs_g\":  33.3333333333333,\r\n        \"fiber_g\":  null,\r\n        \"sugar_g\":  26.6666666666667,\r\n        \"sodium_mg\":  null,\r\n        \"saturated_fat_g\":  11.1111111111111,\r\n        \"cholesterol_mg\":  null,\r\n        \"potassium_mg\":  null,\r\n        \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F402%2F100%2F8527%2Ffront_en.3.400.jpg\",\r\n        \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F402%2F100%2F8527%2Ffront_en.3.200.jpg\",\r\n        \"source\":  \"off\",\r\n        \"confidence\":  0.9,\r\n        \"static_url\":  null\r\n    },\r\n    {\r\n        \"id\":  536808,\r\n        \"name\":  \"Greek Yogurt Plain\",\r\n        \"brand\":  \"bettergoods\",\r\n        \"barcode\":  \"0194346193974\",\r\n        \"category\":  \"Dairies\",\r\n        \"serving_size_g\":  170.0,\r\n        \"serving_desc\":  \"0.75 cup (170 g)\",\r\n        \"calories_kcal\":  82.3529411764706,\r\n        \"protein_g\":  9.41176470588235,\r\n        \"fat_g\":  4.70588235294118,\r\n        \"carbs_g\":  4.70588235294118,\r\n        \"fiber_g\":  0.588235294117647,\r\n        \"sugar_g\":  3.52941176470588,\r\n        \"sodium_mg\":  32.3529411764706,\r\n        \"saturated_fat_g\":  2.94117647058824,\r\n        \"cholesterol_mg\":  23.5294117647059,\r\n        \"potassium_mg\":  141.176470588235,\r\n        \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F019%2F434%2F619%2F3974%2Ffront_en.84.400.jpg\",\r\n        \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F019%2F434%2F619%2F3974%2Ffront_en.84.200.jpg\",\r\n        \"source\":  \"off\",\r\n        \"confidence\":  0.9,\r\n        \"static_url\":  \"food/08/greek-yogurt-plain-bettergoods.html\"\r\n    }\r\n]"},{"id":"8f70b8c0-ae96-46be-95b3-ac655e72357b","name":"Rate limit exceeded. Check the Retry-After and X-RateLimit-* headers.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/search?q=greek yogurt&limit=10&source=claude","host":["https://api.getdietly.com"],"path":["search"],"query":[{"description":"Search term (min 2 characters)","key":"q","value":"greek yogurt"},{"key":"limit","value":"10"},{"description":"Filter by data source","key":"source","value":"claude"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"Seconds to wait before retrying","type":"text/plain"},"key":"Retry-After","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Limit","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Remaining","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Reset","value":"4184"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8ab97431-282d-43ed-96a7-da34f05c1f29"}],"id":"68fbf993-ab8b-489c-b958-f74f8d5754b3","description":"<p>Search the worldwide Dietly food catalog by food name or brand.</p>\n<p>This request works without an API key. Search returns a bare JSON array, not an object containing a “results” property. An empty array is a normal response when no suitable match exists.</p>\n","_postman_id":"68fbf993-ab8b-489c-b958-f74f8d5754b3"},{"name":"food","item":[{"name":"{food_id}","item":[{"name":"Get a food by ID","id":"93ffbca8-a628-4a33-aeb9-04da05e6fffd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/food/1068319","description":"<p>Retrieve an existing food using its stable Dietly food ID.</p>\n","urlObject":{"path":["food","1068319"],"host":["https://api.getdietly.com"],"query":[],"variable":[{"type":"any","value":"764444","key":"food_id"}]}},"response":[{"id":"33c506cd-a17d-4981-885a-6c07e83b6699","name":"Greek yogurt food record","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.getdietly.com/food/1068319","host":["https://api.getdietly.com"],"path":["food","1068319"],"variable":[{"key":"food_id","value":"764444"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":  1068319,\r\n    \"name\":  \"Greek yogurt\",\r\n    \"brand\":  null,\r\n    \"barcode\":  \"0855088005245\",\r\n    \"category\":  \"Dairies\",\r\n    \"serving_size_g\":  170.0,\r\n    \"serving_desc\":  \"3/4 cup (170 g)\",\r\n    \"calories_kcal\":  105.88235294118,\r\n    \"protein_g\":  7.6470588235294,\r\n    \"fat_g\":  3.5294117647059,\r\n    \"carbs_g\":  12.352941176471,\r\n    \"fiber_g\":  0.0,\r\n    \"sugar_g\":  10.0,\r\n    \"sodium_mg\":  44.117647058824,\r\n    \"saturated_fat_g\":  2.3529411764706,\r\n    \"cholesterol_mg\":  18.0,\r\n    \"potassium_mg\":  112.0,\r\n    \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.400.jpg\",\r\n    \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.200.jpg\",\r\n    \"source\":  \"off\",\r\n    \"confidence\":  0.9,\r\n    \"static_url\":  \"food/19/greek-yogurt-2.html\"\r\n}"},{"id":"3926fa6f-f9ee-484b-8fad-6c4d464177f4","name":"Food not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/food/:food_id","host":["https://api.getdietly.com"],"path":["food",":food_id"],"variable":[{"key":"food_id","value":"764444"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b346768f-c1b3-4562-ab18-ed5dda0aa1b0","name":"Rate limit exceeded. Check the Retry-After and X-RateLimit-* headers.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/food/:food_id","host":["https://api.getdietly.com"],"path":["food",":food_id"],"variable":[{"key":"food_id","value":"764444"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"Seconds to wait before retrying","type":"text/plain"},"key":"Retry-After","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Limit","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Remaining","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Reset","value":"4184"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"93ffbca8-a628-4a33-aeb9-04da05e6fffd"}],"id":"4690a78e-0251-4ba7-a8b1-8027a4acc948","_postman_id":"4690a78e-0251-4ba7-a8b1-8027a4acc948","description":""}],"id":"8dce609f-98d6-4341-9bdc-1645466f80bc","_postman_id":"8dce609f-98d6-4341-9bdc-1645466f80bc","description":""},{"name":"barcode","item":[{"name":"{code}","item":[{"name":"Look up a food by barcode","id":"43f15b0e-96e3-49ef-9318-8ecae3f92669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/barcode/0855088005245","description":"<p>Look up a food by EAN-13 or UPC-A barcode.</p>\n<p>Retrieve a food using an EAN or UPC barcode.</p>\n<p>A 404 response is a normal scan-miss state and means the barcode is not currently present in the catalog.</p>\n","urlObject":{"path":["barcode","0855088005245"],"host":["https://api.getdietly.com"],"query":[],"variable":[{"type":"any","value":"0643126971962","key":"code"}]}},"response":[{"id":"06a5e88d-694f-4bad-a2da-ddb824b30d7c","name":"Greek yogurt barcode match","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.getdietly.com/barcode/0855088005245","host":["https://api.getdietly.com"],"path":["barcode","0855088005245"],"variable":[{"key":"code","value":"0643126971962"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\":  1068319,\r\n    \"name\":  \"Greek yogurt\",\r\n    \"brand\":  null,\r\n    \"barcode\":  \"0855088005245\",\r\n    \"category\":  \"Dairies\",\r\n    \"serving_size_g\":  170.0,\r\n    \"serving_desc\":  \"3/4 cup (170 g)\",\r\n    \"calories_kcal\":  105.88235294118,\r\n    \"protein_g\":  7.6470588235294,\r\n    \"fat_g\":  3.5294117647059,\r\n    \"carbs_g\":  12.352941176471,\r\n    \"fiber_g\":  0.0,\r\n    \"sugar_g\":  10.0,\r\n    \"sodium_mg\":  44.117647058824,\r\n    \"saturated_fat_g\":  2.3529411764706,\r\n    \"cholesterol_mg\":  18.0,\r\n    \"potassium_mg\":  112.0,\r\n    \"image_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.400.jpg\",\r\n    \"image_thumb_url\":  \"https://api.getdietly.com/img?u=https%3A%2F%2Fimages.openfoodfacts.org%2Fimages%2Fproducts%2F085%2F508%2F800%2F5245%2Ffront_en.10.200.jpg\",\r\n    \"source\":  \"off\",\r\n    \"confidence\":  0.9,\r\n    \"static_url\":  \"food/19/greek-yogurt-2.html\"\r\n}"},{"id":"68a68ecf-fa6b-43ae-872b-076fa48e0512","name":"No food with this barcode","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/barcode/:code","host":["https://api.getdietly.com"],"path":["barcode",":code"],"variable":[{"key":"code","value":"0643126971962"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f60472b3-d368-4e28-a284-aa579487de18","name":"Rate limit exceeded. Check the Retry-After and X-RateLimit-* headers.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/barcode/:code","host":["https://api.getdietly.com"],"path":["barcode",":code"],"variable":[{"key":"code","value":"0643126971962"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"Seconds to wait before retrying","type":"text/plain"},"key":"Retry-After","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Limit","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Remaining","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Reset","value":"4184"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"43f15b0e-96e3-49ef-9318-8ecae3f92669"}],"id":"0827811b-8245-4f9f-af54-f5dc5422425a","_postman_id":"0827811b-8245-4f9f-af54-f5dc5422425a","description":""}],"id":"6692e1f8-2ace-4aa3-abe2-ec02e2ccf06e","description":"<p>Retrieve a food using an EAN or UPC barcode.</p>\n<p>A 404 response is a normal scan-miss state and means the barcode is not currently present in the catalog.</p>\n","_postman_id":"6692e1f8-2ace-4aa3-abe2-ec02e2ccf06e"},{"name":"foods","item":[{"name":"popular","item":[{"name":"List popular foods","id":"f36e3b4f-ea57-435f-b739-2d9e157b0be2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/foods/popular?limit=100&offset=0&category=string&has_image=true","description":"<p>Paginated list of popular foods, optionally filtered by category.  </p>\n<p>Return high-quality popular foods suitable for browsing interfaces and empty states.</p>\n","urlObject":{"path":["foods","popular"],"host":["https://api.getdietly.com"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"},{"description":{"content":"<p>Filter by category, e.g. 'Fruits'</p>\n","type":"text/plain"},"key":"category","value":"string"},{"description":{"content":"<p>Only return foods with a product image</p>\n","type":"text/plain"},"key":"has_image","value":"true"}],"variable":[]}},"response":[{"id":"923ffa73-723f-4174-9bef-726b8ead5378","name":"List of foods","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.getdietly.com/foods/popular?limit=100&offset=0&category=string&has_image=true","host":["https://api.getdietly.com"],"path":["foods","popular"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"},{"description":"Filter by category, e.g. 'Fruits'","key":"category","value":"string"},{"description":"Only return foods with a product image","key":"has_image","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 764444,\n    \"name\": \"Banana\",\n    \"brand\": \"Dole\",\n    \"barcode\": \"0643126971962\",\n    \"category\": \"Plant-based foods and beverages\",\n    \"serving_size_g\": 118,\n    \"serving_desc\": \"118g\",\n    \"calories_kcal\": 89,\n    \"protein_g\": 1.1,\n    \"fat_g\": 0.3,\n    \"carbs_g\": 23,\n    \"fiber_g\": 2.6,\n    \"sugar_g\": 12.2,\n    \"sodium_mg\": 0,\n    \"source\": \"off\",\n    \"confidence\": 0.9,\n    \"static_url\": \"food/44/banana-dole.html\"\n  },\n  {\n    \"id\": 764444,\n    \"name\": \"Banana\",\n    \"brand\": \"Dole\",\n    \"barcode\": \"0643126971962\",\n    \"category\": \"Plant-based foods and beverages\",\n    \"serving_size_g\": 118,\n    \"serving_desc\": \"118g\",\n    \"calories_kcal\": 89,\n    \"protein_g\": 1.1,\n    \"fat_g\": 0.3,\n    \"carbs_g\": 23,\n    \"fiber_g\": 2.6,\n    \"sugar_g\": 12.2,\n    \"sodium_mg\": 0,\n    \"source\": \"off\",\n    \"confidence\": 0.9,\n    \"static_url\": \"food/44/banana-dole.html\"\n  }\n]"},{"id":"351fbbc4-2e31-4460-b9fc-238052623fc6","name":"Rate limit exceeded. Check the Retry-After and X-RateLimit-* headers.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getdietly.com/foods/popular?limit=100&offset=0&category=string&has_image=true","host":["https://api.getdietly.com"],"path":["foods","popular"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"},{"description":"Filter by category, e.g. 'Fruits'","key":"category","value":"string"},{"description":"Only return foods with a product image","key":"has_image","value":"true"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"Seconds to wait before retrying","type":"text/plain"},"key":"Retry-After","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Limit","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Remaining","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Reset","value":"4184"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f36e3b4f-ea57-435f-b739-2d9e157b0be2"}],"id":"48fbbf44-3f68-48e5-a600-3aa45b52e067","_postman_id":"48fbbf44-3f68-48e5-a600-3aa45b52e067","description":""},{"name":"categories","item":[{"name":"List food categories","id":"e695cf4b-9d9c-4558-a088-f20af46029ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/foods/categories","description":"<p>All available food categories with item counts.  </p>\n<p>Return available food categories and their current record counts.</p>\n","urlObject":{"path":["foods","categories"],"host":["https://api.getdietly.com"],"query":[],"variable":[]}},"response":[{"id":"9071ad8b-cd43-4ee7-a961-f72f32292dd5","name":"Categories with counts","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/foods/categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"category\": \"Snacks\",\n    \"count\": 165922\n  }\n]"},{"id":"4bda4662-cf84-4a5c-bdd5-225c42342533","name":"Rate limit exceeded. Check the Retry-After and X-RateLimit-* headers.","originalRequest":{"method":"GET","header":[],"url":"https://api.getdietly.com/foods/categories"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"Seconds to wait before retrying","type":"text/plain"},"key":"Retry-After","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Limit","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Remaining","value":"4184"},{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"X-RateLimit-Reset","value":"4184"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e695cf4b-9d9c-4558-a088-f20af46029ff"}],"id":"be18873b-4bfc-4514-a62a-a1647c7325f7","_postman_id":"be18873b-4bfc-4514-a62a-a1647c7325f7","description":""}],"id":"b519dc82-cf32-4fe2-8778-1a0222773698","_postman_id":"b519dc82-cf32-4fe2-8778-1a0222773698","description":""},{"name":"health","item":[{"name":"Service health","id":"52ba8da1-9faf-4325-94c3-20f64efd788d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/health","description":"<p>Check API and database availability. This endpoint also reports the estimated number of indexed foods.</p>\n","urlObject":{"path":["health"],"host":["https://api.getdietly.com"],"query":[],"variable":[]}},"response":[{"id":"dbdf2fdf-d80c-470b-9a02-18062c5f411e","name":"Service status and database size","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.getdietly.com/health"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"ok\",\n  \"foods_in_db\": 4247506\n}"}],"_postman_id":"52ba8da1-9faf-4325-94c3-20f64efd788d"}],"id":"5fcb76e8-6ac7-4dbc-baf9-3985f3a2c178","_postman_id":"5fcb76e8-6ac7-4dbc-baf9-3985f3a2c178","description":""}],"event":[{"listen":"prerequest","script":{"id":"358b0b93-35cd-4921-9115-d7940de324f1","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"573ba1ed-d0b7-4f33-b945-0e671f0e16f1","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.getdietly.com"}]}