Base URL
https://api.greenswapp.com

What products can you search for?

You can use this API to test any type of food product from milk to ketchup.

Milk

Product name format

Just search for the full product name as it appears on the package. As long as you clearly state what type of product it is in English, our AI can figure out what you mean and return the correct carbon footprint per kg or litre of the product along with a comparison to the average product in the same category. Don’t worry about the format - it is up to you if you want to enter any additional information such as the brand name, the volume of the product, price, barcode number, etc.

REST API

The GreenSwapp API is organized around REST. Our API has predictable resource-oriented URLs, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

Want to learn more? → Go to our website: GreenSwapp.

This is version 0.8.0 of this API documentation. Last update on Jun 12, 2023.