GreenSwapp – API to track CO2 of food products at scale
Hi guys! We’re Ajay & Jainit, and we’re super excited to launch GreenSwapp to the HN community! GreenSwapp is an API that tracks product and recipe-wise carbon footprints at scale, for food products. Tracking carbon footprints of individual food products is hard because you’d have to trace it all the way back to the farm and account for all the energy inputs till the point of sale. Each such analysis takes about 6 months to do, and in many cases, it is hard to even map this journey. For food products that typically have multiple ingredients (i.e. they are recipes), you have to do this for…
In plain words
GreenSwapp is an API that calculates carbon footprints for food products and recipes at scale. It is designed for food businesses and supermarkets that need to track environmental impact across thousands of products without the manual effort of tracing each ingredient back to its source. Traditional carbon footprint analysis takes months per product; GreenSwapp automates this process, making it feasible to assess emissions across large product catalogs quickly.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hi guys! We’re Ajay & Jainit, and we’re super excited to launch GreenSwapp to the HN community! GreenSwapp is an API that tracks product and recipe-wise carbon footprints at scale, for food products. Tracking carbon footprints of individual food products is hard because you’d have to trace it all the way back to the farm and account for all the energy inputs till the point of sale. Each such analysis takes about 6 months to do, and in many cases, it is hard to even map this journey. For food products that typically have multiple ingredients (i.e. they are recipes), you have to do this for each ingredient. Supermarkets have about 30k unique products per store. If you do the math, you’ll see that this quickly becomes impossible to do manually, in a reasonable amount of time. After my Masters’ in Sustainability & Engineering, I (Ajay) worked as a climate & impact consultant for more than a decade. I first discovered this problem 5 years ago (as I ran my own sustainability consultancy), when I saw some of my large food brand & retail clients struggling to identify their highest impact products & suppliers. More recently, we found that food platforms (such as Uber Eats & Yelp) want to track the climate impact of their recipes and restaurants too. We do the hard work of estimating carbon emissions using a combination of product meta-data / supply chain attributes (such as origin location, farming type, packaging type etc.) and aggregated product carbon footprints from peer-reviewed journals. Our core dataset is a comprehensive list of food types found in supermarkets. We use an ML model (semantic search using sentence transformers) to match queried product names to our standard list of product types and retrieve their median supply chain carbon footprints. This enables us to track impact at scale (thousands of products in minutes), making it easy and cheap for you to track product-level emissions. This would allow you to easily a) report emissions, b) identify high impact products, brands, and suppliers in your inventory, and c) communicate impact with consumers. What if my product is more sustainable? We identify every supply chain attribute that might reduce a product’s impact (such as organic farming, better packaging material, locally grown) and apply a correction factor (also obtained from peer-reviewed life cycle analyses papers). You can read more on our algorithm here - https://greenswapp.com/api/ You can try our API for free on any milk product (e.g. - Oatly oat drink barista edition) or any type of pizza (e.g. - Pepperoni pizza). Here are the API docs - https://docs.greenswapp.com/. You can get your trial API key here - https://greenswapp.com/api/. Our full API works with any food product you can find in the supermarket and any recipe. We charge a data license fee of $0.99 per product per year for supermarket products and $0.99 per ingredient per recipe per year for dishes. Here is a cost estimator tool - greenswapp.com/pricing. If you want to look up more than 100 products and 10 recipes, you also pay an annual platform fee (still figuring out the right price point). We’d love to get your feedback on our API. We are also trying to identify the biggest use case for this product. So please let us know what you’re using it for by commenting on this post - is it to use in a new app you’re building, get your company to use it at their cafeteria, reduce your company’s emissions, offset it, etc.? Any other ideas on how we can make this better would be wonderful too. Thanks a ton!
Does a similar job
all alternatives →More dev tools this month
the category →



OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Open-source GTM skills for technical founders
Dev tools · 30d ago · gtmcofounder.com

Launched alongside, October 2022
the whole month →- I3
Hey HN, I 3d scanned the interior of the Great Pyramid / Khufu's pyramid for the Giza Project this summer and just finished the guided version to share. Would love feedback and/or problems you encounter. I used both a Leica BLK 360 and Matterport Pro 2 to do the scanning and the Matterport SDK for the web viewer. Matterport's web display with Three.js has been the most accessible to a wide audience in the past (previous iterations are in Unity and Unreal, but difficult to download over slower connections). I've been interviewing social studies teachers around the 6th grade level to…
Dev tools · 2022 · giza.mused.org

- RO
Last time I posted this it didn't garner much interest. There have been lots of improvements and fixes since the last release. Quick list of features: - Workspaces - Tabs - Nested Folders - Lots of context menus - Response history - Plugins - Runs fully in the browser and runs offline if necessary - Chrome and Firefox extension to bypass CORS restrictions - Desktop builds for all platforms - GraphQL support - Import collections exported from Postman and Insomnia - Simple user friendly interface I built this because I love Insomnia but wanted a portable version that I could run in the…
Dev tools · 2022 · restfox.dev

Micro SaaS HQ▲672Profitable Micro SaaS ideas, supportive community
Life & fun · 2022 · microsaashq.com
- AR
APIs are a little like the open road—always waiting, full of opportunity, but hardly utilized. So here’s America, composed of several APIs that paint a vivid, real-time picture of a good old-fashioned road trip. Get local classifieds and photos. Tune into local radio stations. Talk wit other drivers. And more. Exploring the country by car was an invaluable experience for me during my time in the states. I’ve since moved to Barcelona, and find myself missing the territory. This is my attempt at recreating the magic.
Life & fun · 2022 · 4m3ric4.com