# SNCK RN open data — 2026-10-20

The product data SNCK RN (snckrn.com) uses, offered under the Open Database
License as ODbL 1.0 section 4.6 requires. It comes from Open Food Facts and
includes our corrections. Snapshot taken 2026-10-20T11:15:41.825Z in one
database transaction, so all files agree with each other. Updated weekly; the
newest set is listed at https://img.snckrn.com/open-data/latest.json and on
https://snckrn.com/open-data.

## Licences and attribution

- **Product data** (products, allergens, brand store listings, changes):
  derived from Open Food Facts (https://world.openfoodfacts.org), © Open Food
  Facts contributors. Database: Open Database License 1.0
  (https://opendatacommons.org/licenses/odbl/1-0/). Individual contents:
  Database Contents License 1.0 (https://opendatacommons.org/licenses/dbcl/1-0/).
- **Photos**: Open Food Facts contributors, CC BY-SA 3.0
  (https://creativecommons.org/licenses/by-sa/3.0/). Our copies are resized and
  some have the background removed (`photo_edits`); they are available under the
  same licence. Photo files are linked (`photo_url`), not included.
- **Store locations** (stores file): © OpenStreetMap contributors, ODbL 1.0
  (https://www.openstreetmap.org/copyright).
- **USDA FoodData Central** values (labelled `usda_fdc`) are public domain /
  CC0 in their source; they are included here for completeness.

When you use this data publicly, credit "Open Food Facts contributors" (and
"OpenStreetMap contributors" for stores) and keep it under the ODbL.
The SNCK RN Terms (https://snckrn.com/terms) do not limit what these licences
allow.

## Files

| File | Rows | Contents |
|---|---|---|
| products-2026-10-20.jsonl.gz | 25,053 | One JSON object per product (all products; `shown` = visible in the app). |
| allergens-2026-10-20.jsonl.gz | 24,219 | One JSON object per barcode: allergen and diet assertions, each with its basis and source. |
| brand_store_listings-2026-10-20.csv | 500 | Brand and the store chains Open Food Facts lists it at (one row per pair). |
| changes-2026-10-20.jsonl.gz | 39,466 | Our logged changes to Open Food Facts-derived fields, oldest first (from 2026-10-10). |
| stores-2026-10-20.csv.gz | 170,633 | Grocery and convenience store points from OpenStreetMap, with our chain name. |

### products-2026-10-20.jsonl.gz (25,053 products, 17,581 shown)

One JSON object per line:

- `id`: SNCK RN product id (https://snckrn.com/snack/<id>).
- `name`, `brand`, `brand_id`: our cleaned name and brand. Names began as
  the Open Food Facts product name, cleaned at import and corrected by hand.
- `shown`: true if the product appears in the app; false for products we keep
  but don't show.
- `barcodes`: the barcodes (GTIN-13 form) we link to this product.
- `ingredients_text` and `ingredients_source`:
  - `open_food_facts`: from Open Food Facts (this barcode or another barcode
    of the same product), sometimes cleaned.
  - `open_food_facts_photo_transcribed`: transcribed by us from an Open Food
    Facts ingredient photo.
  - `usda_fdc`: from USDA FoodData Central Branded Foods (CC0).
  - `brand_site`: from the brand's own product page.
  - `retailer_label_not_redistributed`: we have a list from a retailer's
    product page; it is left out of this file (text is null).
- `sugars_g_100g`, `sodium_mg_100g`: per 100 g. Taken from Open Food Facts
  nutriments as the median across the product's barcodes, with sanity gates
  and serving-size rescaling (values that fail a gate are left empty).
  `nutrition_source` gives the source of each (`open_food_facts` or
  `usda_fdc`).
- `cocoa_percent`: from Open Food Facts, a few set from the package.
- `photo_url`: our copy of the product photo. `photo_off_source`: the Open
  Food Facts image it was made from. `photo_edits`: what we changed.

### allergens-2026-10-20.jsonl.gz (24,219 barcodes, 62,863 assertions)

One JSON object per barcode: `barcode`, `product_id`, `off_allergen_check`
(`analyzed`, `no_ingredients` or `not_found`: whether Open Food Facts had
an ingredient list to analyze) and `assertions`, each with:

- `kind`: `allergen` or `diet`; `key`: e.g. `milk`, `vegan`.
- `status`: `contains`, `may_contain`, `absent` (a label-checked override
  of an Open Food Facts tag), `yes`, `no` or `maybe`.
- `basis`: `off_allergens`, `off_traces`, `off_label`,
  `off_ingredients_analysis` (Open Food Facts fields), `ingredients_text`
  (our scan of the ingredient list), `snckrn_review` (checked by hand against
  the package), `sibling_trace` (another barcode of the same product lists it
  as a trace).
- `source`: `open_food_facts`, `snck_rn_text_scan` or `snck_rn`.

Not a safety guarantee: always read the package.

### brand_store_listings-2026-10-20.csv (500 rows)

`brand`, `store_chain`: chains whose Open Food Facts store tags list the
brand, mapped to our chain names.

### changes-2026-10-20.jsonl.gz (39,466 rows)

Our logged changes to the fields above, oldest first: `date`, `batch` (one
id per logical operation), `entity` (`product`, `barcode`, `brand`), `id`
(product id, barcode row id or brand id), `field`, `action`, `kind`
(`create`, `rename`, `brand_change`, `ingredients`, `nutrition`, `photo`,
`merge`, `barcode_link`, `barcode_move`, `barcode_add`, `barcode_remove`,
`allergen`), `old`, `new`. `value_withheld` is true where an ingredient
list from a retailer page was removed (47 rows).

**Known gaps:** the change log starts on 2026-10-10. Name and brand cleaning at
import was never logged per row, and the wave 3 merges and the 2026-10-15
bulk barcode adds wrote no log rows. Create rows hold only the barcodes, so
Open Food Facts' original values can't be rebuilt from this file. Use the
products file (the whole database, ODbL 4.6(a)) as the complete copy, and Open
Food Facts' own dumps (https://world.openfoodfacts.org/data) for the originals.

### stores-2026-10-20.csv.gz (170,633 rows)

`osm_type` (n, w or r), `osm_id`, `chain` (our chain name, may be empty),
`lat`, `lon`, `state`, `postcode`. From OpenStreetMap shop points in the
US. Look a point up at https://www.openstreetmap.org/<node|way|relation>/<osm_id>.

## Not included

Our own data is not part of this database and is not offered: taste, texture
and structure tags, categories and aisles, product lines and families, curated
and starter flags, origin country, ratings, comparisons, predictions,
tastings, user accounts, requests and reports, usage data and anything about
allergy or diet settings.

## Source counts in this snapshot

- brand_site: 368
- nutrition:open_food_facts: 35,668
- nutrition:usda_fdc: 101
- open_food_facts: 12,292
- open_food_facts_photo_transcribed: 123
- retailer_label_not_redistributed: 47
- usda_fdc: 491

## Contact

legal@snckrn.com
