<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: incoinco</title>
    <description>The latest articles on DEV Community by incoinco (@inco).</description>
    <link>https://dev.to/inco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4168397%2Fbb699152-dde4-47cd-8989-b70f29d9284b.jpg</url>
      <title>DEV Community: incoinco</title>
      <link>https://dev.to/inco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/inco"/>
    <language>en</language>
    <item>
      <title>I built a nutrition API for a side project, sharing it here in case anyone finds it useful</title>
      <dc:creator>incoinco</dc:creator>
      <pubDate>Wed, 07 Oct 2026 08:56:39 +0000</pubDate>
      <link>https://dev.to/inco/i-built-a-nutrition-api-for-a-side-project-sharing-it-here-in-case-anyone-finds-it-useful-2bgk</link>
      <guid>https://dev.to/inco/i-built-a-nutrition-api-for-a-side-project-sharing-it-here-in-case-anyone-finds-it-useful-2bgk</guid>
      <description>&lt;p&gt;I've been working on a small side project and ended up building a nutrition API to solve a problem I kept running into: every food-related app needs the same data (calories, macros, ingredients), but there's no easy way to get it without either paying hundreds a month or scraping nutrition labels off the web.&lt;/p&gt;

&lt;p&gt;So I packaged Open Food Facts — a free, open database with 3M+ products — into a clean REST API and put it on RapidAPI.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Two main endpoints:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Search by name&lt;/strong&gt;&lt;br&gt;
GET /food/search?q=nutella&lt;/p&gt;

&lt;p&gt;Returns the top matching products with brand, image, and Nutri-Score grade.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Look up by barcode&lt;/strong&gt;&lt;br&gt;
GET /food/barcode/3017620422003&lt;/p&gt;

&lt;p&gt;Returns the full nutrition panel: calories, fat, saturated fat, carbohydrates, sugars, proteins, salt, fiber, plus ingredients and Nutri-Score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example response
&lt;/h2&gt;

&lt;p&gt;{&lt;br&gt;
  "id": "3017620422003",&lt;br&gt;
  "name": "Nutella",&lt;br&gt;
  "brand": "Ferrero",&lt;br&gt;
  "nutrition_grade": "e",&lt;br&gt;
  "nutriments": {&lt;br&gt;
    "energy_kcal": 539,&lt;br&gt;
    "fat": 30.9,&lt;br&gt;
    "sugars": 56.3,&lt;br&gt;
    "proteins": 6.3&lt;br&gt;
  }&lt;br&gt;
}&lt;/p&gt;

&lt;h2&gt;
  
  
  What it's useful for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Calorie counters and macro trackers&lt;/li&gt;
&lt;li&gt;Meal planners and recipe apps&lt;/li&gt;
&lt;li&gt;Barcode scanner apps&lt;/li&gt;
&lt;li&gt;Diet dashboards&lt;/li&gt;
&lt;li&gt;Fitness companion apps&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;There's a free tier if anyone wants to test it out. Would love honest feedback — what's missing, what would make it more useful, what would make you actually use it in a project.&lt;/p&gt;

&lt;p&gt;my project : &lt;a href="https://rapidapi.com/kanenas-FTyg1YyYI/api/food-nutrition-api3" rel="noopener noreferrer"&gt;https://rapidapi.com/kanenas-FTyg1YyYI/api/food-nutrition-api3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Still iterating on it. If you're building something in this space, feel free to reach out.&lt;/p&gt;

</description>
      <category>api</category>
      <category>backend</category>
      <category>buildinpublic</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
