Swiss Open Food Facts Importer avatar

Swiss Open Food Facts Importer

Pricing

Pay per usage

Go to Apify Store
Swiss Open Food Facts Importer

Swiss Open Food Facts Importer

Imports Swiss product data from Open Food Facts API. Fetches products sold in Switzerland with nutritional info, allergens, and Nutri-Score. Outputs structured product data for ingestion.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Niklas Wichter

Niklas Wichter

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Apify Actor that imports Swiss product data from the Open Food Facts API.

What it does

  • Fetches products tagged with countries_tags_en=Switzerland from the Open Food Facts v2 search API
  • Filters for products with a German name and a completeness score above the configured threshold
  • Maps allergen tags to simple names (e.g. en:milk -> lactose)
  • Maps category tags to normalized categories (dairy, fruits, vegetables, meat, bakery, beverages, etc.)
  • Extracts nutritional info (calories, protein, fat, carbs) from the nutriments field
  • Rate-limits requests to 1 per second to respect the API fair-use policy

Output

Each product is pushed to the default dataset with this structure:

{
"ean": "7610000123456",
"name": "Migros Bio Vollmilch 1L",
"brand": "Migros Bio",
"price": null,
"category": "dairy",
"image_url": "https://images.openfoodfacts.org/...",
"allergens": ["lactose"],
"nutritional_info": {
"calories": 64,
"protein": 3.3,
"fat": 3.5,
"carbs": 4.8
},
"nutriscore": "A",
"stores": ["Migros"],
"source": "openfoodfacts",
"region": "switzerland"
}

Input

ParameterTypeDefaultDescription
maxProductsint5000Maximum products to import
categorieslist[]OFF category tags to filter by
minCompletenessint50Minimum completeness % (0-100)